OSDN Git Service

* mn10200.md (bset, bclr): Operand 0 is a read/write operand.
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Feb 1999 12:37:42 +0000 (12:37 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Feb 1999 12:37:42 +0000 (12:37 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25134 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/mn10200/mn10200.md

index f345707..3fdabcf 100644 (file)
@@ -17,6 +17,8 @@ Wed Feb 10 09:57:08 1999  Mark Mitchell  <mark@markmitchell.com>
 
 Wed Feb 10 10:09:41 1999  Jeffrey A Law  (law@cygnus.com)
 
+       * mn10200.md (bset, bclr): Operand 0 is a read/write operand.
+
        * reload1.c (reload_combine_note_store): Second argument is no
        longer unused/ignored.  Handle multi-register hard regs.
        (move2add_note_store): Simplify.
index 6ba1514..61b1a23 100644 (file)
 ;; These clears a constant set of bits in memory or in a register.
 ;; We must support register destinations to make reload happy.
 (define_insn ""
-  [(set (match_operand:QI 0 "general_operand" "R,d")
+  [(set (match_operand:QI 0 "general_operand" "+R,d")
        (subreg:QI
          (and:HI (subreg:HI (match_dup 0) 0)
                  (match_operand 1 "const_int_operand" "")) 0))
 
 ;; This clears a variable set of bits in memory or in a register.
 (define_insn ""
-  [(set (match_operand:QI 0 "general_operand" "R,d")
+  [(set (match_operand:QI 0 "general_operand" "+R,d")
        (subreg:QI
          (and:HI (subreg:HI (match_dup 0) 0)
                  (not:HI (match_operand:HI 1 "general_operand" "d,d"))) 0))
   [(set_attr "cc" "clobber")])
 
 (define_insn ""
-  [(set (match_operand:QI 0 "general_operand" "R,d")
+  [(set (match_operand:QI 0 "general_operand" "+R,d")
        (subreg:QI
          (and:HI (not:HI (match_operand:HI 1 "general_operand" "d,d"))
                  (subreg:HI (match_dup 0) 0)) 0))
 
 ;; These set bits in memory.
 (define_insn ""
-  [(set (match_operand:QI 0 "general_operand" "R,d")
+  [(set (match_operand:QI 0 "general_operand" "+R,d")
        (subreg:QI
          (ior:HI (subreg:HI (match_dup 0) 0)
                  (match_operand:HI 1 "general_operand" "d,d")) 0))]
   [(set_attr "cc" "clobber")])
 
 (define_insn ""
-  [(set (match_operand:QI 0 "general_operand" "R,d")
+  [(set (match_operand:QI 0 "general_operand" "+R,d")
        (subreg:QI
          (ior:HI (match_operand:HI 1 "general_operand" "d,d")
                  (subreg:HI (match_dup 0) 0)) 0))]
-  ""
+  "0"
   "@
   bset %1,%0
   or %1,%0"