Commit 60744089 by Kaushik Phatak Committed by Jeff Law

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
parent 58ad2aef
...@@ -7,6 +7,9 @@ ...@@ -7,6 +7,9 @@
2010-04-12 Kaushik Phatak <kaushik.phatak@kpitcummins.com> 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 * config/h8300/predicate.md (bit_operand): Allow immediate values that
satisfy 'U' constraint. satisfy 'U' constraint.
......
...@@ -3145,7 +3145,7 @@ ...@@ -3145,7 +3145,7 @@
(match_operand:HI 3 "const_int_operand" "n")) (match_operand:HI 3 "const_int_operand" "n"))
(const_int 1) (const_int 1)
(match_operand:HI 2 "const_int_operand" "n")))] (match_operand:HI 2 "const_int_operand" "n")))]
"TARGET_H8300 "(TARGET_H8300 || TARGET_H8300SX)
&& (1 << INTVAL (operands[2])) == INTVAL (operands[3])" && (1 << INTVAL (operands[2])) == INTVAL (operands[3])"
"sub.w %0,%0\;bild %Z2,%Y1\;bst #0,%X0" "sub.w %0,%0\;bild %Z2,%Y1\;bst #0,%X0"
[(set_attr "length" "8")]) [(set_attr "length" "8")])
......
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