h8300.md (inverted load with HImode dest): Add support for H8300SX.

* config/h8300/h8300.md (inverted load with HImode dest): Add
	support for H8300SX.

From-SVN: r158436
This commit is contained in:
Kaushik Phatak 2010-04-16 16:39:45 +00:00 committed by Jeff Law
parent 58ad2aefa7
commit 6074408984
2 changed files with 4 additions and 1 deletions

View File

@ -7,6 +7,9 @@
2010-04-12 Kaushik Phatak <kaushik.phatak@kpitcummins.com>
* config/h8300/h8300.md (inverted load with HImode dest): Add
support for H8300SX.
* config/h8300/predicate.md (bit_operand): Allow immediate values that
satisfy 'U' constraint.

View File

@ -3145,7 +3145,7 @@
(match_operand:HI 3 "const_int_operand" "n"))
(const_int 1)
(match_operand:HI 2 "const_int_operand" "n")))]
"TARGET_H8300
"(TARGET_H8300 || TARGET_H8300SX)
&& (1 << INTVAL (operands[2])) == INTVAL (operands[3])"
"sub.w %0,%0\;bild %Z2,%Y1\;bst #0,%X0"
[(set_attr "length" "8")])