Re: gcc -O2 vs gcc -Os performance

Martin J. Bligh (mbligh@aracnet.com)
Thu, 06 Feb 2003 15:33:53 -0800


>> 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/