Commit bd0eb0ba by Jeff Law

rs6000.md (movdf_hardfloat32): Use %X instead of always emitting 'x' when…

rs6000.md (movdf_hardfloat32): Use %X instead of always emitting 'x' when handling non-offsettable addresses

h
        * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
        'x' when handling non-offsettable addresses

From-SVN: r27697
parent 79853d16
...@@ -6353,15 +6353,15 @@ ...@@ -6353,15 +6353,15 @@
operands[1], 0)) operands[1], 0))
{ {
output_asm_insn (\"{cal|la} %0,4(%0)\", &addreg); output_asm_insn (\"{cal|la} %0,4(%0)\", &addreg);
output_asm_insn (\"{lx|lwzx} %L0,%1\", operands); output_asm_insn (\"{l%X1|lwz%X1} %L0,%1\", operands);
output_asm_insn (\"{cal|la} %0,-4(%0)\", &addreg); output_asm_insn (\"{cal|la} %0,-4(%0)\", &addreg);
return \"{lx|lwzx} %0,%1\"; return \"{l%X1|lwz%X1} %0,%1\";
} }
else else
{ {
output_asm_insn (\"{lx|lwzx} %0,%1\", operands); output_asm_insn (\"{l%X1|lwz%X1} %0,%1\", operands);
output_asm_insn (\"{cal|la} %0,4(%0)\", &addreg); output_asm_insn (\"{cal|la} %0,4(%0)\", &addreg);
output_asm_insn (\"{lx|lwzx} %L0,%1\", operands); output_asm_insn (\"{l%X1|lwz%X1} %L0,%1\", operands);
output_asm_insn (\"{cal|la} %0,-4(%0)\", &addreg); output_asm_insn (\"{cal|la} %0,-4(%0)\", &addreg);
return \"\"; return \"\";
} }
...@@ -6378,9 +6378,9 @@ ...@@ -6378,9 +6378,9 @@
abort (); abort ();
addreg = find_addr_reg (XEXP (operands[0], 0)); addreg = find_addr_reg (XEXP (operands[0], 0));
output_asm_insn (\"{stx|stwx} %1,%0\", operands); output_asm_insn (\"{st%X0|stw%X0} %1,%0\", operands);
output_asm_insn (\"{cal|la} %0,4(%0)\", &addreg); output_asm_insn (\"{cal|la} %0,4(%0)\", &addreg);
output_asm_insn (\"{stx|stwx} %L1,%0\", operands); output_asm_insn (\"{st%X0|stw%X0} %L1,%0\", operands);
output_asm_insn (\"{cal|la} %0,-4(%0)\", &addreg); output_asm_insn (\"{cal|la} %0,-4(%0)\", &addreg);
return \"\"; 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