documentation blur
Neil Booth
neil@daikokuya.demon.co.uk
Tue Feb 27 14:23:00 GMT 2001
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.
More information about the Gcc
mailing list