aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGuozhi Wei <carrot@google.com>2014-05-21 19:46:33 +0000
committerWei Guozhi <carrot@gcc.gnu.org>2014-05-21 19:46:33 +0000
commit9652331a6ba454d402b1df6317d65ab56c1dff5d (patch)
treef8f6516440db8547f6fd3d7f32f2a90bc7f223d1 /gcc
parent0bfba0434a2acaf270660cafc9a1536f17a5fd75 (diff)
downloadgcc-9652331a6ba454d402b1df6317d65ab56c1dff5d.zip
gcc-9652331a6ba454d402b1df6317d65ab56c1dff5d.tar.gz
gcc-9652331a6ba454d402b1df6317d65ab56c1dff5d.tar.bz2
arm_neon.h (vqdmulh_n_s16): Change the last operand's constraint.
* config/aarch64/arm_neon.h (vqdmulh_n_s16): Change the last operand's constraint. (vqdmulhq_n_s16): Likewise. From-SVN: r210725
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/aarch64/arm_neon.h4
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3a11ef5..ee530bd 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2014-05-21 Guozhi Wei <carrot@google.com>
+
+ PR target/61202
+ * config/aarch64/arm_neon.h (vqdmulh_n_s16): Change the last operand's
+ constraint.
+ (vqdmulhq_n_s16): Likewise.
+
2014-05-21 Segher Boessenkool <segher@kernel.crashing.org>
* config/rs6000/predicates.md (update_indexed_address_mem): Delete.
diff --git a/gcc/config/aarch64/arm_neon.h b/gcc/config/aarch64/arm_neon.h
index 5ef1891..1d39c06 100644
--- a/gcc/config/aarch64/arm_neon.h
+++ b/gcc/config/aarch64/arm_neon.h
@@ -10358,7 +10358,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;
}
@@ -10380,7 +10380,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;
}