Commit 3b9c787b by Andrew Pinski Committed by Steve Ellcey

re PR target/59462 (c-c++-common/cilk-plus/AN/builtin_func_double2.c fails on MIPS)

2014-01-17  Andrew Pinski <apinski@cavium.com>
	    Steve Ellcey  <sellcey@mips.com>

	PR target/59462
	* config/mips/mips.c (mips_print_operand): Check operand mode instead
	of operator mode.

Co-Authored-By: Steve Ellcey <sellcey@mips.com>

From-SVN: r206724
parent 4ee5c752
2014-01-17 Andrew Pinski <apinski@cavium.com>
Steve Ellcey <sellcey@mips.com>
PR target/59462
* config/mips/mips.c (mips_print_operand): Check operand mode instead
of operator mode.
2014-01-17 Jeff Law <law@redhat.com> 2014-01-17 Jeff Law <law@redhat.com>
PR middle-end/57904 PR middle-end/57904
......
...@@ -8184,7 +8184,7 @@ mips_print_operand (FILE *file, rtx op, int letter) ...@@ -8184,7 +8184,7 @@ mips_print_operand (FILE *file, rtx op, int letter)
case 't': case 't':
{ {
int truth = (code == NE) == (letter == 'T'); int truth = (code == NE) == (letter == 'T');
fputc ("zfnt"[truth * 2 + (GET_MODE (op) == CCmode)], file); fputc ("zfnt"[truth * 2 + ST_REG_P (REGNO (XEXP (op, 0)))], file);
} }
break; break;
......
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