[PATCH][ARM][5/7] Convert FP mnemonics to UAL | sqrt and FP compare patterns

Ramana Radhakrishnan ramana.gcc@googlemail.com
Tue Sep 9 11:05:00 GMT 2014


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.



More information about the Gcc-patches mailing list