[rs6000] Fix documentation for __builtin_crypto_vpmsum* builtin functions.

Message ID 69467776a63f0002d9d3d43f97592ace9e4a0df7.camel@us.ibm.com
State New
Headers show
Series
  • [rs6000] Fix documentation for __builtin_crypto_vpmsum* builtin functions.
Related show

Commit Message

Carl Love Feb. 24, 2020, 7:37 p.m.
GCC maintianers:

The following patch fixes three typos in the gcc documentation file for
the __builtin_crypto_vpmsum* builtin function.  The issue was reported
in

   Bug 91276 - Doc typos in __builtin_crypto_vpmsum*

Please let me know if the patch is OK for mainline.

Thanks. 

                        Carl Love
     
-------------------------------------------------------
PPC64, fix documentation for __builtin_crypto_vpmsum*
 builtin functions.

PR target/91276 - Doc typos in __builtin_crypto_vpmsum*

gcc/ChangeLog:

2020-02-24  Carl Love  <cel@us.ibm.com>

	PR target/91276
	* doc/extend.texi (PowerPC AltiVec/VSX  __builtin_crypto_vpmsum
	Built-in Functions): Fix builtin name for function taking vector
	unsigned short, vector unsigned int and vector unsigned long long
	arguments.
---
 gcc/doc/extend.texi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

-- 
2.17.1

Comments

Segher Boessenkool Feb. 25, 2020, 9:56 p.m. | #1
Hi Carl,

On Mon, Feb 24, 2020 at 11:37:11AM -0800, Carl Love wrote:
> 	PR target/91276

> 	* doc/extend.texi (PowerPC AltiVec/VSX  __builtin_crypto_vpmsum

> 	Built-in Functions): Fix builtin name for function taking vector

> 	unsigned short, vector unsigned int and vector unsigned long long

> 	arguments.


	* doc/extend.texi (PowerPC AltiVec Built-in Functions Available on
	ISA 3.0): Something that mentions the old wrong name and the new
	corrected names.

Okay for trunk with that, and backports too.  Thanks!


Segher

Patch

diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index ec99c38a6..a941cd5a1 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -20628,13 +20628,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,