Jakub Jelinek <ja...@redhat.com> wrote on 2010/02/14 20:21:50: > > On Sun, Feb 14, 2010 at 08:06:20PM +0100, Joakim Tjernlund wrote: > > the warmup isn't really needed after I added memset and inline or not should > > not matter that much are only used once so I think my > > conclusion still stands: gcc 4.3.4 is slower with -O2 than -O1 > > You mean this particular GCC version on this particular benchmark.
Yes of course > You'd need to benchmark orders of magnitude more code to be able to > talk about -O1 vs. -O2 in general. ;) Sure, but I figured that this was bad enough to report. Especially since both the old and the new crc16 was worse at -O2 than -O1 Jocke