[PATCH][ARM][1/2] Implement lceil, lfloor, lround optabs with new ARMv8-A instructions

Ramana Radhakrishnan ramana.radhakrishnan@arm.com
Tue Sep 2 15:48:00 GMT 2014



On 02/09/14 16:34, Kyrill Tkachov wrote:
> Hi all,
>
> This patch implements the {lceil, lfloor, lround}si{sf, df}2 optabs in a
> similar way to fcvt in aarch64. We use the new ARMv8 FP convert with
> rounding instructions vcvt{a,p,m} for that.
>
> Bootstrapped and tested on arm-none-linux-gnueabihf.
>
> Ok for trunk?

Ok .

Ramana

>
> Thanks,
> Kyrill
>
> 2014-09-02  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
>
>       PR target/62275
>       * config/arm/iterators.md (FIXUORS): New code iterator.
>       (VCVT): New int iterator.
>       (su_optab): New code attribute.
>       (su): Likewise.
>       * config/arm/vfp.md (l<vrint_pattern><su_optab><mode>si2): New pattern.
>
> 2014-09-02  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
>
>       PR target/62275
>       * gcc.target/arm/lceil-vcvt_1.c: New test.
>       * gcc.target/arm/lfloor-vcvt_1.c: Likewise.
>       * gcc.target/arm/lround-vcvt_1.c: Likewise.
>



More information about the Gcc-patches mailing list