This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [rl78] Use canonical const_int for one_cmplqi2
- From: DJ Delorie <dj at redhat dot com>
- To: Richard Sandiford <rdsandiford at googlemail dot com>
- Cc: gcc-patches at gcc dot gnu dot org, rdsandiford at googlemail dot com
- Date: Fri, 8 Nov 2013 14:38:57 -0500
- Subject: Re: [rl78] Use canonical const_int for one_cmplqi2
- Authentication-results: sourceware.org; auth=none
- References: <87li10ilwu dot fsf at talisman dot default>
> 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!