aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2014-05-27 17:28:09 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-05-27 17:28:09 +0000
commit8f2898c09773292b6ba523cee7e528a320ff1e02 (patch)
tree99f5865580b6a3c8243c9cbe896103eb5f948275 /gcc-4.9
parent41a51304ab0f3b4580f34718ee4781c3629fb548 (diff)
parent04ad5b9bb3c8c6505f36f90e227b18266d946d8e (diff)
downloadtoolchain_gcc-8f2898c09773292b6ba523cee7e528a320ff1e02.tar.gz
toolchain_gcc-8f2898c09773292b6ba523cee7e528a320ff1e02.tar.bz2
toolchain_gcc-8f2898c09773292b6ba523cee7e528a320ff1e02.zip
Merge "[4.8, 4.9] Fix aarch64/arm_neon.h vqdmulh_n_s16"
Diffstat (limited to 'gcc-4.9')
-rw-r--r--gcc-4.9/gcc/config/aarch64/arm_neon.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc-4.9/gcc/config/aarch64/arm_neon.h b/gcc-4.9/gcc/config/aarch64/arm_neon.h
index 747a292ba..b03d11422 100644
--- a/gcc-4.9/gcc/config/aarch64/arm_neon.h
+++ b/gcc-4.9/gcc/config/aarch64/arm_neon.h
@@ -10111,7 +10111,7 @@ vqdmulh_n_s16 (int16x4_t a, int16_t b)
int16x4_t result;
__asm__ ("sqdmulh %0.4h,%1.4h,%2.h[0]"
: "=w"(result)
- : "w"(a), "w"(b)
+ : "w"(a), "x"(b)
: /* No clobbers */);
return result;
}
@@ -10133,7 +10133,7 @@ vqdmulhq_n_s16 (int16x8_t a, int16_t b)
int16x8_t result;
__asm__ ("sqdmulh %0.8h,%1.8h,%2.h[0]"
: "=w"(result)
- : "w"(a), "w"(b)
+ : "w"(a), "x"(b)
: /* No clobbers */);
return result;
}