Skip to main content
DavidO
Associate
April 20, 2023
Solved

STM32H723: How to achieve the Coremark figure? The published figure is 2778 at 550MHz. My implementation of Coremark at 480Mhz is a mere 327 with GCC ver10.3.1 and the default MX configuration. Is there an article on how to get full speed?

..

This topic has been closed for replies.
AScha.3
AScha.3Best answer
Super User
April 20, 2023

just guessed: set optimizer -O2 or -Ofast ;

in Cube set caches ON and speculation default : enabled ;

if still "slow" , move test program to ITCMRAM and run there.

which optimizer setting you tried ? and cache setting ?

If you feel a post has answered your question, please click on " Best Answer ".

3 replies

AScha.3
AScha.3Best answer
Super User
April 20, 2023

just guessed: set optimizer -O2 or -Ofast ;

in Cube set caches ON and speculation default : enabled ;

if still "slow" , move test program to ITCMRAM and run there.

which optimizer setting you tried ? and cache setting ?

If you feel a post has answered your question, please click on " Best Answer ".
DavidO
DavidOAuthor
Associate
April 20, 2023

Setting the caches ON and speculation enabled, took to figure to 1352, -Os to -O2 to 1868 and taking the frequency to 550MHz to 2136. Running from ITCMRAM will not be a practical option. That is a good result. Many thanks for the help.

waclawek.jan
Super User
April 20, 2023

ST also probably uses a "better" compiler, most probably IAR.

JW