This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] Fix gcc.target/mips/no-smartmips-ror-1.c


I'd wrongly suggested using -march=mips32r2 (which has ROR) instead
of -march=mips32 (which doesn't unless SmartMIPS is available).

Tested on mipsisa64-elfoabi and applied.

Richard


gcc/testsuite/
	* gcc.target/mips/no-smartmips-ror-1.c: Use -march=mips32 instead
	of -march=mips32r2.

Index: gcc/testsuite/gcc.target/mips/no-smartmips-ror-1.c
===================================================================
--- gcc/testsuite/gcc.target/mips/no-smartmips-ror-1.c	(rÃvision 141924)
+++ gcc/testsuite/gcc.target/mips/no-smartmips-ror-1.c	(copie de travail)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-mips-options "-O -mno-smartmips -march=mips32r2" } */
+/* { dg-mips-options "-O -mno-smartmips -march=mips32" } */
 
 NOMIPS16 int rotate_left (unsigned a, unsigned s)
 {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]