Comments (8)
Does this fail on Spike?
from riscv-pk.
Spike just exits right away without doing anything. Is there a way to disable the FPU in Spike?
from riscv-pk.
While I've never used this, the help text
palmer palmer-mbp2014 ~ $ spike
usage: spike [host options] <target program> [target options]
Host Options:
-p <n> Simulate <n> processors [default 1]
-m <n> Provide <n> MiB of target memory [default 4096]
-d Interactive debug mode
-g Track histogram of PCs
-h Print this help message
--isa=<name> RISC-V ISA string [default RV64IMAFDC]
--ic=<S>:<W>:<B> Instantiate a cache model with S sets,
--dc=<S>:<W>:<B> W ways, and B-byte blocks (with S and
--l2=<S>:<W>:<B> B both powers of 2).
--extension=<name> Specify RoCC Extension
--extlib=<name> Shared library to load
seems to indicate that you can pass "--isa=RV64IMAC" to get rid of hardware floating point support.
from riscv-pk.
OK, when I do that, spike shows the same behavior as the emulator.
from riscv-pk.
Linux doesn't boot on the FPGA currently, even without the FPU.
from riscv-pk.
The new_privileged_isa branch of riscv-linux does boot on the FPGA w/ FPU.
from riscv-pk.
This resulted from a stack overflow, which is now fixed.
Also, Palmer's -march support broke the -msoft-float flag. Until he fixes
it, you might need to use -march=RV64IMA instead of -msoft-float.
On Thu, Jul 23, 2015 at 2:30 PM, Howard Mao [email protected]
wrote:
The new_privileged_isa branch of riscv-linux does boot on the FPGA w/ FPU.
—
Reply to this email directly or view it on GitHub
#10 (comment).
from riscv-pk.
I am having a similar issue while compiling c code and running it on the rocket chip without FPU, If i use the compiler flag "-march=RV64IMA" will it solve my issue.
from riscv-pk.
Related Issues (20)
- [question] Kernel load segfault HOT 7
- exception trap_instruction_page_fault
- Can pk init vtype when specify V extension? HOT 9
- error when build RV32 HOT 1
- RV32 bbl loader ../machine/minit.c:78: assertion failed: !(read_csr(misa) & fd_mask) HOT 1
- [question]A request on c-based bbl payload example
- Pk doesn't recognize vector instructions HOT 1
- Compiling error in Mac M1 HOT 1
- Error While configuring Berkeley boot loader HOT 2
- how to suppres "bbl loader" output by spike pk? HOT 1
- Redundant Load and Branch Instructions from HTIF while executing binaries HOT 3
- bbl error
- Loading large file into memory HOT 2
- could not open pk HOT 1
- "Cannot open output file dummy_payload" when building with docker HOT 1
- Linux kernel not showing output after earlycon0 disabled
- macOS 14,compile fail ,"./configure --prefix=/opt/riscv --with-arch=rv32gc --with-abi=ilp32d make linux"
- Issue with linux HOT 1
- pk: mmap based on `p_filesz` fails when it is 0 (zero) HOT 2
- Support RVC program without requiring RVC pk HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from riscv-pk.