Re: [Xen-devel] [PATCH v8 49/50] x86emul: add a SHA test case to the harness

2019-06-21 Thread Andrew Cooper
On 21/06/2019 15:10, Jan Beulich wrote: On 21.06.19 at 15:51, wrote: >> On 15/03/2019 11:08, Jan Beulich wrote: >>> +/* >>> + * SHA256RNDS2 >>> + * >>> + * SRC1 = { C0, D0, G0, H0 } >>> + * SRC2 = { A0, B0, E0, F0 } >>> + * XMM0 = W' = { ?, ?, W

Re: [Xen-devel] [PATCH v8 49/50] x86emul: add a SHA test case to the harness

2019-06-21 Thread Jan Beulich
>>> On 21.06.19 at 15:51, wrote: > On 15/03/2019 11:08, Jan Beulich wrote: >> +/* >> + * SHA256RNDS2 >> + * >> + * SRC1 = { C0, D0, G0, H0 } >> + * SRC2 = { A0, B0, E0, F0 } >> + * XMM0 = W' = { ?, ?, WK1, WK0 } >> + * >> + * (NB that

Re: [Xen-devel] [PATCH v8 49/50] x86emul: add a SHA test case to the harness

2019-06-21 Thread Andrew Cooper
On 15/03/2019 11:08, Jan Beulich wrote: > +/* > + * SHA256RNDS2 > + * > + * SRC1 = { C0, D0, G0, H0 } > + * SRC2 = { A0, B0, E0, F0 } > + * XMM0 = W' = { ?, ?, WK1, WK0 } > + * > + * (NB that the notation again is not C-like, i.e. elem

[Xen-devel] [PATCH v8 49/50] x86emul: add a SHA test case to the harness

2019-03-15 Thread Jan Beulich
Also use this for AVX512VL VPRO{L,R}{,V}D as well as some further shifts testing. Signed-off-by: Jan Beulich --- v8: New. --- a/tools/tests/x86_emulator/Makefile +++ b/tools/tests/x86_emulator/Makefile @@ -20,8 +20,9 @@ SIMD := 3dnow sse sse2 sse4 avx avx2 xop FMA := fma4 fma SG := avx2-sg avx