aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2018-02-07 10:48:13 -0800
committerH. Peter Anvin <hpa@linux.intel.com>2018-02-07 10:48:13 -0800
commit75b35503fa2f2c2da466284f39bbc13172a43015 (patch)
treeff6233ff33cd6db111df2f39e0e422efcdb2f140 /test
parent7514970ffe7da4abd5530505f31782d5cbb5b4b0 (diff)
downloadnasm-75b35503fa2f2c2da466284f39bbc13172a43015.tar.gz
nasm-75b35503fa2f2c2da466284f39bbc13172a43015.tar.xz
nasm-75b35503fa2f2c2da466284f39bbc13172a43015.zip
vaesenc.asm: add a few more test cases
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'test')
-rw-r--r--test/vaesenc.asm18
1 files changed, 17 insertions, 1 deletions
diff --git a/test/vaesenc.asm b/test/vaesenc.asm
index 5a629ab0..9edca705 100644
--- a/test/vaesenc.asm
+++ b/test/vaesenc.asm
@@ -1,6 +1,22 @@
-;; BR 3392454
+;; BR 3392454, 3392460
bits 64
aesenc xmm0,xmm4
vaesenc zmm0,zmm0,zmm4
vpclmullqlqdq zmm1,zmm1,zmm5
+ vpclmulqdq zmm0, zmm1, zmm2, 0
+ vaesenclast zmm0, zmm1, zmm2
+
+ bits 32
+ aesenc xmm0,xmm4
+ vaesenc zmm0,zmm0,zmm4
+ vpclmullqlqdq zmm1,zmm1,zmm5
+ vpclmulqdq zmm0, zmm1, zmm2, 0
+ vaesenclast zmm0, zmm1, zmm2
+
+ bits 16
+ aesenc xmm0,xmm4
+ vaesenc zmm0,zmm0,zmm4
+ vpclmullqlqdq zmm1,zmm1,zmm5
+ vpclmulqdq zmm0, zmm1, zmm2, 0
+ vaesenclast zmm0, zmm1, zmm2