cancel
Showing results for 
Search instead for 
Did you mean: 

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?

DavidO
Associate II
 
1 ACCEPTED SOLUTION

Accepted Solutions
AScha.3
Chief

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 "Accept as Solution".

View solution in original post

3 REPLIES 3
AScha.3
Chief

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 "Accept as Solution".
DavidO
Associate II

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.

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

JW