[Liboil] Liboil slower than plain gcc?

Jason Sewall jasonsewall at gmail.com
Sun Dec 16 15:11:03 PST 2007


On Dec 16, 2007 2:23 PM, Robert Scott <lists at humanleg.org.uk> wrote:
> On Sunday 16 December 2007 17:55, Jason Sewall wrote:
> > > p.s. don't go mad with your CFLAGS
> >
> > Care to explain?
>
> -O3 is considered a bit risky because it can optimise code to something that
> doesn't _quite_ do the same thing anymore.

For my purposes, I'm willing to be stray a bit from IEEE for
performance. In my case, compiling  with -O2 gives the same
performance.

> -march=prescott implies -msse3
>
> Just out of interest, are you including the execution time of oil_init() in
> your timings?

Nope, just around the computation code.


More information about the Liboil mailing list