Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[palmer@hifiveu017 coremark]$ cat /sys/devices/platform/soc/*prci/rate 999999990 [palmer@hifiveu017 coremark]$ make -B && cat run1.log make XCFLAGS=" -DPERFORMANCE_RUN=1" load run1.log make[1]: Entering directory '/home/palmer/sifive-coremark/coremark' make port_prebuild make[2]: Entering directory '/home/palmer/sifive-coremark/coremark' make[2]: Nothing to be done for 'port_prebuild'. make[2]: Leaving directory '/home/palmer/sifive-coremark/coremark' make link make[2]: Entering directory '/home/palmer/sifive-coremark/coremark' mkdir -p ./ gcc -O2 -fno-common -funroll-loops -finline-functions --param max-inline-insns-auto=20 -falign-functions=4 -falign-jumps=4 -falign-loops=4 --param inline-min-speedup=10 -Ilinux64 -I. -DFLAGS_STR=\""-O2 -fno-common -funroll-loops -finline-functions --param max-inline-insns-auto=20 -falign-functions=4 -falign-jumps=4 -falign-loops=4 --param inline-min-speedup=10 -DPERFORMANCE_RUN=1 -lrt"\" -DITERATIONS=0 -DPERFORMANCE_RUN=1 core_list_join.c core_main.c core_matrix.c core_state.c core_util.c linux64/core_portme.c -o ./coremark.exe -lrt Link performed along with compile make[2]: Leaving directory '/home/palmer/sifive-coremark/coremark' make port_postbuild make[2]: Entering directory '/home/palmer/sifive-coremark/coremark' make[2]: Nothing to be done for 'port_postbuild'. make[2]: Leaving directory '/home/palmer/sifive-coremark/coremark' make port_preload make[2]: Entering directory '/home/palmer/sifive-coremark/coremark' make[2]: Nothing to be done for 'port_preload'. make[2]: Leaving directory '/home/palmer/sifive-coremark/coremark' echo Loading done ./coremark.exe Loading done ./coremark.exe make port_postload make[2]: Entering directory '/home/palmer/sifive-coremark/coremark' make[2]: Nothing to be done for 'port_postload'. make[2]: Leaving directory '/home/palmer/sifive-coremark/coremark' make port_prerun make[2]: Entering directory '/home/palmer/sifive-coremark/coremark' make[2]: Nothing to be done for 'port_prerun'. make[2]: Leaving directory '/home/palmer/sifive-coremark/coremark' ./coremark.exe 0x0 0x0 0x66 0 7 1 2000 > ./run1.log ^Amake port_postrun make[2]: Entering directory '/home/palmer/sifive-coremark/coremark' make[2]: Nothing to be done for 'port_postrun'. make[2]: Leaving directory '/home/palmer/sifive-coremark/coremark' make[1]: Leaving directory '/home/palmer/sifive-coremark/coremark' make XCFLAGS=" -DVALIDATION_RUN=1" load run2.log make[1]: Entering directory '/home/palmer/sifive-coremark/coremark' make port_prebuild make[2]: Entering directory '/home/palmer/sifive-coremark/coremark' make[2]: Nothing to be done for 'port_prebuild'. make[2]: Leaving directory '/home/palmer/sifive-coremark/coremark' make link make[2]: Entering directory '/home/palmer/sifive-coremark/coremark' mkdir -p ./ gcc -O2 -fno-common -funroll-loops -finline-functions --param max-inline-insns-auto=20 -falign-functions=4 -falign-jumps=4 -falign-loops=4 --param inline-min-speedup=10 -Ilinux64 -I. -DFLAGS_STR=\""-O2 -fno-common -funroll-loops -finline-functions --param max-inline-insns-auto=20 -falign-functions=4 -falign-jumps=4 -falign-loops=4 --param inline-min-speedup=10 -DVALIDATION_RUN=1 -lrt"\" -DITERATIONS=0 -DVALIDATION_RUN=1 core_list_join.c core_main.c core_matrix.c core_state.c core_util.c linux64/core_portme.c -o ./coremark.exe -lrt Link performed along with compile make[2]: Leaving directory '/home/palmer/sifive-coremark/coremark' make port_postbuild make[2]: Entering directory '/home/palmer/sifive-coremark/coremark' make[2]: Nothing to be done for 'port_postbuild'. make[2]: Leaving directory '/home/palmer/sifive-coremark/coremark' make port_preload make[2]: Entering directory '/home/palmer/sifive-coremark/coremark' make[2]: Nothing to be done for 'port_preload'. make[2]: Leaving directory '/home/palmer/sifive-coremark/coremark' echo Loading done ./coremark.exe Loading done ./coremark.exe make port_postload make[2]: Entering directory '/home/palmer/sifive-coremark/coremark' make[2]: Nothing to be done for 'port_postload'. make[2]: Leaving directory '/home/palmer/sifive-coremark/coremark' make port_prerun make[2]: Entering directory '/home/palmer/sifive-coremark/coremark' make[2]: Nothing to be done for 'port_prerun'. make[2]: Leaving directory '/home/palmer/sifive-coremark/coremark' ./coremark.exe 0x3415 0x3415 0x66 0 7 1 2000 > ./run2.log make port_postrun make[2]: Entering directory '/home/palmer/sifive-coremark/coremark' make[2]: Nothing to be done for 'port_postrun'. make[2]: Leaving directory '/home/palmer/sifive-coremark/coremark' make[1]: Leaving directory '/home/palmer/sifive-coremark/coremark' Check run1.log and run2.log for results. See README.md for run and reporting rules. 2K performance run parameters for coremark. CoreMark Size : 666 Total ticks : 14854 Total time (secs): 14.854000 Iterations/Sec : 2692.877339 Iterations : 40000 Compiler version : GCC8.2.1 20180801 (Red Hat 8.2.1-2) Compiler flags : -O2 -fno-common -funroll-loops -finline-functions --param max-inline-insns-auto=20 -falign-functions=4 -falign-jumps=4 -falign-loops=4 --param inline-min-speedup=10 -DPERFORMANCE_RUN=1 -lrt Memory location : Please put data memory location here (e.g. code in flash, data on heap etc) seedcrc : 0xe9f5 [0]crclist : 0xe714 [0]crcmatrix : 0x1fd7 [0]crcstate : 0x8e3a [0]crcfinal : 0x25b5 Correct operation validated. See README.md for run and reporting rules. CoreMark 1.0 : 2692.877339 / GCC8.2.1 20180801 (Red Hat 8.2.1-2) -O2 -fno-common -funroll-loops -finline-functions --param max-inline-insns-auto=20 -falign-functions=4 -falign-jumps=4 -falign-loops=4 --param inline-min-speedup=10 -DPERFORMANCE_RUN=1 -lrt / Heap Signed-off-by: Palmer Dabbelt <[email protected]>
- Loading branch information