Skip to content

Commit

Permalink
Clean-up computation and update coremark README
Browse files Browse the repository at this point in the history
  • Loading branch information
dpretet committed Dec 9, 2023
1 parent 1b356f0 commit e076494
Show file tree
Hide file tree
Showing 19 changed files with 2,569 additions and 4,391 deletions.
32 changes: 14 additions & 18 deletions doc/perf_benchmark.md
Original file line number Diff line number Diff line change
Expand Up @@ -354,23 +354,19 @@ Algorithms:

First coremark run!

10 iterations within

2K performance run parameters for coremark.
CoreMark Size : 666
Total ticks : 22799229
Total time (secs): 22
Iterations/Sec : 0
Iterations : 10
Compiler version : GCC11.1.0
Compiler flags : -O0 -g
Memory location : STACK
seedcrc : 0xe9f5
[0]crclist : 0xe714
[0]crcmatrix : 0x1fd7
[0]crcstate : 0x8e3a
[0]crcfinal : 0xfcaf
- 2K performance run parameters for coremark.
- CoreMark Size : 666
- Total ticks : 22799229
- Total time (secs): 22
- Iterations/Sec : 0
- Iterations : 10
- Compiler version : GCC11.1.0
- Compiler flags : -O0 -g
- Memory location : STACK
- seedcrc : 0xe9f5
- [0]crclist : 0xe714
- [0]crcmatrix : 0x1fd7
- [0]crcstate : 0x8e3a
- [0]crcfinal : 0xfcaf

22799229 * 2 = 45598458 ns = 45 ms pour 10 iterations @ 500 MHz

10 / 0.045ms = 222 => * 1000 = 222000 => / 500MHz = 444 coremarks / MHz
2 changes: 1 addition & 1 deletion doc/project_mgt_hw.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
- [X] Supporter des set de config du core en test bench.
- [X] Support U-mode
- [X] Support PMP/PMA
- [ ] https://github.com/eembc/coremark
- [X] https://github.com/eembc/coremark
- [ ] Advanced Interrupt controller
- [ ] AXI ERR handling
- [ ] AXI EXOKAY handling
Expand Down
3 changes: 2 additions & 1 deletion doc/project_mgt_sw.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
- [ ] https://github.com/OscarSaharoy/ascii-raytrace
- [ ] https://fabiensanglard.net/another_world_polygons/
- [ ] Hash table https://github.com/PerformanC/tablec/tree/closed-addressing
- [ ] CoreMark https://github.com/eembc/coremark
- [ ] Dhrystone https://github.com/Keith-S-Thompson/dhrystone

# BACKLOG

Expand Down Expand Up @@ -95,6 +95,7 @@ Minimalistic Unix
- https://popovicu.com/posts/bare-metal-rust-risc-v-with-dynamic-memory/
DONE:

- [X] CoreMark https://github.com/eembc/coremark
- [X] Pool arena / malloc-free / integrated in benchmark
- [X] Support %p dans printf
- [X] Add Xoshiro++ benchmark
Expand Down
2 changes: 1 addition & 1 deletion test/apps/config.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ XLEN,32
CACHE_EN,1
CACHE_BLOCK_W,128
GEN_EIRQ,0
ERROR_STATUS_X31,1
ERROR_STATUS_X31,0
USER_MODE,0
CONTROL_VERBOSITY,0
CONTROL_ROUTE,2
3 changes: 0 additions & 3 deletions test/apps/tests/common/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,3 @@ clean:
rm -f $(OBJDIR)/*.asm
rm -f $(OBJDIR)/*.o
rm -f $(OBJDIR)/*.su


#.SECONDARY: $(OBJS)
Loading

0 comments on commit e076494

Please sign in to comment.