On Thu, Dec 20, 2012 at 7:06 AM, Jan Hubicka <hubi...@ucw.cz> wrote: >> > Hi Areg, >> > >> > Did you mean inlined memcpy/memset are as fast as >> > the ones in libc.so on both ia32 and Intel64? >> >> I would be interested in output of the stringop script. > > Also as far as I can remember, none of spec2k6 benchmarks is really stringop > bound. On Spec2k GCC was quite bound by memset (within alloc_rtx and bitmap > oprations) but mostly by collecting page faults there. Inlining that one made > quite a lot of difference on K8 hardware, but not on later chips. >
There is a GCC performance regression bug on EEMBC. It turns out that -static was used for linking and optimized memory functions weren't used. Remove -static fixed the performance regression. -- H.J.