Commit 4e7f50e5 by Jakub Jelinek Committed by Jakub Jelinek

i386.md (SWI32): New mode iterator.

	* config/i386/i386.md (SWI32): New mode iterator.
	(jcc_fused_1, jcc_fused_2, jcc_fused_3, jcc_fused_4): Use it instead
	of SWI.

From-SVN: r140189
parent 655b3d43
2008-09-10 Jakub Jelinek <jakub@redhat.com>
* config/i386/i386.md (SWI32): New mode iterator.
(jcc_fused_1, jcc_fused_2, jcc_fused_3, jcc_fused_4): Use it instead
of SWI.
2008-09-09 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/37435
......
......@@ -652,6 +652,9 @@
;; All single word integer modes.
(define_mode_iterator SWI [QI HI SI (DI "TARGET_64BIT")])
;; Single word integer modes up to SImode.
(define_mode_iterator SWI32 [QI HI SI])
;; Instruction suffix for integer modes.
(define_mode_attr imodesuffix [(QI "b") (HI "w") (SI "l") (DI "q")])
......@@ -14271,8 +14274,8 @@
(define_insn "*jcc_fused_1"
[(set (pc)
(if_then_else (match_operator 1 "comparison_operator"
[(match_operand:SWI 2 "register_operand" "<r>")
(match_operand:SWI 3 "const0_operand" "")])
[(match_operand:SWI32 2 "register_operand" "<r>")
(match_operand:SWI32 3 "const0_operand" "")])
(label_ref (match_operand 0 "" ""))
(pc)))]
"TARGET_FUSE_CMP_AND_BRANCH && !TARGET_64BIT"
......@@ -14286,8 +14289,8 @@
(define_insn "*jcc_fused_2"
[(set (pc)
(if_then_else (match_operator 1 "comparison_operator"
[(match_operand:SWI 2 "register_operand" "<r>")
(match_operand:SWI 3 "const0_operand" "")])
[(match_operand:SWI32 2 "register_operand" "<r>")
(match_operand:SWI32 3 "const0_operand" "")])
(pc)
(label_ref (match_operand 0 "" ""))))]
"TARGET_FUSE_CMP_AND_BRANCH && !TARGET_64BIT"
......@@ -14302,8 +14305,8 @@
[(set (pc)
(if_then_else
(match_operator 1 "ix86_comparison_uns_operator"
[(match_operand:SWI 2 "nonimmediate_operand" "<r>,m,<r>")
(match_operand:SWI 3 "<general_operand>" "<r><i>,<r>,m")])
[(match_operand:SWI32 2 "nonimmediate_operand" "<r>,m,<r>")
(match_operand:SWI32 3 "<general_operand>" "<r><i>,<r>,m")])
(label_ref (match_operand 0 "" ""))
(pc)))]
"TARGET_FUSE_CMP_AND_BRANCH && !TARGET_64BIT
......@@ -14320,8 +14323,8 @@
[(set (pc)
(if_then_else
(match_operator 1 "ix86_comparison_uns_operator"
[(match_operand:SWI 2 "nonimmediate_operand" "<r>,m,<r>")
(match_operand:SWI 3 "<general_operand>" "<r><i>,<r>,m")])
[(match_operand:SWI32 2 "nonimmediate_operand" "<r>,m,<r>")
(match_operand:SWI32 3 "<general_operand>" "<r><i>,<r>,m")])
(pc)
(label_ref (match_operand 0 "" ""))))]
"TARGET_FUSE_CMP_AND_BRANCH && !TARGET_64BIT
......
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