Commit fab072b5 by Uros Bizjak Committed by Uros Bizjak

i386.md (*fix_trunc{d,s,h}i_1): Rename to *fix_trunc{d,s,h}i_i387.

	* config/i386/i386.md (*fix_trunc{d,s,h}i_1):
	Rename to *fix_trunc{d,s,h}i_i387.
	(fix_trunc{d,s}fdi2): Reorder tests.

From-SVN: r92586
parent ac3bfd86
2004-12-24 Uros Bizjak <uros@kss-loka.si>
* config/i386/i386.md (*fix_trunc{d,s,h}i_1):
Rename to *fix_trunc{d,s,h}i_i387.
(fix_trunc{d,s}fdi2): Reorder tests.
2004-12-24 Daniel Berlin <dberlin@dberlin.org> 2004-12-24 Daniel Berlin <dberlin@dberlin.org>
Fix PR debug/14638 Fix PR debug/14638
......
...@@ -3997,7 +3997,7 @@ ...@@ -3997,7 +3997,7 @@
[(parallel [(set (match_operand:DI 0 "nonimmediate_operand" "") [(parallel [(set (match_operand:DI 0 "nonimmediate_operand" "")
(fix:DI (match_operand:DF 1 "register_operand" ""))) (fix:DI (match_operand:DF 1 "register_operand" "")))
(clobber (reg:CC FLAGS_REG))])] (clobber (reg:CC FLAGS_REG))])]
"TARGET_80387 || (TARGET_SSE2 && TARGET_64BIT)" "TARGET_80387 || (TARGET_64BIT && TARGET_SSE2)"
{ {
if (TARGET_64BIT && TARGET_SSE2) if (TARGET_64BIT && TARGET_SSE2)
{ {
...@@ -4013,9 +4013,9 @@ ...@@ -4013,9 +4013,9 @@
[(parallel [(set (match_operand:DI 0 "nonimmediate_operand" "") [(parallel [(set (match_operand:DI 0 "nonimmediate_operand" "")
(fix:DI (match_operand:SF 1 "register_operand" ""))) (fix:DI (match_operand:SF 1 "register_operand" "")))
(clobber (reg:CC FLAGS_REG))])] (clobber (reg:CC FLAGS_REG))])]
"TARGET_80387 || (TARGET_SSE && TARGET_64BIT)" "TARGET_80387 || (TARGET_64BIT && TARGET_SSE)"
{ {
if (TARGET_SSE && TARGET_64BIT) if (TARGET_64BIT && TARGET_SSE)
{ {
rtx out = REG_P (operands[0]) ? operands[0] : gen_reg_rtx (DImode); rtx out = REG_P (operands[0]) ? operands[0] : gen_reg_rtx (DImode);
emit_insn (gen_fix_truncsfdi_sse (out, operands[1])); emit_insn (gen_fix_truncsfdi_sse (out, operands[1]));
...@@ -4027,7 +4027,7 @@ ...@@ -4027,7 +4027,7 @@
;; See the comments in i386.h near OPTIMIZE_MODE_SWITCHING for the description ;; See the comments in i386.h near OPTIMIZE_MODE_SWITCHING for the description
;; of the machinery. ;; of the machinery.
(define_insn_and_split "*fix_truncdi_1" (define_insn_and_split "*fix_truncdi_i387"
[(set (match_operand:DI 0 "nonimmediate_operand" "=m,?r") [(set (match_operand:DI 0 "nonimmediate_operand" "=m,?r")
(fix:DI (match_operand 1 "register_operand" "f,f"))) (fix:DI (match_operand 1 "register_operand" "f,f")))
(clobber (reg:CC FLAGS_REG))] (clobber (reg:CC FLAGS_REG))]
...@@ -4195,7 +4195,7 @@ ...@@ -4195,7 +4195,7 @@
;; See the comments in i386.h near OPTIMIZE_MODE_SWITCHING for the description ;; See the comments in i386.h near OPTIMIZE_MODE_SWITCHING for the description
;; of the machinery. ;; of the machinery.
(define_insn_and_split "*fix_truncsi_1" (define_insn_and_split "*fix_truncsi_i387"
[(set (match_operand:SI 0 "nonimmediate_operand" "=m,?r") [(set (match_operand:SI 0 "nonimmediate_operand" "=m,?r")
(fix:SI (match_operand 1 "register_operand" "f,f"))) (fix:SI (match_operand 1 "register_operand" "f,f")))
(clobber (reg:CC FLAGS_REG))] (clobber (reg:CC FLAGS_REG))]
...@@ -4339,7 +4339,7 @@ ...@@ -4339,7 +4339,7 @@
;; See the comments in i386.h near OPTIMIZE_MODE_SWITCHING for the description ;; See the comments in i386.h near OPTIMIZE_MODE_SWITCHING for the description
;; of the machinery. ;; of the machinery.
(define_insn_and_split "*fix_trunchi_1" (define_insn_and_split "*fix_trunchi_i387"
[(set (match_operand:HI 0 "nonimmediate_operand" "=m,?r") [(set (match_operand:HI 0 "nonimmediate_operand" "=m,?r")
(fix:HI (match_operand 1 "register_operand" "f,f"))) (fix:HI (match_operand 1 "register_operand" "f,f")))
(clobber (reg:CC FLAGS_REG))] (clobber (reg:CC FLAGS_REG))]
......
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