OSDN Git Service

* pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Jul 1999 23:19:44 +0000 (23:19 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Jul 1999 23:19:44 +0000 (23:19 +0000)
        pair.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28328 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/pa/pa.md

index cd22387..d469849 100644 (file)
@@ -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.
index b2c4c8c..7fdbab0 100644 (file)
 \f
 ;;- 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")))]
   [(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")))]