This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Pentium instructions with gcc?



On Sun, 11 Mar 2001 01:32:40 +0000, krieg@iname.com said:

> hello everyone
>  
>  	I'm a litle new to gcc and I would like to know how to generate binaries
>  that are optimized for pentium processors (that make use of pentium
>  instructions)
>  I have used some options like -mcpu=i586 -march=i586
>  but the resulting binaries still run on a 486...  what makes me think that they
>  are not using pentium instructions,  but as I know nothing about assembly
>  and about what the pentium-only instructions do, maybe the programs that I have
>  tested just were too simple to make use of such instructions...   maybe not...
>  	I will really appreciate some help about this =]

I'm not sure about this, but you should try -mcpu=pentium -march=pentium 

Cheers,

Jean-Pierre
  

-- 
Jean-Pierre Schwickerath - Powered by GNU/LinuX!
E-Mail: email@schwicky.net - http://schwicky.net
PGP Key ID: 0x48C39212 - AIM: Schwicky - ICQ's UIN: 4690141

Nothing's impossible... Everything is relative!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]