Re: [rl78] Use canonical const_int for one_cmplqi2

2013-11-08 Thread DJ Delorie
> 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!

[rl78] Use canonical const_int for one_cmplqi2

2013-11-07 Thread Richard Sandiford
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. Tested by building rl78-elf before and after the patch and making sure that there were no changes in assembl