i386.md (call_1, [...]): Use Pmode for constant_call_address_operand.

* config/i386/i386.md (call_1, sibcall_1, call_1_rex64): Use Pmode
        for constant_call_address_operand.
        (call_value_pop_1, call_value_1): Likewise.
        (sibcall_value_1, call_value_1_rex64): Likewise.

From-SVN: r85981
This commit is contained in:
Richard Henderson 2004-08-13 19:59:18 -07:00 committed by Richard Henderson
parent 77a30f085d
commit e427abbf27
2 changed files with 14 additions and 7 deletions

View file

@ -1,3 +1,10 @@
2004-08-13 Richard Henderson <rth@redhat.com>
* config/i386/i386.md (call_1, sibcall_1, call_1_rex64): Use Pmode
for constant_call_address_operand.
(call_value_pop_1, call_value_1): Likewise.
(sibcall_value_1, call_value_1_rex64): Likewise.
2004-08-13 James E Wilson <wilson@specifixinc.com>
* config/mips/sb1.md (ir_sb1_divdf_2pipes, ir_sb1_divdf_1pipe):

View file

@ -13668,7 +13668,7 @@
(match_operand 1 "" ""))]
"!SIBLING_CALL_P (insn) && !TARGET_64BIT"
{
if (constant_call_address_operand (operands[0], QImode))
if (constant_call_address_operand (operands[0], Pmode))
return "call\t%P0";
return "call\t%A0";
}
@ -13679,7 +13679,7 @@
(match_operand 1 "" ""))]
"SIBLING_CALL_P (insn) && !TARGET_64BIT"
{
if (constant_call_address_operand (operands[0], QImode))
if (constant_call_address_operand (operands[0], Pmode))
return "jmp\t%P0";
return "jmp\t%A0";
}
@ -13690,7 +13690,7 @@
(match_operand 1 "" ""))]
"!SIBLING_CALL_P (insn) && TARGET_64BIT"
{
if (constant_call_address_operand (operands[0], QImode))
if (constant_call_address_operand (operands[0], Pmode))
return "call\t%P0";
return "call\t%A0";
}
@ -19518,7 +19518,7 @@
(match_operand:SI 3 "immediate_operand" "i")))]
"!TARGET_64BIT"
{
if (constant_call_address_operand (operands[1], QImode))
if (constant_call_address_operand (operands[1], Pmode))
{
if (SIBLING_CALL_P (insn))
return "jmp\t%P1";
@ -19564,7 +19564,7 @@
(match_operand:SI 2 "" "")))]
"!SIBLING_CALL_P (insn) && !TARGET_64BIT"
{
if (constant_call_address_operand (operands[1], QImode))
if (constant_call_address_operand (operands[1], Pmode))
return "call\t%P1";
return "call\t%*%1";
}
@ -19576,7 +19576,7 @@
(match_operand:SI 2 "" "")))]
"SIBLING_CALL_P (insn) && !TARGET_64BIT"
{
if (constant_call_address_operand (operands[1], QImode))
if (constant_call_address_operand (operands[1], Pmode))
return "jmp\t%P1";
return "jmp\t%*%1";
}
@ -19588,7 +19588,7 @@
(match_operand:DI 2 "" "")))]
"!SIBLING_CALL_P (insn) && TARGET_64BIT"
{
if (constant_call_address_operand (operands[1], QImode))
if (constant_call_address_operand (operands[1], Pmode))
return "call\t%P1";
return "call\t%A1";
}