Messages in this thread | | | Date | Fri, 24 May 2002 18:45:37 +0200 | From | Marcus Meissner <> | Subject | Re: Compiling 2.2.19 with -O3 flag |
| |
In article <1022253543.962.236.camel@sinai> you wrote: > On Fri, 2002-05-24 at 07:42, Alan Cox wrote:
>> Bench it and see. From my own experience -O3 made the kernel a lot larger >> and reduced overall performance - in part because the kernel already >> explicitly figures out what it wants inlined. >> >> Interestingly enough -Os outperformed -O2
> Heh, now that is interesting.
Not really, -Os implies -O2, cf gcc/toplev.c:
if ((p[0] == 's') && (p[1] == 0)) { optimize_size = 1;
/* Optimizing for size forces optimize to be 2. */ optimize = 2; }
CIao, Marcus - 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/
| |