summaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>2014-07-22 12:33:51 +0000
committerktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>2014-07-22 12:33:51 +0000
commit8056dfaa6b4b1536fba58709cafdb414f5133039 (patch)
tree39786929815cfd43e40f5df34be78be18c18e84f /gcc/config
parentb92d4fd1609390ae88e331120fad05071d9cdd84 (diff)
downloadgcc-8056dfaa6b4b1536fba58709cafdb414f5133039.tar.gz
[AArch64] Implement vbsl_f64 arm_neon.h intrinsic.
[gcc/] * config/aarch64/arm_neon.h (vbsl_f64): New intrinsic. [testsuite/] * gcc.target/aarch64/simd/vbsl_f64_1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212910 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/aarch64/arm_neon.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/config/aarch64/arm_neon.h b/gcc/config/aarch64/arm_neon.h
index 80d1ca6b576..66968e8d198 100644
--- a/gcc/config/aarch64/arm_neon.h
+++ b/gcc/config/aarch64/arm_neon.h
@@ -13657,6 +13657,13 @@ vbsl_f32 (uint32x2_t __a, float32x2_t __b, float32x2_t __c)
return __builtin_aarch64_simd_bslv2sf_suss (__a, __b, __c);
}
+__extension__ static __inline float64x1_t __attribute__ ((__always_inline__))
+vbsl_f64 (uint64x1_t __a, float64x1_t __b, float64x1_t __c)
+{
+ return (float64x1_t)
+ { __builtin_aarch64_simd_bsldf_suss (__a[0], __b[0], __c[0]) };
+}
+
__extension__ static __inline poly8x8_t __attribute__ ((__always_inline__))
vbsl_p8 (uint8x8_t __a, poly8x8_t __b, poly8x8_t __c)
{