aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>2017-01-18 22:29:22 +0000
committerWilliam Schmidt <wschmidt@gcc.gnu.org>2017-01-18 22:29:22 +0000
commit1c8bf56078f9fd4124e6b20fefcef1efe2cd945a (patch)
tree9d625a8a821273152175260c9a121a7545b19110
parent7bd5dad24907ba68a81365932d442d40460e4ed0 (diff)
downloadgcc-1c8bf56078f9fd4124e6b20fefcef1efe2cd945a.zip
gcc-1c8bf56078f9fd4124e6b20fefcef1efe2cd945a.tar.gz
gcc-1c8bf56078f9fd4124e6b20fefcef1efe2cd945a.tar.bz2
re PR target/79040 (vec_cntlz redefined)
2017-01-18 Bill Schmidt <wschmidt@linux.vnet.ibm.com> PR target/79040 * config/rs6000/altivec.h: Fix typo of vec_cntlz to vec_cnttz. From-SVN: r244602
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/rs6000/altivec.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 77732e9..ac7c24e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2017-01-18 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
+
+ PR target/79040
+ * config/rs6000/altivec.h: Fix typo of vec_cntlz to vec_cnttz.
+
2017-01-18 Aaron Sawdey <acsawdey@linux.vnet.ibm.com>
* 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 ac64757..c5879234 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