* pa.md (negdi2): Turn into expander + anonymous pattern.
authorJeffrey A Law <law@cygnus.com>
Wed, 3 Nov 1999 12:45:21 +0000 (12:45 +0000)
committerJeff Law <law@gcc.gnu.org>
Wed, 3 Nov 1999 12:45:21 +0000 (05:45 -0700)
From-SVN: r30374

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

index adbae72..d3ff777 100644 (file)
@@ -4,6 +4,8 @@ Wed Nov  3 12:12:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
 
 Wed Nov  3 03:26:28 1999  Jeffrey A Law  (law@cygnus.com)
 
+       * pa.md (negdi2): Turn into expander + anonymous pattern.
+
        * reload.c (find_reloads): Fix typos in recent change.
 
        * dwarf2out.c: Do not include ctype.h.
index 5baf635..d753035 100644 (file)
   [(set_attr "type" "binary")
    (set_attr "length" "4")])
 
-(define_insn "negdi2"
+(define_expand "negdi2"
+  [(set (match_operand:DI 0 "register_operand" "")
+       (neg:DI (match_operand:DI 1 "register_operand" "")))]
+  ""
+  "")
+
+(define_insn ""
   [(set (match_operand:DI 0 "register_operand" "=r")
        (neg:DI (match_operand:DI 1 "register_operand" "r")))]
   ""