From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc Lehmann To: gcc AT gcc.gnu.org Subject: Re: Optimization for PII Date: Mon, 13 Sep 1999 13:00:00 -0000 Message-id: <19990913181621.A25252@cerebro.laendle> References: X-SW-Source: 1999-09/msg00504.html On Mon, Sep 13, 1999 at 11:34:45AM +0300, Rainer Dorsch wrote: > > The egcs documentation says > > `-march=CPU TYPE' > Generate instructions for the machine type CPU TYPE. The choices > for CPU TYPE are: `i386', `i486', `pentium', and `pentiumpro'. > Specifying `-march=CPU TYPE' implies `-mcpu=CPU TYPE'. > > It does not mention PII and PIII. Does pentiumpro run on PII and PIII or is > there another undocumented option (I am using gcc-2.95.1)? i386 == i486 == pentium == k6 < pentiumpro == pii == piii (e.g. i386 code runs on pii, but pii code not on i386) This is the view the compiler currently has. The pii and piii additional instructions are not yet used, as isn't mmx. It is unclear (to me) wether this will change, as there is no real strong hierarchy anymore (chip can have mmx but not fcomi, or vice versa), or wether additional switches (-mmx, -m3dnow) will be introduced. -- -----==- | ----==-- _ | ---==---(_)__ __ ____ __ Marc Lehmann +-- --==---/ / _ \/ // /\ \/ / pcg@goof.com |e| -=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+ The choice of a GNU generation | | From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc Lehmann To: gcc@gcc.gnu.org Subject: Re: Optimization for PII Date: Thu, 30 Sep 1999 18:02:00 -0000 Message-ID: <19990913181621.A25252@cerebro.laendle> References: X-SW-Source: 1999-09n/msg00504.html Message-ID: <19990930180200.KJrDYiFwC63sLtbQ3t0Bv-0tAriRKycImR2mC_v9fE4@z> On Mon, Sep 13, 1999 at 11:34:45AM +0300, Rainer Dorsch wrote: > > The egcs documentation says > > `-march=CPU TYPE' > Generate instructions for the machine type CPU TYPE. The choices > for CPU TYPE are: `i386', `i486', `pentium', and `pentiumpro'. > Specifying `-march=CPU TYPE' implies `-mcpu=CPU TYPE'. > > It does not mention PII and PIII. Does pentiumpro run on PII and PIII or is > there another undocumented option (I am using gcc-2.95.1)? i386 == i486 == pentium == k6 < pentiumpro == pii == piii (e.g. i386 code runs on pii, but pii code not on i386) This is the view the compiler currently has. The pii and piii additional instructions are not yet used, as isn't mmx. It is unclear (to me) wether this will change, as there is no real strong hierarchy anymore (chip can have mmx but not fcomi, or vice versa), or wether additional switches (-mmx, -m3dnow) will be introduced. -- -----==- | ----==-- _ | ---==---(_)__ __ ____ __ Marc Lehmann +-- --==---/ / _ \/ // /\ \/ / pcg@goof.com |e| -=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+ The choice of a GNU generation | |