Commit 5cf2759e by Jeff Law

pa.md (call define_expands): If TARGET_LONG_CALLS, then force the address of the…

pa.md (call define_expands): If TARGET_LONG_CALLS, then force the address of the function into a register.

        * pa.md (call define_expands): If TARGET_LONG_CALLS, then force
        the address of the function into a register.

From-SVN: r2486
parent ea727bbf
......@@ -2333,6 +2333,10 @@
""
"
{
if (TARGET_LONG_CALLS)
operands[0] = gen_rtx (MEM, SImode,
force_reg (SImode, XEXP (operands[0], 0)));
else
operands[0] = gen_rtx (MEM, SImode, XEXP (operands[0], 0));
}")
......@@ -2365,6 +2369,10 @@
""
"
{
if (TARGET_LONG_CALLS)
operands[1] = gen_rtx (MEM, SImode,
force_reg (SImode, XEXP (operands[1], 0)));
else
operands[1] = gen_rtx (MEM, SImode, XEXP (operands[1], 0));
}")
......
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