This is the mail archive of the gcc@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: documentation blur


Jean-Pierre Radley wrote:-

>             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.
> 
> The sentence starting "While picking..." contains "not", once again
> "not", and then "without".  I don't find it all easy to understand.
> In fact, I'm not sure I can properly parse it at all.

It's not too bad at all; I assume your native language is French?

Anyway, what it's trying to say is that -mcpu configures instruction
scheduling but still generates i386 code.  To get code with instructions
that run only on higher processors such as the Pentium, you need to use
-march.

Neil.


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