Commit 8816ac70 by Richard Sandiford Committed by Richard Sandiford

unroll_5.c: Add nomips16 attributes.

gcc/testsuite/
	* gcc.dg/unroll_5.c: Add nomips16 attributes.

From-SVN: r195132
parent 140516c5
2013-01-13 Richard Sandiford <rdsandiford@googlemail.com> 2013-01-13 Richard Sandiford <rdsandiford@googlemail.com>
* gcc.dg/unroll_5.c: Add nomips16 attributes.
2013-01-13 Richard Sandiford <rdsandiford@googlemail.com>
* gcc.dg/tree-ssa/ssa-dom-thread-4.c: Update expected results for MIPS. * gcc.dg/tree-ssa/ssa-dom-thread-4.c: Update expected results for MIPS.
2013-01-12 Janus Weil <janus@gcc.gnu.org> 2013-01-12 Janus Weil <janus@gcc.gnu.org>
......
...@@ -4,6 +4,11 @@ ...@@ -4,6 +4,11 @@
void abort (void); void abort (void);
int *a; int *a;
/* Fails on MIPS16 because equality checks are implemented using XOR.
It's unlikely MIPS16 users would want unrolling anyway. */
#ifdef __mips
__attribute__((nomips16))
#endif
int t() int t()
{ {
int i; int i;
...@@ -12,6 +17,9 @@ int t() ...@@ -12,6 +17,9 @@ int t()
return 1; return 1;
return 0; return 0;
} }
#ifdef __mips
__attribute__((nomips16))
#endif
int t2() int t2()
{ {
int i; int i;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment