From: law Date: Fri, 16 Apr 2010 16:39:45 +0000 (+0000) Subject: * config/h8300/h8300.md (inverted load with HImode dest): Add X-Git-Tag: upstream/4.9.2~30075 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5172041128eebb7319c95796518c63f1c41793c7;p=platform%2Fupstream%2Flinaro-gcc.git * config/h8300/h8300.md (inverted load with HImode dest): Add support for H8300SX. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158436 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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")])