From 24fb2b1617871e7e6cdb5c36da1d16fe0864f747 Mon Sep 17 00:00:00 2001 From: Rose Thompson Date: Sun, 4 Feb 2024 21:37:37 -0600 Subject: [PATCH 1/2] Added makefile rule to build the embench benchmarks. --- sim/Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/sim/Makefile b/sim/Makefile index d7d259632..f2fba20d4 100644 --- a/sim/Makefile +++ b/sim/Makefile @@ -1,5 +1,5 @@ -all: riscoftests memfiles coveragetests deriv +all: riscoftests memfiles coveragetests deriv benchmarks # *** Build old tests/imperas-riscv-tests for now; # Delete this part when the privileged tests transition over to tests/wally-riscv-arch-test # DH: 2/27/22 temporarily commented out imperas-riscv-tests because license expired @@ -54,7 +54,7 @@ riscoftests: wallyriscoftests: # Builds riscv-arch-test 64 and 32-bit versions and builds wally-riscv-arch-test 64 and 32-bit versions make -C ../tests/riscof/ wally-riscv-arch-test - + memfiles: make -f makefile-memfile wally-sim-files --jobs @@ -63,4 +63,9 @@ coveragetests: deriv: derivgen.pl - \ No newline at end of file + +benchmarks: + $(MAKE) -C ../benchmarks/embench build + $(MAKE) -C ../benchmarks/embench size + $(MAKE) -C ../benchmarks/embench modelsim_build_memfile + From 658dc4e819e327eb74fe74ccdc4e3c8a831d6635 Mon Sep 17 00:00:00 2001 From: Rose Thompson Date: Sun, 4 Feb 2024 21:41:52 -0600 Subject: [PATCH 2/2] Added coremark to benchmarks. --- sim/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/sim/Makefile b/sim/Makefile index f2fba20d4..b23d1cb47 100644 --- a/sim/Makefile +++ b/sim/Makefile @@ -68,4 +68,5 @@ benchmarks: $(MAKE) -C ../benchmarks/embench build $(MAKE) -C ../benchmarks/embench size $(MAKE) -C ../benchmarks/embench modelsim_build_memfile + $(MAKE) -C ../benchmarks/coremark