Re: [PATCH] rs6000: Add support for the vec_sbox_be, vec_cipher_be etc. builtins.

2019-02-19 Thread Segher Boessenkool
On Tue, Feb 12, 2019 at 02:00:38PM +0800, Xiong Hu Luo wrote: > On 2019/1/26 AM1:43, Segher Boessenkool wrote: > >On Wed, Jan 23, 2019 at 03:57:28AM -0600, luo...@linux.vnet.ibm.com wrote: > >>The 5 new builtins vec_sbox_be, vec_cipher_be, vec_cipherlast_be, > >>vec_ncipher_be > >>and

Re: [PATCH] rs6000: Add support for the vec_sbox_be, vec_cipher_be etc. builtins.

2019-02-11 Thread Xiong Hu Luo
Hi Segher, On 2019/1/26 AM1:43, Segher Boessenkool wrote: Hi! On Wed, Jan 23, 2019 at 03:57:28AM -0600, luo...@linux.vnet.ibm.com wrote: The 5 new builtins vec_sbox_be, vec_cipher_be, vec_cipherlast_be, vec_ncipher_be and vec_ncipherlast_be only support vector unsigned char type parameters.

Re: [PATCH] rs6000: Add support for the vec_sbox_be, vec_cipher_be etc. builtins.

2019-01-25 Thread Segher Boessenkool
Hi! On Wed, Jan 23, 2019 at 03:57:28AM -0600, luo...@linux.vnet.ibm.com wrote: > The 5 new builtins vec_sbox_be, vec_cipher_be, vec_cipherlast_be, > vec_ncipher_be > and vec_ncipherlast_be only support vector unsigned char type parameters. > Add new instruction crypto_vsbox_ and crypto__ to

[PATCH] rs6000: Add support for the vec_sbox_be, vec_cipher_be etc. builtins.

2019-01-23 Thread luoxhu
From: Xiong Hu Luo The 5 new builtins vec_sbox_be, vec_cipher_be, vec_cipherlast_be, vec_ncipher_be and vec_ncipherlast_be only support vector unsigned char type parameters. Add new instruction crypto_vsbox_ and crypto__ to handle them accordingly, where the new mode CR_vqdi can be expanded to