]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
PPC64, fix documentation for __builtin_crypto_vpmsum* builtin functions.
authorCarl Love <carll@us.ibm.com>
Thu, 27 Feb 2020 00:22:46 +0000 (18:22 -0600)
committerCarl Love <carll@us.ibm.com>
Thu, 27 Feb 2020 00:22:46 +0000 (18:22 -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.

gcc/ChangeLog
gcc/doc/extend.texi

index c4124fab7476463bbd2830746b9e4c1a307d16f4..d09456d27fa083ac5743d7fc51f61c08ef1dfeba 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
+       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
index 5e5e8aa87e5805cea0cd2d3e5f83a02a88bb4c69..f5becf988d2ef9c82ab0dff0d468d2456c3466c0 100644 (file)
@@ -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,