[ARC] Fix tests asm constraints.
authorClaudiu Zissulescu <claziss@synopsys.com>
Mon, 10 Jul 2017 13:55:16 +0000 (15:55 +0200)
committerClaudiu Zissulescu <claziss@gcc.gnu.org>
Mon, 10 Jul 2017 13:55:16 +0000 (15:55 +0200)
LRA doesn't like the 'X' constraint as used in our tests, remove it.

gcc/testsuite
2017-07-10  Claudiu Zissulescu  <claziss@synopsys.com>

* gcc.target/arc/mulsi3_highpart-1.c: Remove 'X' constraint.
* gcc.target/arc/mulsi3_highpart-2.c: Likewise.

From-SVN: r250096

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arc/mulsi3_highpart-1.c
gcc/testsuite/gcc.target/arc/mulsi3_highpart-2.c

index 846d79ce27bafa9cc8fb18e88eb0f9b429c2c488..98d9d1c14ae61077e19a403e59cf871c10d8274d 100644 (file)
@@ -1,3 +1,8 @@
+2017-07-10  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       * gcc.target/arc/mulsi3_highpart-1.c: Remove 'X' constraint.
+       * gcc.target/arc/mulsi3_highpart-2.c: Likewise.
+
 2017-07-09  Uros Bizjak  <ubizjak@gmail.com>
 
        PR target/81313
index 57cb95b91fc11b12c28d27f520cece9882d3453e..5fd6c3603633f742a9bc40b450a592f64df27737 100644 (file)
@@ -7,7 +7,7 @@
 static int
 id (int i)
 {
-  asm ("": "+Xr" (i));
+  asm ("": "+r" (i));
   return i;
 }
 
index 287d96d4ee9af66c1c1c430217794bb3a2337cb7..6ec4bc5d8755e8f45370a4b4aea73038018c0441 100644 (file)
@@ -9,7 +9,7 @@
 static int
 id (int i)
 {
-  asm ("": "+Xr" (i));
+  asm ("": "+r" (i));
   return i;
 }