From 15fc2e04a592f8bfcc3eafead71d0313566d8372 Mon Sep 17 00:00:00 2001 From: Carl Love Date: Wed, 26 Feb 2020 17:21:20 -0600 Subject: [PATCH] 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 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 --- gcc/ChangeLog | 12 ++++++++++++ gcc/doc/extend.texi | 6 +++--- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4b95966..48f7d5d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,15 @@ +2020-02-26 Carl Love + + 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 * tree-vect-slp.c (vect_print_slp_tree): Also dump ref count diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 007a9a3..11b79a5 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -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, -- 2.7.4