
11 Sep
2007
11 Sep
'07
4:08 p.m.
From: Phil Endecott Michael Marcin wrote:
Phil Endecott wrote: RVCT 2.2 with --arm and -O2 It looks like your compiler is not inlining full_add inside no_overflow, and is doing a lot of spurious argument save/restore.
This is what I've recently learnt from Mathias:
From: Mathias Gaunard Robert Kawulak wrote:
I compiled it with gcc 4.01, optimisations turned on. I had to add explicit 'inline' to several functions Aggressive inlining should be enabled with -O3.
Having glanced at the manual I suppose this should also work with RVCT. ;-) Best regards, Robert