public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* [ARM] Cortex-M3 multiply costs
@ 2011-03-01 20:23 Alexandre Pereira Nunes
  0 siblings, 0 replies; only message in thread
From: Alexandre Pereira Nunes @ 2011-03-01 20:23 UTC (permalink / raw)
  To: gcc

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-03-01 20:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-01 20:23 [ARM] Cortex-M3 multiply costs Alexandre Pereira Nunes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).