aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2018-02-07 13:51:54 -0800
committerH. Peter Anvin <hpa@linux.intel.com>2018-02-07 13:51:54 -0800
commit1b53750430f03e5953e6b133d6dbae237c3f880f (patch)
treee8934dae69b539c48d7f63a2276b8fbcc8bc9b25 /test
parent70c439b8de78595e9a465e3907aa282aa9c82984 (diff)
parentef7d18bfbb899fe8e44f4fae8d6a12e2742f69f5 (diff)
downloadnasm-1b53750430f03e5953e6b133d6dbae237c3f880f.tar.gz
nasm-1b53750430f03e5953e6b133d6dbae237c3f880f.tar.xz
nasm-1b53750430f03e5953e6b133d6dbae237c3f880f.zip
Merge tag 'nasm-2.13.03'
NASM 2.13.03 Resolved Conflicts: include/iflag.h version x86/insns-iflags.ph Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'test')
-rw-r--r--test/vaesenc.asm22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/vaesenc.asm b/test/vaesenc.asm
new file mode 100644
index 00000000..9edca705
--- /dev/null
+++ b/test/vaesenc.asm
@@ -0,0 +1,22 @@
+;; 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