Commit 05279bcd by Maciej W. Rozycki Committed by Maciej W. Rozycki

* config/rs6000/rs6000.md: Move a splitter next to its insn.

From-SVN: r191162
parent aadb5b43
2012-09-10 Maciej W. Rozycki <macro@codesourcery.com>
* config/rs6000/rs6000.md: Move a splitter next to its insn.
2012-09-10 Oleg Endo <olegendo@gcc.gnu.org> 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
PR target/54089 PR target/54089
......
...@@ -957,6 +957,20 @@ ...@@ -957,6 +957,20 @@
#" #"
[(set_attr "type" "compare") [(set_attr "type" "compare")
(set_attr "length" "4,8")]) (set_attr "length" "4,8")])
(define_split
[(set (match_operand:CC 2 "cc_reg_not_micro_cr0_operand" "")
(compare:CC (sign_extend:SI (match_operand:HI 1 "gpc_reg_operand" ""))
(const_int 0)))
(set (match_operand:SI 0 "gpc_reg_operand" "")
(sign_extend:SI (match_dup 1)))]
"reload_completed"
[(set (match_dup 0)
(sign_extend:SI (match_dup 1)))
(set (match_dup 2)
(compare:CC (match_dup 0)
(const_int 0)))]
"")
;; IBM 405, 440, 464 and 476 half-word multiplication operations. ;; IBM 405, 440, 464 and 476 half-word multiplication operations.
...@@ -1489,20 +1503,6 @@ ...@@ -1489,20 +1503,6 @@
DONE; DONE;
}) })
(define_split
[(set (match_operand:CC 2 "cc_reg_not_micro_cr0_operand" "")
(compare:CC (sign_extend:SI (match_operand:HI 1 "gpc_reg_operand" ""))
(const_int 0)))
(set (match_operand:SI 0 "gpc_reg_operand" "")
(sign_extend:SI (match_dup 1)))]
"reload_completed"
[(set (match_dup 0)
(sign_extend:SI (match_dup 1)))
(set (match_dup 2)
(compare:CC (match_dup 0)
(const_int 0)))]
"")
;; Fixed-point arithmetic insns. ;; Fixed-point arithmetic insns.
(define_expand "add<mode>3" (define_expand "add<mode>3"
......
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