This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] backport r268834 from mainline to gcc-7-branch
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: luoxhu at linux dot vnet dot ibm dot com
- Cc: gcc-patches at gcc dot gnu dot org, wschmidt at linux dot ibm dot com
- Date: Wed, 6 Mar 2019 03:05:23 -0600
- Subject: Re: [PATCH] backport r268834 from mainline to gcc-7-branch
- References: <1551858594-14836-1-git-send-email-luoxhu@linux.vnet.ibm.com>
On Wed, Mar 06, 2019 at 01:49:54AM -0600, luoxhu@linux.vnet.ibm.com wrote:
> From: Xiong Hu Luo <luoxhu@linux.vnet.ibm.com>
>
> Backport r268834 of "Add support for the vec_sbox_be, vec_cipher_be etc."
> from mainline to gcc-8-branch.
>
> Regression-tested on Linux POWER8 LE. Backport patch for gcc-8-branch
> already got approved and commited. OK for gcc-7-branch?
Okay. Thanks!
Segher
> gcc/ChangeLog:
> 2019-03-05 Xiong Hu Luo <luoxhu@linux.ibm.com>
>
> Backport of r268834 from mainline to gcc-7-branch.
> 2019-02-13 Xiong Hu Luo <luoxhu@linux.vnet.ibm.com>
>
> * config/rs6000/altivec.h (vec_sbox_be, vec_cipher_be,
> vec_cipherlast_be, vec_ncipher_be, vec_ncipherlast_be): New #defines.
> * config/rs6000/crypto.md (CR_vqdi): New define_mode_iterator.
> (crypto_vsbox_<mode>, crypto_<CR_insn>_<mode>): New define_insns.
> * config/rs6000/rs6000-builtin.def (VSBOX_BE): New BU_CRYPTO_1.
> (VCIPHER_BE, VCIPHERLAST_BE, VNCIPHER_BE, VNCIPHERLAST_BE):
> New BU_CRYPTO_2.
> * config/rs6000/rs6000.c (builtin_function_type)
> <CRYPTO_BUILTIN_VSBOX_BE, CRYPTO_BUILTIN_VCIPHER_BE,
> CRYPTO_BUILTIN_VCIPHERLAST_BE, CRYPTO_BUILTIN_VNCIPHER_BE,
> CRYPTO_BUILTIN_VNCIPHERLAST_BE>: New switch options.
> * doc/extend.texi (vec_sbox_be, vec_cipher_be, vec_cipherlast_be,
> vec_ncipher_be, vec_ncipherlast_be): New builtin functions.
>
> gcc/testsuite/ChangeLog:
> 2019-03-05 Xiong Hu Luo <luoxhu@linux.ibm.com>
>
> Backport of r268834 from mainline to gcc-7-branch.
> 2019-01-23 Xiong Hu Luo <luoxhu@linux.vnet.ibm.com>
>
> * gcc.target/powerpc/crypto-builtin-1.c
> (crypto1_be, crypto2_be, crypto3_be, crypto4_be, crypto5_be):
> New testcases.