This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH rs6000] Fix PR79951, ICE for unrecognizable insn with -mno-cmpb
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: Pat Haugen <pthaugen at linux dot vnet dot ibm dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, David Edelsohn <dje dot gcc at gmail dot com>
- Date: Thu, 16 Mar 2017 14:42:48 -0500
- Subject: Re: [PATCH rs6000] Fix PR79951, ICE for unrecognizable insn with -mno-cmpb
- Authentication-results: sourceware.org; auth=none
- References: <e8df1f35-f729-5536-29cb-c912b70da560@linux.vnet.ibm.com>
On Wed, Mar 15, 2017 at 06:09:57PM -0500, Pat Haugen wrote:
> The define_expand for copysign<mode>3 will call
> gen_copysign<mode>3_fcpsgn if either TARGET_CMPB || VECTOR_UNIT_VSX_P
> (<MODE>mode) are true, but gen_copysign<mode>3_fcpsgn is missing the
> check of VECTOR_UNIT_VSX_P (<MODE>mode) which results in an
> unrecognizable insn ICE. This is fixed with the following patch.
>
> Bootstrap/regtest on powerpc64le with no new regressions. Ok for trunk?
> Ok for backport to GCC 5/6 branches after testing?
Yes, okay for both. Thanks,
Segher