From 1c8bf56078f9fd4124e6b20fefcef1efe2cd945a Mon Sep 17 00:00:00 2001 From: Bill Schmidt Date: Wed, 18 Jan 2017 22:29:22 +0000 Subject: [PATCH] re PR target/79040 (vec_cntlz redefined) 2017-01-18 Bill Schmidt PR target/79040 * config/rs6000/altivec.h: Fix typo of vec_cntlz to vec_cnttz. From-SVN: r244602 --- gcc/ChangeLog | 5 +++++ gcc/config/rs6000/altivec.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 77732e9a7d0..ac7c24e5cbf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-01-18 Bill Schmidt + + PR target/79040 + * config/rs6000/altivec.h: Fix typo of vec_cntlz to vec_cnttz. + 2017-01-18 Aaron Sawdey * config/rs6000/rs6000-protos.h (expand_strn_compare): Add arg. * config/rs6000/rs6000.c (expand_strn_compare): Add ability to expand diff --git a/gcc/config/rs6000/altivec.h b/gcc/config/rs6000/altivec.h index ac647570d62..c5879234ff5 100644 --- a/gcc/config/rs6000/altivec.h +++ b/gcc/config/rs6000/altivec.h @@ -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 -- 2.30.2