[PATCH,RS6000] PR79963: Correct which condition code bit represents result of vec_any_eq built-in function

Segher Boessenkool segher@kernel.crashing.org
Tue Mar 14 23:36:00 GMT 2017


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



More information about the Gcc-patches mailing list