This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] backport r268834 from mainline to gcc-7-branch


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]