From c19b299849186823b33d41875fae0e9ee2bc5bda Mon Sep 17 00:00:00 2001 From: Greg Chadwick Date: Wed, 13 Sep 2023 13:43:17 +0100 Subject: [PATCH] Enable the icache in coremark When executed on a configuration without an icache the enable is safe but has no effect. --- examples/sw/benchmarks/coremark/ibex/core_portme.c | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/sw/benchmarks/coremark/ibex/core_portme.c b/examples/sw/benchmarks/coremark/ibex/core_portme.c index d394515768..704665cec2 100644 --- a/examples/sw/benchmarks/coremark/ibex/core_portme.c +++ b/examples/sw/benchmarks/coremark/ibex/core_portme.c @@ -169,6 +169,7 @@ void portable_init(core_portable *p, int *argc, char *argv[]) { ee_printf("ERROR! Please define ee_u32 to a 32b unsigned type!\n"); } p->portable_id = 1; + icache_enable(1); } /* Function : portable_fini Target specific final code