aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2004-08-13 19:59:18 -0700
committerRichard Henderson <rth@gcc.gnu.org>2004-08-13 19:59:18 -0700
commite427abbf2731fe52aebf1a1e2ca3bffb4f5dbe20 (patch)
treede8ffe9c39b4ba94075646cef9f4117794309520
parent77a30f085d5dc6e0e19fe034fe4ff2196c7047da (diff)
downloadgcc-e427abbf2731fe52aebf1a1e2ca3bffb4f5dbe20.zip
gcc-e427abbf2731fe52aebf1a1e2ca3bffb4f5dbe20.tar.gz
gcc-e427abbf2731fe52aebf1a1e2ca3bffb4f5dbe20.tar.bz2
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
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/i386/i386.md14
2 files changed, 14 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7a94d93..415c0fc 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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):
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index 54ee11e..a32063d 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -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";
}