MIPS: Do not generate micromips code for the no-smartmips-lwxs.c testcase
authorAndrew Bennett <andrew.bennett@imgtec.com>
Tue, 7 Jul 2015 16:07:51 +0000 (16:07 +0000)
committerAndrew Bennett <abennett@gcc.gnu.org>
Tue, 7 Jul 2015 16:07:51 +0000 (16:07 +0000)
The LWXS instruction is part of the micromips ISA which means it is
valid to generate it for the no-smartmips-lwxs.c testcase.

testsuite/
* gcc.target/mips/no-smartmips-lwxs.c: Change NOMIPS16 to
NOCOMPRESSION.

From-SVN: r225519

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/mips/no-smartmips-lwxs.c

index d9fa97a..b2e0e98 100644 (file)
@@ -1,3 +1,8 @@
+2015-07-07  Andrew Bennett  <andrew.bennett@imgtec.com>
+
+       * gcc.target/mips/no-smartmips-lwxs.c: Change NOMIPS16 to
+       NOCOMPRESSION.
+
 2015-07-07  Richard Biener  <rguenther@suse.de>
 
        * gcc.dg/vect/vect-over-widen-3-big-array.c: Adjust.
index ecf856e..e94677f 100644 (file)
@@ -1,7 +1,7 @@
 /* { dg-do compile } */
 /* { dg-options "-mno-smartmips" } */
 
-NOMIPS16 int scaled_indexed_word_load (int a[], int b)
+NOCOMPRESSION int scaled_indexed_word_load (int a[], int b)
 {
   return a[b];
 }