pa.md (adddi3, subdi3): Turn into a define_expand/define_insn pair.
* pa.md (adddi3, subdi3): Turn into a define_expand/define_insn pair. From-SVN: r28328
This commit is contained in:
parent
fc82f2f1dd
commit
9d142e3fd8
|
@ -1,5 +1,8 @@
|
|||
Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
|
||||
pair.
|
||||
|
||||
* pa.c (store_reg): Do not call add_high_const generator directly.
|
||||
(load_reg, set_reg_plus_d): Likewise.
|
||||
* pa.md (add_high_const): No longer a named pattern.
|
||||
|
|
|
@ -2924,7 +2924,14 @@
|
|||
|
||||
;;- arithmetic instructions
|
||||
|
||||
(define_insn "adddi3"
|
||||
(define_expand "adddi3"
|
||||
[(set (match_operand:DI 0 "register_operand" "")
|
||||
(plus:DI (match_operand:DI 1 "register_operand" "")
|
||||
(match_operand:DI 2 "arith11_operand" "")))]
|
||||
""
|
||||
"")
|
||||
|
||||
(define_insn ""
|
||||
[(set (match_operand:DI 0 "register_operand" "=r")
|
||||
(plus:DI (match_operand:DI 1 "register_operand" "%r")
|
||||
(match_operand:DI 2 "arith11_operand" "rI")))]
|
||||
|
@ -3049,7 +3056,14 @@
|
|||
[(set_attr "type" "binary")
|
||||
(set_attr "length" "8")])
|
||||
|
||||
(define_insn "subdi3"
|
||||
(define_expand "subdi3"
|
||||
[(set (match_operand:DI 0 "register_operand" "")
|
||||
(minus:DI (match_operand:DI 1 "register_operand" "")
|
||||
(match_operand:DI 2 "register_operand" "")))]
|
||||
""
|
||||
"")
|
||||
|
||||
(define_insn ""
|
||||
[(set (match_operand:DI 0 "register_operand" "=r")
|
||||
(minus:DI (match_operand:DI 1 "register_operand" "r")
|
||||
(match_operand:DI 2 "register_operand" "r")))]
|
||||
|
|
Loading…
Reference in New Issue