This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][ARM][5/7] Convert FP mnemonics to UAL | sqrt and FP compare patterns
- From: Ramana Radhakrishnan <ramana dot gcc at googlemail dot com>
- To: Kyrill Tkachov <kyrylo dot tkachov at arm dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Ramana Radhakrishnan <ramana dot radhakrishnan at arm dot com>, Richard Earnshaw <Richard dot Earnshaw at arm dot com>
- Date: Tue, 9 Sep 2014 12:05:25 +0100
- Subject: Re: [PATCH][ARM][5/7] Convert FP mnemonics to UAL | sqrt and FP compare patterns
- Authentication-results: sourceware.org; auth=none
- References: <53F3677B dot 1040000 at arm dot com>
- Reply-to: ramrad01 at arm dot com
On Tue, Aug 19, 2014 at 4:04 PM, Kyrill Tkachov <kyrylo.tkachov@arm.com> wrote:
> Hi all,
>
> The sqrt and floating point compare patterns.
> For the case when we compare with floating-point 0 the ARM ARM uses the
> syntax 'vcmp {s,d}<n>, #0.0'
> but current gas has a bug and doesn't accept that form, only 'vcmp {s,d}<n>,
> #0'
>
> There is a gas patch in review on the binutils mailing list but in the
> meantime we output #0
> Testing binutils didn't complain.
Ok (I think we'll just have to live with #0 for a long time).
Ramana
>
> Ok for trunk?
>
> Thanks,
> Kyrill
>
> 2014-08-19 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
>
> * config/arm/vfp.md (*sqrtsf2_vfp): Use UAL assembly syntax.
> (*sqrtdf2_vfp): Likewise.
> (*cmpsf_vfp): Likewise.
> (*cmpsf_trap_vfp): Likewise.
> (*cmpdf_vfp): Likewise.
> (*cmpdf_trap_vfp): Likewise.
>
> 2014-08-19 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
>
> * gcc.target/arm/vfp-1.c: Updated expected assembly.