Skip to content
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

Fail to run SciMark2 #134

Closed
jserv opened this issue Jun 1, 2023 · 0 comments
Closed

Fail to run SciMark2 #134

jserv opened this issue Jun 1, 2023 · 0 comments
Assignees

Comments

@jserv
Copy link
Contributor

jserv commented Jun 1, 2023

SciMark2 was integrated and verified. See directory tests/scimark2 for its source files.
However, I fail to run SciMark2 recently.

$ build/rv32emu build/scimark2.elf
**                                                              **
** SciMark2 Numeric Benchmark, see http://math.nist.gov/scimark **
** for details. (Results can be submitted to pozo@nist.gov)     **
**                                                              **
Segmentation fault

The procedure to execute:

$ make clean
$ git reset --hard 6db46fc222bb11c227a8c140691ece711f1a200e
$ rm -r src/mini-gdbstub
$ make

Reference output:

$ build/rv32emu build/scimark2.elf
**                                                              **
** SciMark2 Numeric Benchmark, see http://math.nist.gov/scimark **
** for details. (Results can be submitted to pozo@nist.gov)     **
**                                                              **
Using       2.00 seconds min time per kenel.
Composite Score:            4.14
FFT             Mflops:     0.55    (N=1024)
SOR             Mflops:     1.48    (100 x 100)
MonteCarlo:     Mflops:    16.15
Sparse matmult  Mflops:     1.29    (N=1000, nz=5000)
LU              Mflops:     1.26    (M=100, N=100)
qwe661234 pushed a commit to qwe661234/rv32emu that referenced this issue Jun 23, 2023
Set last_pc in emuation function cbeqz and cbnez.

Solve: sysprog21#134
@jserv jserv closed this as completed in c04e557 Jun 23, 2023
2011eric pushed a commit to 2011eric/rv32emu that referenced this issue Jul 22, 2023
Set last_pc in C.BEQZ and C.BEQZ instruction emulation.

Close sysprog21#134

Co-authored-by: Yen-Fu Chen <qwe661234@gamil.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants