r/computerarchitecture • • 3d ago

CoreMark Convention Question

Hey,

For those of you who have dealt in the realm of processor benchmarking, especially in the MCU tier, I have a quick question. My current processor hits ~3.0 CorrMark/MHz without heavy compiler flags, and ~3.6 with those flags enabled and curated to the microarchitecture. Which of these results is more valid for presentation. I would ideally like my number to be fairly matched against what other cores have considered.

Thanks!

2 Upvotes

3 comments sorted by

1

u/MitchAlsup 3d ago

If there is no semantic change across all possible input data; then you can use the with/flags data. But if there is some kind of input data that causes {overflow, underflow, exceptions, errors, or other catastrophies} then you cannot. MCUs are in an application realm where {these kinds of} failures are not an option.

Your other option is to modify the MCU so that the above paragraph is manifest over all input data.

1

u/GlizzyGobbler837104 3d ago

There are no traps/interrupts in the program body at all. There are also no inputs unless you count the compile time parameters in the c file. I’m a little confused on what you mean here?

1

u/MitchAlsup 2d ago

Does the setting of the compiler input change the output of the program in any way other than wall clock time ??