aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/config/aarch64/aarch64-builtins.c
diff options
context:
space:
mode:
authorYunlian Jiang <yunlian@google.com>2018-04-24 22:15:37 -0700
committerYunlian Jiang <yunlian@google.com>2018-04-24 22:15:37 -0700
commit71959ce8f47f676a26bb21da7117101d9d73867e (patch)
treec9c8f11d31a4a22bb04fa5798311919929ffafb0 /gcc-4.9/gcc/config/aarch64/aarch64-builtins.c
parente46354e85363dbd7ea85492f70af89273881709f (diff)
downloadtoolchain_gcc-71959ce8f47f676a26bb21da7117101d9d73867e.zip
toolchain_gcc-71959ce8f47f676a26bb21da7117101d9d73867e.tar.gz
toolchain_gcc-71959ce8f47f676a26bb21da7117101d9d73867e.tar.bz2
gcc: backport patch to support vrnd<*>_f64 aarch64 intrinsics.
This backports upstream patch to add support of vrdn<*>_f64 intrinisics for aarch64. This is needed because glibc 2.27 uses some of them. Author: mshawcroft <mshawcroft@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Tue Apr 22 08:39:48 2014 +0000 [AArch64] vrnd<*>_f64 patch This patch adds vrnd<*>_f64 aarch64 intrinsics. A testcase for those intrinsics is added. Run a complete LE and BE regression run with no regressions. BUG=chromium:834385 TEST=./setup_board --board kevin --nousepkg cross-aarch64-cros-linux-gnu-glibc builds for glibc 2.27 Change-Id: Iaf9508a433e35d3304e44ac4b6c93071ff6c5ec0
Diffstat (limited to 'gcc-4.9/gcc/config/aarch64/aarch64-builtins.c')
-rw-r--r--gcc-4.9/gcc/config/aarch64/aarch64-builtins.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/config/aarch64/aarch64-builtins.c b/gcc-4.9/gcc/config/aarch64/aarch64-builtins.c
index a5af874..eea05cd 100644
--- a/gcc-4.9/gcc/config/aarch64/aarch64-builtins.c
+++ b/gcc-4.9/gcc/config/aarch64/aarch64-builtins.c
@@ -311,6 +311,8 @@ aarch64_types_store1_qualifiers[SIMD_MAX_BUILTIN_ARGS]
VAR7 (T, N, MAP, v8qi, v16qi, v4hi, v8hi, v2si, v4si, v2di)
#define BUILTIN_VDQF(T, N, MAP) \
VAR3 (T, N, MAP, v2sf, v4sf, v2df)
+#define BUILTIN_VDQF_DF(T, N, MAP) \
+ VAR4 (T, N, MAP, v2sf, v4sf, v2df, df)
#define BUILTIN_VDQH(T, N, MAP) \
VAR2 (T, N, MAP, v4hi, v8hi)
#define BUILTIN_VDQHS(T, N, MAP) \