This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[ARM] Cortex-M3 multiply costs
- From: Alexandre Pereira Nunes <alexandre dot nunes at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 1 Mar 2011 17:22:29 -0300
- Subject: [ARM] Cortex-M3 multiply costs
AFAIK, Cortex-M3 has single-cycle multiply, right?
I'm seeing gcc 4.5.2 prefering to do a lot (up to 5) of adds w/ shifts
in places where a single mult would suffice.
If I'm interpreting it right, where are the costs computed?
Thanks!
Alexandre