Commit ca285e07 by Jan Hubicka Committed by Richard Henderson

Jan Hubicka <hubicka@freesoft.cz>

        * i386.md (truncatexfdf splitters): Do not use subreg.
        (fop XFmode patterns): Fix mode in operand testing.

From-SVN: r29742
parent 39cc9917
Thu Sep 30 18:18:39 1999 Jan Hubicka <hubicka@freesoft.cz>
* i386.md (truncatexfdf splitters): Do not use subreg.
(fop XFmode patterns): Fix mode in operand testing.
Thu Sep 30 18:04:13 1999 Richard Henderson <rth@cygnus.com>
* jump.c (jump_optimize_1): Amend last change to test only the
......
......@@ -2684,8 +2684,8 @@
(float_truncate:DF
(match_operand:XF 1 "register_operand" "")))
(clobber (match_operand:DF 2 "memory_operand" ""))]
"TARGET_80387 && reload_completed"
[(set (match_dup 0) (subreg:DF (match_dup 1) 0))]
"TARGET_80387"
[(set (match_dup 0) (float_truncate:DF (match_dup 1)))]
"")
(define_split
......@@ -2694,10 +2694,11 @@
(match_operand:XF 1 "register_operand" "")))
(clobber (match_operand:DF 2 "memory_operand" ""))]
"TARGET_80387 && reload_completed"
[(set (match_dup 2) (subreg:DF (match_dup 1) 0))
[(set (match_dup 2) (float_truncate:DF (match_dup 1)))
(set (match_dup 0) (match_dup 2))]
"")
;; %%% Break up all these bad boys.
;; Signed conversion to DImode.
......@@ -6957,9 +6958,9 @@
"TARGET_80387"
"* return output_387_binary_op (insn, operands);"
[(set (attr "type")
(cond [(match_operand:DF 3 "mult_operator" "")
(cond [(match_operand:XF 3 "mult_operator" "")
(const_string "fmul")
(match_operand:DF 3 "div_operator" "")
(match_operand:XF 3 "div_operator" "")
(const_string "fdiv")
]
(const_string "fop")))])
......@@ -6972,9 +6973,9 @@
"TARGET_80387 && TARGET_USE_FIOP"
"* return which_alternative ? \"#\" : output_387_binary_op (insn, operands);"
[(set (attr "type")
(cond [(match_operand:DF 3 "mult_operator" "")
(cond [(match_operand:XF 3 "mult_operator" "")
(const_string "fmul")
(match_operand:DF 3 "div_operator" "")
(match_operand:XF 3 "div_operator" "")
(const_string "fdiv")
]
(const_string "fop")))
......@@ -6989,9 +6990,9 @@
"TARGET_80387 && TARGET_USE_FIOP"
"* return which_alternative ? \"#\" : output_387_binary_op (insn, operands);"
[(set (attr "type")
(cond [(match_operand:DF 3 "mult_operator" "")
(cond [(match_operand:XF 3 "mult_operator" "")
(const_string "fmul")
(match_operand:DF 3 "div_operator" "")
(match_operand:XF 3 "div_operator" "")
(const_string "fdiv")
]
(const_string "fop")))
......@@ -7006,9 +7007,9 @@
"TARGET_80387"
"* return output_387_binary_op (insn, operands);"
[(set (attr "type")
(cond [(match_operand:DF 3 "mult_operator" "")
(cond [(match_operand:XF 3 "mult_operator" "")
(const_string "fmul")
(match_operand:DF 3 "div_operator" "")
(match_operand:XF 3 "div_operator" "")
(const_string "fdiv")
]
(const_string "fop")))])
......@@ -7022,9 +7023,9 @@
"TARGET_80387"
"* return output_387_binary_op (insn, operands);"
[(set (attr "type")
(cond [(match_operand:DF 3 "mult_operator" "")
(cond [(match_operand:XF 3 "mult_operator" "")
(const_string "fmul")
(match_operand:DF 3 "div_operator" "")
(match_operand:XF 3 "div_operator" "")
(const_string "fdiv")
]
(const_string "fop")))])
......@@ -7037,9 +7038,9 @@
"TARGET_80387"
"* return output_387_binary_op (insn, operands);"
[(set (attr "type")
(cond [(match_operand:DF 3 "mult_operator" "")
(cond [(match_operand:XF 3 "mult_operator" "")
(const_string "fmul")
(match_operand:DF 3 "div_operator" "")
(match_operand:XF 3 "div_operator" "")
(const_string "fdiv")
]
(const_string "fop")))])
......@@ -7053,9 +7054,9 @@
"TARGET_80387"
"* return output_387_binary_op (insn, operands);"
[(set (attr "type")
(cond [(match_operand:DF 3 "mult_operator" "")
(cond [(match_operand:XF 3 "mult_operator" "")
(const_string "fmul")
(match_operand:DF 3 "div_operator" "")
(match_operand:XF 3 "div_operator" "")
(const_string "fdiv")
]
(const_string "fop")))])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment