This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]