Re: gcc -O2 vs gcc -Os performance

From: Martin J. Bligh (mbligh@aracnet.com)
Date: Thu Feb 06 2003 - 18:33:53 EST


>> gcc-3.2
>>
>> 2901299 vmlinux.O2
>> 2667827 vmlinux.Os
>>
>
> In an earlier message, Martin J. Bligh wrote:
>>
>> 894822 Feb 5 23:50 /boot/vmlinuz-2.5.59-mjb3-Os
>> 906203 Feb 5 22:46 /boot/vmlinuz-2.5.59-mjb3.old
>
> And if you compare both with same/no compression?

 980233 Feb 6 11:15 /boot/vmlinuz-2.5.59-mjb3
 914965 Feb 6 09:34 /boot/vmlinuz-2.5.59-mjb3.old

Those were probably the right files. (O2 and Os respectively)
I didn't look too closely at the time. Looks like 2.95 produces
smaller files with O2 than 3.2 does with -Os. Bah.

/me cheers for gcc 2.95.4

M.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Feb 07 2003 - 22:00:22 EST