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] Fix names of some rounding intrinsics, impement vrndx_f32 and vrndxq_f32


Phew,

This one slipped through the cracks. Ping?
https://gcc.gnu.org/ml/gcc-patches/2014-09/msg01981.html

Thanks,
Kyrill

On 23/09/14 16:25, Kyrill Tkachov wrote:
On 23/09/14 16:07, Kyrill Tkachov wrote:
Hi all,

Some intrinsics had the wrong name (inconsistent with the NEON
intrinsics spec). This patch fixes that and adds the vrndx_f32 and
vrndxq_f32 intrinsics that were missing.
For reference, the NEON intrinsics spec can be found at:
http://infocenter.arm.com/help/topic/com.arm.doc.ihi0073a/IHI0073A_arm_neon_intrinsics_ref.pdf

Kyrill

These map down to vrintx.f32 NEON instructions (d and q forms). We
already had builtins defined for them, just the intrinsics were not
wired up to them properly.

Tested arm-none-eabi

Ok for trunk?

2014-09-23  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

       * config/arm/arm_neon.h (vrndqn_f32): Rename to...
       (vrndnq_f32): ... this.
       (vrndqa_f32): Rename to...
       (vrndaq_f32): ... this.
       (vrndqp_f32): Rename to...
       (vrndpq_f32): ... this.
       (vrndqm_f32): Rename to...
       (vrndmq_f32): ... this.
       (vrndx_f32): New intrinsic.
       (vrndxq_f32): Likewise.

2014-09-23  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

       * gcc.target/arm/simd/neon-vrndx_f32_1.c: New test.
       * gcc.target/arm/simd/neon-vrndxq_f32_1.c: Likewise.
       * gcc.target/arm/neon/vrndqaf32.c: Rename to...
       * gcc.target/arm/neon/vrndaqf32.c: ... This. Update intrinsic names.
       * gcc.target/arm/neon/vrndqmf32.c: Rename to...
       * gcc.target/arm/neon/vrndmqf32.c: ... This. Update intrinsic names.
       * gcc.target/arm/neon/vrndqnf32.c: Rename to...
       * gcc.target/arm/neon/vrndnqf32.c: ... This. Update intrinsic names.
       * gcc.target/arm/neon/vrndqpf32.c: Rename to...
       * gcc.target/arm/neon/vrndpqf32.c: ... This. Update intrinsic names.





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