aboutsummaryrefslogtreecommitdiffstats
path: root/travis
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2020-08-25 16:35:54 +0300
committerCyrill Gorcunov <gorcunov@gmail.com>2020-08-25 16:36:10 +0300
commitf2854471acedd4e05d659acf0694ba69cca22e12 (patch)
treec6d9278940d70cef877fdc353525e6b338d185e5 /travis
parent852e80b01153a1a56b7408b7808d04307388b535 (diff)
downloadnasm-f2854471acedd4e05d659acf0694ba69cca22e12.tar.gz
nasm-f2854471acedd4e05d659acf0694ba69cca22e12.tar.xz
nasm-f2854471acedd4e05d659acf0694ba69cca22e12.zip
travis: add vaesenc
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'travis')
-rw-r--r--travis/test/vaesenc.asm20
-rw-r--r--travis/test/vaesenc.bin.tbin0 -> 93 bytes
-rw-r--r--travis/test/vaesenc.json12
3 files changed, 32 insertions, 0 deletions
diff --git a/travis/test/vaesenc.asm b/travis/test/vaesenc.asm
new file mode 100644
index 00000000..38e19364
--- /dev/null
+++ b/travis/test/vaesenc.asm
@@ -0,0 +1,20 @@
+ 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
diff --git a/travis/test/vaesenc.bin.t b/travis/test/vaesenc.bin.t
new file mode 100644
index 00000000..b312920d
--- /dev/null
+++ b/travis/test/vaesenc.bin.t
Binary files differ
diff --git a/travis/test/vaesenc.json b/travis/test/vaesenc.json
new file mode 100644
index 00000000..479c73b3
--- /dev/null
+++ b/travis/test/vaesenc.json
@@ -0,0 +1,12 @@
+[
+ {
+ "description": "Test AES inctructions (BR 3392454, 3392460)",
+ "id": "vaesenc",
+ "format": "bin",
+ "source": "vaesenc.asm",
+ "option": "-Ox",
+ "target": [
+ { "output": "vaesenc.bin" }
+ ]
+ }
+]