rx.md (bitset_in_memory): Use rx_restricted_mem_operand.
authorNick Clifton <nickc@redhat.com>
Tue, 17 May 2011 08:43:03 +0000 (08:43 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Tue, 17 May 2011 08:43:03 +0000 (08:43 +0000)
* config/rx/rx.md (bitset_in_memory): Use rx_restricted_mem_operand.
(bitinvert_in_memory): Likewise.
(bitclr_in_memory): Likewise.

From-SVN: r173822

gcc/ChangeLog
gcc/config/rx/rx.md

index 637241fbf56533e7e6881671d5177b4addc06404..9c490d28e44f856d85984d92a17ef0eb84657800 100644 (file)
@@ -2,6 +2,9 @@
 
        * config/rx/rx.md: Add peephole to remove redundant extensions
        after loads.
+       (bitset_in_memory): Use rx_restricted_mem_operand.
+       (bitinvert_in_memory): Likewise.
+       (bitclr_in_memory): Likewise.
 
 2011-05-17  Kazuhio Inaoka  <kazuhiro.inaoka.ud@renesas.com>
            Nick Clifton  <nickc@redhat.com>
index 227fe310059a5ff550a5976a3a78d97c244c6df2..070f248bbdf44b7e46a788a68f6d9ccc0f41c9c9 100644 (file)
 )
 
 (define_insn "*bitset_in_memory"
-  [(set (match_operand:QI                    0 "memory_operand" "+Q")
+  [(set (match_operand:QI                    0 "rx_restricted_mem_operand" "+Q")
        (ior:QI (ashift:QI (const_int 1)
                           (match_operand:QI 1 "nonmemory_operand" "ri"))
                (match_dup 0)))]
 )
 
 (define_insn "*bitinvert_in_memory"
-  [(set (match_operand:QI 0 "memory_operand" "+Q")
+  [(set (match_operand:QI 0 "rx_restricted_mem_operand" "+Q")
        (xor:QI (ashift:QI (const_int 1)
                           (match_operand:QI 1 "nonmemory_operand" "ri"))
                (match_dup 0)))]
 )
 
 (define_insn "*bitclr_in_memory"
-  [(set (match_operand:QI 0 "memory_operand" "+Q")
+  [(set (match_operand:QI 0 "rx_restricted_mem_operand" "+Q")
        (and:QI (not:QI
                  (ashift:QI
                    (const_int 1)