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?

  • April 20, 2023
  • 3 replies
  • 1554 views

..

This topic has been closed for replies.
Best answer by AScha.3

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 ?

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