OpenXiangShan / ready-to-run

3 stars 8 forks source link

Bump NEMU and Spike with Zicond extension added #19

Closed cyyself closed 6 months ago

cyyself commented 6 months ago

Compiled using bump_all_from_docker.sh

Have tested with the same workload on https://github.com/OpenXiangShan/XiangShan/pull/2941#issuecomment-2086649365

Version Check:

➜  build git:(zicond) ✗ pushd ../ready-to-run; git log --oneline | head -n 1 ; popd
/mnt/data/xs/xs-env-2/XiangShan/ready-to-run /mnt/data/xs/xs-env-2/XiangShan/build /mnt/data/xs/xs-env-2/XiangShan
9950c6f Bump NEMU and Spike with Zicond extension added
/mnt/data/xs/xs-env-2/XiangShan/build /mnt/data/xs/xs-env-2/XiangShan

Log with Spike:

Using simulated 8192MB RAM
The image is ../../simple-sw-workbench/start.bin
The reference model is ../ready-to-run/riscv64-spike-so
The first instruction of core 0 has commited. Difftest enabled. 
Hello World from hart 0
0x0000000000000000
0x0000abcddeadbeef
0x0000abcddeadbeef
0x0000000000000000
Core 0: SOME SIGNAL STOPS THE PROGRAM at pc = 0x80000054

Log with NEMU:

Using simulated 8192MB RAM
The image is ../../simple-sw-workbench/start.bin
The reference model is ../ready-to-run/riscv64-nemu-interpreter-so
The first instruction of core 0 has commited. Difftest enabled. 
Hello World from hart 0
0x0000000000000000
0x0000abcddeadbeef
0x0000abcddeadbeef
0x0000000000000000
^CCore 0: SOME SIGNAL STOPS THE PROGRAM at pc = 0x80000054

ldd check:

➜  build git:(zicond) ✗ ldd ../ready-to-run/riscv64-spike-so           
        linux-vdso.so.1 (0x00007ffc39feb000)
        libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007ff8fa200000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007ff8fb592000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007ff8fb565000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ff8fb383000)
        /lib64/ld-linux-x86-64.so.2 (0x00007ff8fb69f000)
➜  build git:(zicond) ✗ ldd ../ready-to-run/riscv64-nemu-interpreter-so
        linux-vdso.so.1 (0x00007ffced562000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007faa033b5000)
        libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007faa03000000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007faa032d6000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007faa032a9000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007faa02e1e000)
        /lib64/ld-linux-x86-64.so.2 (0x00007faa0b4b0000)