From: Kaushik Phatak Date: Fri, 16 Apr 2010 16:39:45 +0000 (+0000) Subject: h8300.md (inverted load with HImode dest): Add support for H8300SX. X-Git-Tag: upstream/12.2.0~93682 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=607440898495d8998d9e0bea8484e57bb5ef1064;p=platform%2Fupstream%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3060efd..c97a549 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -7,6 +7,9 @@ 2010-04-12 Kaushik Phatak + * 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. diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md index 5efe2cb..c35f2bb 100644 --- a/gcc/config/h8300/h8300.md +++ b/gcc/config/h8300/h8300.md @@ -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")])