parent
54a8809004
commit
246b8cf5d7
|
@ -867,7 +867,7 @@
|
|||
(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")
|
||||
|
@ -914,7 +914,7 @@
|
|||
(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")
|
||||
|
@ -936,7 +936,7 @@
|
|||
[(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")
|
||||
|
@ -1016,7 +1016,7 @@
|
|||
(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")
|
||||
|
@ -1068,7 +1068,7 @@
|
|||
(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")
|
||||
|
@ -4238,7 +4238,7 @@
|
|||
[(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)
|
||||
|
@ -4266,7 +4266,7 @@
|
|||
(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)"
|
||||
|
@ -4280,7 +4280,7 @@
|
|||
(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)"
|
||||
|
@ -4319,7 +4319,7 @@
|
|||
(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)"
|
||||
|
@ -4354,7 +4354,7 @@
|
|||
(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")
|
||||
|
@ -4369,7 +4369,7 @@
|
|||
(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")
|
||||
|
@ -4411,7 +4411,7 @@
|
|||
(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")
|
||||
|
@ -4425,7 +4425,7 @@
|
|||
(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")
|
||||
|
@ -4687,7 +4687,7 @@
|
|||
(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]);
|
||||
|
@ -13731,7 +13731,7 @@
|
|||
(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]))"
|
||||
"#")
|
||||
|
@ -13776,7 +13776,7 @@
|
|||
(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]))"
|
||||
"#")
|
||||
|
@ -13830,7 +13830,7 @@
|
|||
(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]))"
|
||||
"#")
|
||||
|
@ -13846,7 +13846,7 @@
|
|||
(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]))"
|
||||
"#")
|
||||
|
@ -13862,7 +13862,7 @@
|
|||
(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]),
|
||||
|
@ -13887,7 +13887,7 @@
|
|||
(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
|
||||
|
@ -15874,7 +15874,7 @@
|
|||
[(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]);
|
||||
|
@ -15894,7 +15894,7 @@
|
|||
[(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]);
|
||||
|
|
Loading…
Reference in New Issue