2020-05-10 06:31 AM
Hi,
when I took two variables and perform a multiplication between them with the STM32CubeIDE, the multiplication itself its made automatically with the multiplier module in the fastest way or there is something I need to do/configure to make it faster?
2020-05-11 02:11 AM
I am struggling to see the assembly generated code...
is there a simply way to see the assembly code?
2020-05-11 02:18 AM
2020-05-11 03:03 AM
Great berendi, thanks for all the help you gave me!
2020-05-11 04:32 AM
> 1) So, I just need to multiply a*b in my code and that's it?
That's the point of a programming language, instead of coding in assembly.
But you need to take care what "a" and "b" mean in your context. The compiler will create an appropriate instruction sequence, being it byte or double precision data, and having an FPU or not.
> 2) The FMAC module can make the multiplications faster?
The compiler usually emits proper instructions to utilize the core resources.