Hello,
I found the Perf_Counters example in the AURIX Github examples.
For my curiosity I run some basic operations and then checked the perf counters values:
float division = 71 clocks
float multiplication = 67 clocks
uint division = 68 clocks
uint multiplication = 66 clocks
Do there result depend also on the compiler, or they are only processor dependent?
I am quite amazed that the float operations take almost same as the integer, this means that for precision calculation float could be used without problems.
Is there something that is escaping me?
I found the Perf_Counters example in the AURIX Github examples.
For my curiosity I run some basic operations and then checked the perf counters values:
float division = 71 clocks
float multiplication = 67 clocks
uint division = 68 clocks
uint multiplication = 66 clocks
Do there result depend also on the compiler, or they are only processor dependent?
I am quite amazed that the float operations take almost same as the integer, this means that for precision calculation float could be used without problems.
Is there something that is escaping me?