-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect global/static float array initialization #315
Labels
bug
Something isn't working
Comments
fourcolor
changed the title
Incorrect global/static float variable initialization
Incorrect global/static float array initialization
Dec 31, 2023
I finally found the reason. Sometimes, 'flw' will be compiled to 'cflw.' However, currently, rv32emu hasn't implemented 'cflw.' I think it's better to have an error message when encountering an unimplemented feature. |
After the formal support of the F extension, I believe we can now proceed to implement instructions related to RV32FC. |
Merged
fourcolor
added a commit
to fourcolor/rv32emu
that referenced
this issue
Jan 6, 2024
This patch is aimed at supporting RV32FC-only instructions. * The following instructions are implemented: C.FSW, C.FLW, C.FSWSP, C.FLWSP. * Update README.md for the corresponding extension description. * Add corresponding RISC-V architectural tests suites Close sysprog21#315
fourcolor
added a commit
to fourcolor/rv32emu
that referenced
this issue
Jan 6, 2024
This patch is aimed at supporting RV32FC-only instructions. * The following instructions are implemented: C.FSW, C.FLW, C.FSWSP, C.FLWSP. * Update README.md for the corresponding extension description. * Add corresponding RISC-V architectural tests suites Close sysprog21#315
fourcolor
added a commit
to fourcolor/rv32emu
that referenced
this issue
Jan 6, 2024
This patch is aimed at supporting RV32FC-only instructions. * The following instructions are implemented: C.FSW, C.FLW, C.FSWSP, C.FLWSP. * Update README.md for the corresponding extension description. * Add corresponding RISC-V architectural tests suites Close sysprog21#315
fourcolor
added a commit
to fourcolor/rv32emu
that referenced
this issue
Jan 6, 2024
This patch is aimed at supporting RV32FC-only instructions. * The following instructions are implemented: C.FSW, C.FLW, C.FSWSP, C.FLWSP. * Update README.md for the corresponding extension description. * Add corresponding RISC-V architectural tests suites Close sysprog21#315
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following code run through rv32emu did not function as expected. I have also tested it with spike, confirming that the issue is specific to rv32emu. This error will lead to an error when running #28 embench-iot minver
compile
expect output
actual output
Furthermore, I have observed that the same issue exists in the following code.
I notice that it only occurred with the
global float array initialization
andstatic float array initialization
The text was updated successfully, but these errors were encountered: