Commit 9d6b41f3 by Rainer Orth Committed by Jeff Law

mips.md (div_trap): Use local labels instead of dot-relative branches.

        * mips.md (div_trap): Use local labels instead of dot-relative
        branches.
Works around bug in ultrix assemblers.

From-SVN: r24466
parent dcaeffef
Sun Jan 3 21:01:04 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* mips.md (div_trap): Use local labels instead of dot-relative
branches.
Sun Jan 3 20:40:34 1999 Jeffrey A Law (law@cygnus.com)
* pa.md (branch, negated branch): Handle (const_int 0) as first
......
......@@ -2435,16 +2435,16 @@
if (GENERATE_BRANCHLIKELY)
{
if (GET_CODE (operands[1]) == CONST_INT)
return \"%(beql\\t%0,$0,.+8\\n\\tbreak\\t%2%)\";
return \"%(beql\\t%0,$0,1f\\n\\tbreak\\t%2\\n1:%)\";
else
return \"%(beql\\t%0,%1,.+8\\n\\tbreak\\t%2%)\";
return \"%(beql\\t%0,%1,1f\\n\\tbreak\\t%2\\n1:%)\";
}
else
{
if (GET_CODE (operands[1]) == CONST_INT)
return \"%(bne\\t%0,$0,.+12\\n\\tnop\\n\\tbreak\\t%2%)\";
return \"%(bne\\t%0,$0,1f\\n\\tnop\\n\\tbreak\\t%2\\n1:%)\";
else
return \"%(bne\\t%0,%1,.+12\\n\\tnop\\n\\tbreak\\t%2%)\";
return \"%(bne\\t%0,%1,1f\\n\\tnop\\n\\tbreak\\t%2\\n1:%)\";
}
}
return \"\";
......
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