Message ID | 87li10ilwu.fsf@talisman.default |
---|---|
State | New |
Headers | show |
> This patch just changes a QImode (const_int 255) to (const_int -1), > since the canonical form is to sign-extend. As things stand the pattern > trips a new assert added on the wide-int branch. Ok. Thanks!
Index: gcc/config/rl78/rl78-expand.md =================================================================== --- gcc/config/rl78/rl78-expand.md 2013-10-15 19:24:15.821884272 +0100 +++ gcc/config/rl78/rl78-expand.md 2013-11-07 09:41:50.754226143 +0000 @@ -177,7 +177,7 @@ (define_expand "xorqi3" (define_expand "one_cmplqi2" [(set (match_operand:QI 0 "nonimmediate_operand") (xor:QI (match_operand:QI 1 "general_operand") - (const_int 255))) + (const_int -1))) ] "" "if (rl78_force_nonfar_2 (operands, gen_one_cmplqi2))