OSDN Git Service

Add to last commit.
authorechristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 10 Apr 2007 22:44:02 +0000 (22:44 +0000)
committerechristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 10 Apr 2007 22:44:02 +0000 (22:44 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123701 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/i386/i386.md

index 5a932cf..6aa4843 100644 (file)
             (match_operand 2 "const0_operand" "X"))]
        UNSPEC_FNSTSW))]
   "TARGET_80387
-   && FLOAT_MODE_P (GET_MODE (operands[1]))
+   && X87_FLOAT_MODE_P (GET_MODE (operands[1]))
    && GET_MODE (operands[1]) == GET_MODE (operands[2])"
   "* return output_fp_compare (insn, operands, 0, 0);"
   [(set_attr "type" "multi")
             (match_operand 2 "register_operand" "f"))]
          UNSPEC_FNSTSW))]
   "TARGET_80387
-   && FLOAT_MODE_P (GET_MODE (operands[1]))
+   && X87_FLOAT_MODE_P (GET_MODE (operands[1]))
    && GET_MODE (operands[1]) == GET_MODE (operands[2])"
   "* return output_fp_compare (insn, operands, 0, 1);"
   [(set_attr "type" "multi")
               [(match_operand:X87MODEI12 2 "memory_operand" "m")]))]
          UNSPEC_FNSTSW))]
   "TARGET_80387 && TARGET_USE_<MODE>MODE_FIOP
-   && FLOAT_MODE_P (GET_MODE (operands[1]))
+   && X87_FLOAT_MODE_P (GET_MODE (operands[1]))
    && (GET_MODE (operands [3]) == GET_MODE (operands[1]))"
   "* return output_fp_compare (insn, operands, 0, 0);"
   [(set_attr "type" "multi")
                      (match_operand 1 "register_operand" "f")))]
   "TARGET_80387 && TARGET_CMOVE
    && (!TARGET_SSE_MATH || !SSE_FLOAT_MODE_P (GET_MODE (operands[0])))
-   && FLOAT_MODE_P (GET_MODE (operands[0]))
+   && X87_FLOAT_MODE_P (GET_MODE (operands[0]))
    && GET_MODE (operands[0]) == GET_MODE (operands[1])"
   "* return output_fp_compare (insn, operands, 1, 0);"
   [(set_attr "type" "fcmp")
                       (match_operand 1 "register_operand" "f")))]
   "TARGET_80387 && TARGET_CMOVE
    && (!TARGET_SSE_MATH || !SSE_FLOAT_MODE_P (GET_MODE (operands[0])))
-   && FLOAT_MODE_P (GET_MODE (operands[0]))
+   && X87_FLOAT_MODE_P (GET_MODE (operands[0]))
    && GET_MODE (operands[0]) == GET_MODE (operands[1])"
   "* return output_fp_compare (insn, operands, 1, 1);"
   [(set_attr "type" "fcmp")
   [(set (match_operand:X87MODEI 0 "nonimmediate_operand" "=m,?r")
        (fix:X87MODEI (match_operand 1 "register_operand" "f,f")))]
   "TARGET_FISTTP
-   && FLOAT_MODE_P (GET_MODE (operands[1]))
+   && X87_FLOAT_MODE_P (GET_MODE (operands[1]))
    && !((SSE_FLOAT_MODE_P (GET_MODE (operands[1]))
         && (TARGET_64BIT || <MODE>mode != DImode))
        && TARGET_SSE_MATH)
        (fix:X87MODEI (match_operand 1 "register_operand" "f")))
    (clobber (match_scratch:XF 2 "=&1f"))]
   "TARGET_FISTTP
-   && FLOAT_MODE_P (GET_MODE (operands[1]))
+   && X87_FLOAT_MODE_P (GET_MODE (operands[1]))
    && !((SSE_FLOAT_MODE_P (GET_MODE (operands[1]))
         && (TARGET_64BIT || <MODE>mode != DImode))
        && TARGET_SSE_MATH)"
    (clobber (match_operand:X87MODEI 2 "memory_operand" "=m,m"))
    (clobber (match_scratch:XF 3 "=&1f,&1f"))]
   "TARGET_FISTTP
-   && FLOAT_MODE_P (GET_MODE (operands[1]))
+   && X87_FLOAT_MODE_P (GET_MODE (operands[1]))
    && !((SSE_FLOAT_MODE_P (GET_MODE (operands[1]))
        && (TARGET_64BIT || <MODE>mode != DImode))
        && TARGET_SSE_MATH)"
        (fix:X87MODEI (match_operand 1 "register_operand" "f,f")))
    (clobber (reg:CC FLAGS_REG))]
   "TARGET_80387 && !TARGET_FISTTP
-   && FLOAT_MODE_P (GET_MODE (operands[1]))
+   && X87_FLOAT_MODE_P (GET_MODE (operands[1]))
    && !(SSE_FLOAT_MODE_P (GET_MODE (operands[1]))
         && (TARGET_64BIT || <MODE>mode != DImode))
    && !(reload_completed || reload_in_progress)"
    (use (match_operand:HI 3 "memory_operand" "m"))
    (clobber (match_scratch:XF 4 "=&1f"))]
   "TARGET_80387 && !TARGET_FISTTP
-   && FLOAT_MODE_P (GET_MODE (operands[1]))
+   && X87_FLOAT_MODE_P (GET_MODE (operands[1]))
    && !(TARGET_64BIT && SSE_FLOAT_MODE_P (GET_MODE (operands[1])))"
   "* return output_fix_trunc (insn, operands, 0);"
   [(set_attr "type" "fistp")
    (clobber (match_operand:DI 4 "memory_operand" "=m,m"))
    (clobber (match_scratch:XF 5 "=&1f,&1f"))]
   "TARGET_80387 && !TARGET_FISTTP
-   && FLOAT_MODE_P (GET_MODE (operands[1]))
+   && X87_FLOAT_MODE_P (GET_MODE (operands[1]))
    && !(TARGET_64BIT && SSE_FLOAT_MODE_P (GET_MODE (operands[1])))"
   "#"
   [(set_attr "type" "fistp")
    (use (match_operand:HI 2 "memory_operand" "m"))
    (use (match_operand:HI 3 "memory_operand" "m"))]
   "TARGET_80387 && !TARGET_FISTTP
-   && FLOAT_MODE_P (GET_MODE (operands[1]))
+   && X87_FLOAT_MODE_P (GET_MODE (operands[1]))
    && !SSE_FLOAT_MODE_P (GET_MODE (operands[1]))"
   "* return output_fix_trunc (insn, operands, 0);"
   [(set_attr "type" "fistp")
    (use (match_operand:HI 3 "memory_operand" "m,m"))
    (clobber (match_operand:X87MODEI12 4 "memory_operand" "=m,m"))]
   "TARGET_80387 && !TARGET_FISTTP
-   && FLOAT_MODE_P (GET_MODE (operands[1]))
+   && X87_FLOAT_MODE_P (GET_MODE (operands[1]))
    && !SSE_FLOAT_MODE_P (GET_MODE (operands[1]))"
   "#"
   [(set_attr "type" "fistp")
        (float (match_operand 1 "register_operand" "")))]
   "reload_completed
    && TARGET_80387
-   && FLOAT_MODE_P (GET_MODE (operands[0]))"
+   && X87_FLOAT_MODE_P (GET_MODE (operands[0]))"
   [(const_int 0)]
 {
   operands[2] = ix86_force_to_memory (GET_MODE (operands[1]), operands[1]);
    (clobber (reg:CCFP FPSR_REG))
    (clobber (reg:CCFP FLAGS_REG))]
   "TARGET_CMOVE && TARGET_80387
-   && FLOAT_MODE_P (GET_MODE (operands[1]))
+   && X87_FLOAT_MODE_P (GET_MODE (operands[1]))
    && GET_MODE (operands[1]) == GET_MODE (operands[2])
    && ix86_fp_jump_nontrivial_p (GET_CODE (operands[0]))"
   "#")
    (clobber (reg:CCFP FPSR_REG))
    (clobber (reg:CCFP FLAGS_REG))]
   "TARGET_CMOVE && TARGET_80387
-   && FLOAT_MODE_P (GET_MODE (operands[1]))
+   && X87_FLOAT_MODE_P (GET_MODE (operands[1]))
    && GET_MODE (operands[1]) == GET_MODE (operands[2])
    && ix86_fp_jump_nontrivial_p (GET_CODE (operands[0]))"
   "#")
    (clobber (reg:CCFP FLAGS_REG))
    (clobber (match_scratch:HI 4 "=a"))]
   "TARGET_80387
-   && FLOAT_MODE_P (GET_MODE (operands[1]))
+   && X87_FLOAT_MODE_P (GET_MODE (operands[1]))
    && GET_MODE (operands[1]) == GET_MODE (operands[2])
    && ix86_fp_jump_nontrivial_p (GET_CODE (operands[0]))"
   "#")
    (clobber (reg:CCFP FLAGS_REG))
    (clobber (match_scratch:HI 4 "=a"))]
   "TARGET_80387
-   && FLOAT_MODE_P (GET_MODE (operands[1]))
+   && X87_FLOAT_MODE_P (GET_MODE (operands[1]))
    && GET_MODE (operands[1]) == GET_MODE (operands[2])
    && ix86_fp_jump_nontrivial_p (GET_CODE (operands[0]))"
   "#")
    (clobber (reg:CCFP FLAGS_REG))
    (clobber (match_scratch:HI 4 "=a"))]
   "TARGET_80387
-   && FLOAT_MODE_P (GET_MODE (operands[1]))
+   && X87_FLOAT_MODE_P (GET_MODE (operands[1]))
    && GET_MODE (operands[1]) == GET_MODE (operands[2])
    && !ix86_use_fcomi_compare (GET_CODE (operands[0]))
    && SELECT_CC_MODE (GET_CODE (operands[0]),
    (clobber (reg:CCFP FLAGS_REG))
    (clobber (match_scratch:HI 5 "=a,a"))]
   "TARGET_80387 && TARGET_USE_<MODE>MODE_FIOP
-   && FLOAT_MODE_P (GET_MODE (operands[3]))
+   && X87_FLOAT_MODE_P (GET_MODE (operands[3]))
    && GET_MODE (operands[1]) == GET_MODE (operands[3])
    && !ix86_use_fcomi_compare (swap_condition (GET_CODE (operands[0])))
    && ix86_fp_compare_mode (swap_condition (GET_CODE (operands[0]))) == CCFPmode
           [(float (match_operand:X87MODEI12 1 "register_operand" ""))
            (match_operand 2 "register_operand" "")]))]
   "TARGET_80387 && reload_completed
-   && FLOAT_MODE_P (GET_MODE (operands[0]))"
+   && X87_FLOAT_MODE_P (GET_MODE (operands[0]))"
   [(const_int 0)]
 {
   operands[4] = ix86_force_to_memory (GET_MODE (operands[1]), operands[1]);
           [(match_operand 1 "register_operand" "")
            (float (match_operand:X87MODEI12 2 "register_operand" ""))]))]
   "TARGET_80387 && reload_completed
-   && FLOAT_MODE_P (GET_MODE (operands[0]))"
+   && X87_FLOAT_MODE_P (GET_MODE (operands[0]))"
   [(const_int 0)]
 {
   operands[4] = ix86_force_to_memory (GET_MODE (operands[2]), operands[2]);