Devel - procesory -> wazne !

Wojtek Slusarczyk wojtek w SHADOW.EU.ORG
Śro, 6 Sty 1999, 09:04:12 CET


On Tue, 5 Jan 1999, Krzysztof G. Baranowski wrote:

> Tu sie nie ma czemu dziwic. Po prostu przeczytaj co robi
> '-march=pentium'. Jak chcesz zeby dzialalo, to zrekompiluj 
> bez tej opcji, ewentualnie zastap ja '-mpentium'.

Ale to nie jest i386 czy i486 zeby takie probley maily byc, gdybym nawet
optymalizowal `-mk6' (w egcsie 1.1.1 mozna) to na wszystkich pII i ppro 
powinno chodzic a na AMD frowac ... i na odwrot -march=pentium -mpentium
nie powinno byc problemow z odpaleniem na AMD, Cyrix...

Intel 386 Options
-----------------

   These `-m' options are defined for the i386 family of computers:

`-mcpu=CPU TYPE'
     Assume the defaults for the machine type CPU TYPE when scheduling
     instructions.  The choices for CPU TYPE are: `i386', `i486',
     `i586' (`pentium'), `pentium', `i686' (`pentiumpro') and
     `pentiumpro'. While picking a specific CPU TYPE will schedule
     things appropriately for that particular chip, the compiler will
     not generate any code that does not run on the i386 without the
     `-march=CPU TYPE' option being used.

`-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'.

`-m386'
`-m486'
`-mpentium'
`-mpentiumpro'
     Synonyms for -mcpu=i386, -mcpu=i486, -mcpu=pentium, and
     -mcpu=pentiumpro respectively.

na gazie,
-- 
Wojtek Slusarczyk (091)4494148
Technical University of Szczecin
PGP KeyServer pgpkeys.mit.edu



Więcej informacji o liście dyskusyjnej pld-devel-pl