]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
arm_neon.h (vqdmulh_n_s16): Change the last operand's constraint.
authorGuozhi Wei <carrot@google.com>
Wed, 21 May 2014 19:46:33 +0000 (19:46 +0000)
committerWei Guozhi <carrot@gcc.gnu.org>
Wed, 21 May 2014 19:46:33 +0000 (19:46 +0000)
* config/aarch64/arm_neon.h (vqdmulh_n_s16): Change the last operand's
constraint.
(vqdmulhq_n_s16): Likewise.

From-SVN: r210725

gcc/ChangeLog
gcc/config/aarch64/arm_neon.h

index 3a11ef5b6bb819d929e56228b7f340b37cbeca77..ee530bd761df4c9f766b542803de2be36be76780 100644 (file)
@@ -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.
index 5ef189129c406e27b2d2899d7266e0fda7d5a97a..1d39c0660332b4356088439dd5b6acc9be915781 100644 (file)
@@ -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;
 }