PPC64, fix documentation for __builtin_crypto_vpmsum* builtin functions.
authorCarl Love <carll@us.ibm.com>
Wed, 26 Feb 2020 23:21:20 +0000 (17:21 -0600)
committerCarl Love <carll@us.ibm.com>
Wed, 26 Feb 2020 23:21:20 +0000 (17:21 -0600)
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.

Signed-off-by: Carl Love <carll@us.ibm.com>
gcc/ChangeLog
gcc/doc/extend.texi

index 4b95966f17117f3019e114e7809fbb538d9003d1..48f7d5d563c7f92f0b5ce799430f377d3f89b254 100644 (file)
@@ -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 2.07): 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  Richard Biener  <rguenther@suse.de>
 
        * tree-vect-slp.c (vect_print_slp_tree): Also dump ref count
index 007a9a390d77323a53a187f763eb9d2e0f9a3e56..11b79a5852c1f8b12786d8116598d5e25f75656e 100644 (file)
@@ -20643,13 +20643,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,