Should -march=iwmmxt work?

Nick Clifton nickc@redhat.com
Wed Jul 23 17:55:00 GMT 2003


Hi Daniel,

> So is this patch OK?

> 2003-07-22  Daniel Jacobowitz  <drow@mvista.com>
>
> 	* config/tc-arm.c (arm_archs): Add iwmmxt.

Yes - please apply it.


> I'm not sure why -march=xscale defaults to VFP (soft) and
> -mcpu=xscale defaults to VFP_V2 (hard, right?), but I maintained
> consistency.

It is probably OK either way.  The important thing is to select the
VFP floating-point format in order to get the layout of doubles
correct.  The iWMMXt does not have floating point hardware, so the
compiler should never be generating FP instructions for it.

Cheers
        Nick
        




More information about the Binutils mailing list