1441 views|6 replies

1237

Posts

66

Resources
The OP
 

[Jihai APM32F407 Tiny Board] 3. Coremark running test [Copy link]

 This post was last edited by dql2016 on 2023-5-25 22:16

Based on the previous serial port printing, the coremark running program is transplanted.

There are many transplantation tutorials on the Internet, so I won’t go into details here. The main references are:

如何将coremark程序移植到STM32上.pdf (1.12 MB, downloads: 3)

armcc v5 compiler results:

The SDK of Jiuhai APM32F407 supports the ARMCLANG compiler. I have heard that ARMCLANG is much more powerful than ARMCC.

armclang v6 compiler results:

It can be seen that the running points differ by almost 1 times... This gap is quite large

What does 444 mean? Compared with STM32 (STM32 should be tested by IAR, and the running score is close to ARMCLANG)

Test code:

GPIO_Toggle.rar (86.39 KB, downloads: 5)
This post is from Domestic Chip Exchange

Latest reply

Does the armcc V5 compiler have any code optimization enabled? Looking at the code size of the two compilers, V5 has 4K more code than clang   Details Published on 2023-5-29 16:20
 
 

5214

Posts

239

Resources
2
 

It seems that the running score of the microcontroller alone does not mean anything, because the running score may be different in different environments and compilers, and the difference may be large.

This post is from Domestic Chip Exchange
Add and join groups EEWorld service account EEWorld subscription account Automotive development circle

Comments

This explains the problem. No matter how much you optimize the M3 compiler, it will not beat the M7.  Details Published on 2023-5-26 21:37
 
 
 

1237

Posts

66

Resources
3
 
nmg posted on 2023-5-26 10:01 It seems that taking the running score of the microcontroller alone does not mean anything, because the running environment and compiler used may be different, and the gap will be very large

This explains the problem. No matter how much you optimize the M3 compiler, it will not beat the M7.

This post is from Domestic Chip Exchange

Comments

nmg
For example, for the same level of core, if the manufacturer does not specify the environment, it is not easy to use the official score as a comparison.  Details Published on 2023-5-29 08:33
 
 
 

5214

Posts

239

Resources
4
 
dql2016 posted on 2023-5-26 21:37 This explains the problem. No matter how much you optimize with the M3 compiler, you can't beat the M7

Even if it's a dimensionality reduction attack

For example, for the same level of core, if the manufacturer does not specify the environment when promoting the running score, it is not easy to use the official score as a comparison.

This post is from Domestic Chip Exchange
Add and join groups EEWorld service account EEWorld subscription account Automotive development circle

Comments

The manufacturer is definitely the best, ST usually runs with IAR  Details Published on 2023-6-7 23:34
 
 
 

578

Posts

0

Resources
5
 

Does the armcc V5 compiler have any code optimization enabled? Looking at the code size of the two compilers, V5 has 4K more code than clang

This post is from Domestic Chip Exchange

Comments

No optimization  Details Published on 2023-6-7 23:33
Personal signature刻苦学习,共同进步
 
 
 

1237

Posts

66

Resources
6
 
Posted by Maier Fengsui on 2023-5-29 16:20 Does the armcc V5 compiler have any code optimization enabled? Looking at the size of the compiled code, the V5 code size is 4K more than clang

No optimization


This post is from Domestic Chip Exchange
 
 
 

1237

Posts

66

Resources
7
 
nmg posted on 2023-5-29 08:33 Forget about dimensionality reduction. For example, for the same level of core, if the manufacturer does not specify the environment when promoting the running score, it is not easy to directly use the official score...

The manufacturer is definitely the best, ST usually runs with IAR


This post is from Domestic Chip Exchange
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list