From: Tamar Christina Date: Mon, 28 Nov 2016 12:36:07 +0000 (+0000) Subject: arm_neon.h (vget_lane_p64): New. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f76f4b23a4fe974f9cb55077535b1e73bc8011c1;p=gcc.git arm_neon.h (vget_lane_p64): New. * config/arm/arm_neon.h (vget_lane_p64): New. From-SVN: r242914 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ef01a7fb7bc..d37bd150a61 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,6 @@ +2016-11-28 Tamar Christina + * config/arm/arm_neon.h (vget_lane_p64): New. + 2016-11-28 Iain Sandoe PR target/71767 diff --git a/gcc/config/arm/arm_neon.h b/gcc/config/arm/arm_neon.h index 3898ff7302d..ab29da74e09 100644 --- a/gcc/config/arm/arm_neon.h +++ b/gcc/config/arm/arm_neon.h @@ -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) {