[gcc/devel/omp/gcc-9] PPC64, fix documentation for __builtin_crypto_vpmsum* builtin functions.

Tobias Burnus burnus@gcc.gnu.org
Thu Mar 5 14:55:00 GMT 2020


https://gcc.gnu.org/g:526fadb010978c63dd06c0a85da3c4e1b5b1c63d

commit 526fadb010978c63dd06c0a85da3c4e1b5b1c63d
Author: Carl Love <carll@us.ibm.com>
Date:   Wed Feb 26 18:22:46 2020 -0600

    PPC64, fix documentation for __builtin_crypto_vpmsum* builtin functions.
    
    PR target/91276 - Doc typos in __builtin_crypto_vpmsum*
    
    gcc/ChangeLog:
    
    2020-02-26  Carl Love  <cel@us.ibm.com>
    
    	PR target/91276
    	* doc/extend.texi (PowerPC AltiVec Built-in Functions available on
    	ISA 3.0): The builtin-function name __builtin_crypto_vpmsumb is only
    	for the vector unsigned short arguments.  It is also listed as the
    	name of the built-in for arguments vector unsigned short,
    	vector unsigned int and vector unsigned long long built-ins.  The
    	name of the builtins for these arguments should be:
    	__builtin_crypto_vpmsumh, __builtin_crypto_vpmsumw and
    	__builtin_crypto_vpmsumd respectively.

Diff:
---
 gcc/ChangeLog       | 12 ++++++++++++
 gcc/doc/extend.texi |  6 +++---
 2 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c4124fa..d09456d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,15 @@
+2020-02-26  Carl Love  <cel@us.ibm.com>
+
+	PR target/91276
+	* doc/extend.texi (PowerPC AltiVec Built-in Functions  Available on ISA
+	3.0): The builtin-function name __builtin_crypto_vpmsumb is only for
+	the vector unsigned short arguments.  It is also listed as the name of
+	the built-in for arguments vector unsigned short,
+	vector unsigned int and vector unsigned long long built-ins.  The
+	name of the builtins for these arguments should be:
+	__builtin_crypto_vpmsumh, __builtin_crypto_vpmsumw and
+	__builtin_crypto_vpmsumd respectively.
+
 2020-02-26  Jason Merrill  <jason@redhat.com>
 
 	PR c++/92003
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 5e5e8aa..f5becf9 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -20324,13 +20324,13 @@ vector unsigned long long __builtin_crypto_vpermxor (vector unsigned long long,
 vector unsigned char __builtin_crypto_vpmsumb (vector unsigned char,
                                                vector unsigned char);
 
-vector unsigned short __builtin_crypto_vpmsumb (vector unsigned short,
+vector unsigned short __builtin_crypto_vpmsumh (vector unsigned short,
                                                 vector unsigned short);
 
-vector unsigned int __builtin_crypto_vpmsumb (vector unsigned int,
+vector unsigned int __builtin_crypto_vpmsumw (vector unsigned int,
                                               vector unsigned int);
 
-vector unsigned long long __builtin_crypto_vpmsumb (vector unsigned long long,
+vector unsigned long long __builtin_crypto_vpmsumd (vector unsigned long long,
                                                     vector unsigned long long);
 
 vector unsigned long long __builtin_crypto_vshasigmad (vector unsigned long long,



More information about the Gcc-cvs mailing list