This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Should -march=iwmmxt work?
- From: Nick Clifton <nickc at redhat dot com>
- To: binutils at sources dot redhat dot com
- Date: Wed, 23 Jul 2003 18:51:44 +0100
- Subject: Re: Should -march=iwmmxt work?
- References: <20030722194501.GA27003@nevyn.them.org>
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