Commit 39960f7a by Nick Clifton Committed by Nick Clifton

rx.md (bitset_in_memory): Use rx_restricted_mem_operand.

	* config/rx/rx.md (bitset_in_memory): Use rx_restricted_mem_operand.
	(bitinvert_in_memory): Likewise.
	(bitclr_in_memory): Likewise.

From-SVN: r173822
parent 4ffc4134
......@@ -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>
......
......@@ -1831,7 +1831,7 @@
)
(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)))]
......@@ -1852,7 +1852,7 @@
)
(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)))]
......@@ -1875,7 +1875,7 @@
)
(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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment