i386.md (call_1, [...]): Use Pmode for constant_call_address_operand.
authorRichard Henderson <rth@redhat.com>
Sat, 14 Aug 2004 02:59:18 +0000 (19:59 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Sat, 14 Aug 2004 02:59:18 +0000 (19:59 -0700)
        * 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

gcc/ChangeLog
gcc/config/i386/i386.md

index 7a94d93ef807417581f0187e522b5eae99882cc3..415c0fc6dddcb5d3ddd89c1a994692fc58ab57bb 100644 (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):
index 54ee11e9d4a936caf3b501fe6cc8ddba1e044aad..a32063d647e0284c6a4eb2ee75c0286961be96a5 100644 (file)
         (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";
 }
         (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";
 }
         (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";
 }
                            (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";
              (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";
 }
              (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";
 }
              (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";
 }