Hi, A previous patch mistakenly added a #define of vec_cntlz which should have been a #define of vec_cnttz. This patch fixes that.
Bootstrapped and tested on powerpc64le-unknown-linux-gnu with no regressions, committed as obvious. Thanks, Bill 2017-01-18 Bill Schmidt <wschm...@linux.vnet.ibm.com> PR target/79040 * config/rs6000/altivec.h: Fix typo of vec_cntlz to vec_cnttz. Index: gcc/config/rs6000/altivec.h =================================================================== --- gcc/config/rs6000/altivec.h (revision 244585) +++ gcc/config/rs6000/altivec.h (working copy) @@ -393,7 +393,7 @@ #ifdef _ARCH_PWR9 /* Vector additions added in ISA 3.0. */ #define vec_vctz __builtin_vec_vctz -#define vec_cntlz __builtin_vec_vctz +#define vec_cnttz __builtin_vec_vctz #define vec_vctzb __builtin_vec_vctzb #define vec_vctzd __builtin_vec_vctzd #define vec_vctzh __builtin_vec_vctzh