Re: Fix xstormy16 handling of HImode predicates

2015-04-27 Thread Nicholas Clifton
Hi Richard, gcc/ * config/stormy16/predicates.md (xs_hi_general_operand): Delete. (xs_hi_nonmemory_operand): Remove error. * config/stormy16/stormy16.md (movhi, movhi_internal): Use general_operand rather than xs_hi_general_operand. Approved - please apply. Che

Fix xstormy16 handling of HImode predicates

2015-04-27 Thread Richard Sandiford
xstormy16 has: (define_predicate "xs_hi_general_operand" (match_code "const_int,reg,subreg,mem,symbol_ref,label_ref,const") { if ((GET_CODE (op) == CONST_INT) && ((INTVAL (op) >= 32768) || (INTVAL (op) < -32768))) { error ("constant halfword load operand out of range");