diff mbox

[rs6000,committed] Fix PR79040 (built-in typo)

Message ID 1b487e5d-a5b2-99be-2d99-37f585f01da8@linux.vnet.ibm.com
State New
Headers show

Commit Message

Bill Schmidt Jan. 18, 2017, 10:33 p.m. UTC
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.
diff mbox

Patch

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