* mips.md (trap_if): Use "$0" for the value zero.
From-SVN: r24053
This commit is contained in:
parent
e3f6ee2303
commit
b151501eba
|
@ -1,3 +1,7 @@
|
|||
Wed Dec 2 00:47:31 1998 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* mips.md (trap_if): Use "$0" for the value zero.
|
||||
|
||||
Tue Dec 1 20:49:49 1998 Ulrich Drepper <drepper@cygnus.com>
|
||||
Stephen L Moshier <moshier@world.std.com>
|
||||
Richard Henderson <rth@cygnus.com>
|
||||
|
|
|
@ -2431,10 +2431,22 @@
|
|||
&& REGNO (operands[1]) == 0)
|
||||
have_dep_anti = 1;
|
||||
if (! have_dep_anti)
|
||||
if (GENERATE_BRANCHLIKELY)
|
||||
return \"%(beql\\t%0,%1,.+8\\n\\tbreak\\t%2%)\";
|
||||
else
|
||||
return \"%(bne\\t%0,%1,.+12\\n\\tnop\\n\\tbreak\\t%2%)\";
|
||||
{
|
||||
if (GENERATE_BRANCHLIKELY)
|
||||
{
|
||||
if (GET_CODE (operands[1]) == CONST_INT)
|
||||
return \"%(beql\\t%0,$0,.+8\\n\\tbreak\\t%2%)\";
|
||||
else
|
||||
return \"%(beql\\t%0,%1,.+8\\n\\tbreak\\t%2%)\";
|
||||
}
|
||||
else
|
||||
{
|
||||
if (GET_CODE (operands[1]) == CONST_INT)
|
||||
return \"%(bne\\t%0,$0,.+12\\n\\tnop\\n\\tbreak\\t%2%)\";
|
||||
else
|
||||
return \"%(bne\\t%0,%1,.+12\\n\\tnop\\n\\tbreak\\t%2%)\";
|
||||
}
|
||||
}
|
||||
return \"\";
|
||||
}"
|
||||
[(set_attr "type" "unknown")
|
||||
|
|
Loading…
Reference in New Issue