* [PATCH, rs6000, committed] Fix PR79040 (built-in typo)
@ 2017-01-18 22:40 Bill Schmidt
0 siblings, 0 replies; only message in thread
From: Bill Schmidt @ 2017-01-18 22:40 UTC (permalink / raw)
To: GCC Patches; +Cc: Segher Boessenkool, David Edelsohn
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 <wschmidt@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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-01-18 22:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-18 22:40 [PATCH, rs6000, committed] Fix PR79040 (built-in typo) Bill Schmidt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).