This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH,RS6000] PR79963: Correct which condition code bit represents result of vec_any_eq built-in function
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: Kelvin Nilsen <kdnilsen at linux dot vnet dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 14 Mar 2017 18:35:57 -0500
- Subject: Re: [PATCH,RS6000] PR79963: Correct which condition code bit represents result of vec_any_eq built-in function
- Authentication-results: sourceware.org; auth=none
- References: <6d9f9f7c-710e-e23b-48d3-203578caebd6@linux.vnet.ibm.com>
Hi Kelvin,
On Tue, Mar 14, 2017 at 03:06:13PM -0600, Kelvin Nilsen wrote:
> 2017-03-14 Kelvin Nilsen <kelvin@gcc.gnu.org>
>
> PR target/79963
> * config/rs6000/altivec.h (vec_all_ne): Under __cplusplus++ and
It is spelled __cplusplus__.
> __POWER9_VECTOR__ #ifdef control, change template definition to
> use Power9-specific built-in function.
> (vec_any_eq): Likewise.
> * config/rs6000/vector.md (vector_ae_v2di_p): Change the flag used
> to control outcomes from this test.
> (vector_ae_<mode>p): For VEC_F modes, likewise.
Could you please add a testcase? Otherwise it looks good.
Thanks,
Segher