ARM mcpu to march mapping
Richard Earnshaw
rearnsha@arm.com
Fri Jun 13 14:21:00 GMT 2003
> Is there a functional mapping from the mcpu switches to march?
> Specifically, what march family does the strongarm1100 fall into? Do
> both these switches specify the instruction set available?
>
Yes. sa1100 is an ARMv4 processor. -march will select the instructions
that are legal to use for the compilation. -mtune will tell the compiler
to tune for best performance on that processor (within the constraints of
the instruction set specified by -march). -mcpu will set both options at
once; think of it as a shorthand for -march=arch-of(cpu) -mtune=cpu.
R.
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list