Skip to content

hw/mcu: STM32H7 Add dcache support#3656

Open
kasjer wants to merge 1 commit into
apache:masterfrom
kasjer:kasjer/stm32h7-add-dcache-support
Open

hw/mcu: STM32H7 Add dcache support#3656
kasjer wants to merge 1 commit into
apache:masterfrom
kasjer:kasjer/stm32h7-add-dcache-support

Conversation

@kasjer
Copy link
Copy Markdown
Contributor

@kasjer kasjer commented May 22, 2026

Device supports DCache now it's enabled by default.

Enabling DCACHE may increase performance quite a lot

Coremark run without cache (before patch applied)

Coremark running on weact_h743vi at 480 MHz

2K performance run parameters for coremark.
CoreMark Size    : 666
Total ticks      : 2164
Total time (secs): 16
Iterations/Sec   : 687
Iterations       : 11000
Compiler version : GCC13.3.0
Compiler flags   :
Memory location  : STACK
seedcrc          : 0xe9f5
[0]crclist       : 0xe714
[0]crcmatrix     : 0x1fd7
[0]crcstate      : 0x8e3a
[0]crcfinal      : 0x33ff
Correct operation validated. See readme.txt for run and reporting rules.

With cache enabled iteration per second increased from 687 to 2000

Coremark running on weact_h743vi at 480 MHz

2K performance run parameters for coremark.
CoreMark Size    : 666
Total ticks      : 1960
Total time (secs): 15
Iterations/Sec   : 2000
Iterations       : 30000
Compiler version : GCC13.3.0
Compiler flags   :
Memory location  : STACK
seedcrc          : 0xe9f5
[0]crclist       : 0xe714
[0]crcmatrix     : 0x1fd7
[0]crcstate      : 0x8e3a
[0]crcfinal      : 0x5275
Correct operation validated. See readme.txt for run and reporting rules.

Device supports DCache now it's enabled by default.
@kasjer kasjer requested a review from m-gorecki May 22, 2026 21:34
@github-actions github-actions Bot added STM STM32 related size/s labels May 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/s STM STM32 related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant