arm_neon.h (vget_lane_p64): New.
authorTamar Christina <tamar.christina@arm.com>
Mon, 28 Nov 2016 12:36:07 +0000 (12:36 +0000)
committerTamar Christina <tnfchris@gcc.gnu.org>
Mon, 28 Nov 2016 12:36:07 +0000 (12:36 +0000)
* config/arm/arm_neon.h (vget_lane_p64): New.

From-SVN: r242914

gcc/ChangeLog
gcc/config/arm/arm_neon.h

index ef01a7f..d37bd15 100644 (file)
@@ -1,3 +1,6 @@
+2016-11-28  Tamar Christina  <tamar.christina@arm.com>
+       * config/arm/arm_neon.h (vget_lane_p64): New.
+
 2016-11-28  Iain Sandoe  <iain@codesourcery.com>
 
        PR target/71767
index 3898ff7..ab29da7 100644 (file)
@@ -5411,6 +5411,15 @@ vget_lane_s64 (int64x1_t __a, const int __b)
   return (int64_t)__builtin_neon_vget_lanedi (__a, __b);
 }
 
+#pragma GCC push_options
+#pragma GCC target ("fpu=crypto-neon-fp-armv8")
+__extension__ static __inline poly64_t __attribute__ ((__always_inline__))
+vget_lane_p64 (poly64x1_t __a, const int __b)
+{
+  return (poly64_t)__builtin_neon_vget_lanedi ((int64x1_t) __a, __b);
+}
+
+#pragma GCC pop_options
 __extension__ static __inline uint64_t __attribute__ ((__always_inline__))
 vget_lane_u64 (uint64x1_t __a, const int __b)
 {