[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-get source e compilazione



Francesco P. Lovergine, Fri, Dec 13, 2002 at 12:05:25PM +0100:
> Ancora sta storia del 'piu' performante'. Voglio proprio vedere
> se ci riesci a convincere gcc a fare di meglio di -m486.

Ciao
ma le altre opzioni di compilazione per il tipo di Cpu non servono? o non
rendono il codice "migliore" x il tipo di cpu che usi?
riporto dal manuale di gcc 3.04

-mcpu=cpu-type
    Assume the defaults for the machine type cpu-type when scheduling
instructions. The choices for cpu-type are `i386', `i486', `i586', `i686',
`pentium', `pentiumpro', `k6', and `athlon'

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. `i586' is equivalent
to `pentium' and `i686' is equivalent to `pentiumpro'. `k6' is the AMD chip as
opposed to the Intel ones. 

Gianluca

------------------------------------------------------------------------------------------------------------
Questa email è stata spedita grazie a Club Nautilus - Internet Company Provider: http://www.clubnautilus.it 



Reply to: