m32c.c (m32c_const_ok_for_constraint_p): Add ImB constraint for single-bit-clear...
authorDJ Delorie <dj@redhat.com>
Mon, 10 Nov 2008 19:37:20 +0000 (14:37 -0500)
committerDJ Delorie <dj@gcc.gnu.org>
Mon, 10 Nov 2008 19:37:20 +0000 (14:37 -0500)
commit600e668e9f98807565db6abe9486def12baf0a26
treefc77333c8328550fd03b66f40c0eb66ca526c51c
parent6f03c42c3365d61100c4ff0b4c96a3123dd7a248
m32c.c (m32c_const_ok_for_constraint_p): Add ImB constraint for single-bit-clear in lower byte of HI constant...

* config/m32c/m32c.c (m32c_const_ok_for_constraint_p): Add ImB
constraint for single-bit-clear in lower byte of HI constant, vs
Imb which just ignores the upper byte.
* config/m32c/predicates.md (m32c_1mask8_operand): Use it.
* config/m32c/bitops.md (andhi3_16, andhi3_24): Use it.
(iorhi3_16): Check for single bit set, not single bit clear.

From-SVN: r141747
gcc/ChangeLog
gcc/config/m32c/bitops.md
gcc/config/m32c/m32c.c
gcc/config/m32c/predicates.md