aboutsummaryrefslogtreecommitdiffstats
path: root/travis
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2020-08-25 15:35:49 +0300
committerCyrill Gorcunov <gorcunov@gmail.com>2020-08-25 16:36:10 +0300
commite2917fd7758f5c45eb416d9c30320c4c2c9432c0 (patch)
tree7cdd19fe0a16c2a52df1d043939b19840fec7726 /travis
parent8142ab699d9ec866c2f7ecb28cb35c41e1f14230 (diff)
downloadnasm-e2917fd7758f5c45eb416d9c30320c4c2c9432c0.tar.gz
nasm-e2917fd7758f5c45eb416d9c30320c4c2c9432c0.tar.xz
nasm-e2917fd7758f5c45eb416d9c30320c4c2c9432c0.zip
travis: add vpcmp
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'travis')
-rw-r--r--travis/test/vpcmp.asm28
-rw-r--r--travis/test/vpcmp.bin.tbin0 -> 160 bytes
-rw-r--r--travis/test/vpcmp.json12
3 files changed, 40 insertions, 0 deletions
diff --git a/travis/test/vpcmp.asm b/travis/test/vpcmp.asm
new file mode 100644
index 00000000..acc8ef37
--- /dev/null
+++ b/travis/test/vpcmp.asm
@@ -0,0 +1,28 @@
+ bits 64
+
+ vpcmpeqb k2{k2},zmm0,zmm1
+ vpcmpgtb k2{k2},zmm0,zmm1
+ vpcmpeqw k2{k2},zmm0,zmm1
+ vpcmpgtw k2{k2},zmm0,zmm1
+ vpcmpeqd k2{k2},zmm0,zmm1
+ vpcmpgtd k2{k2},zmm0,zmm1
+ vpcmpeqq k2{k2},zmm0,zmm1
+ vpcmpgtq k2{k2},zmm0,zmm1
+
+ vpcmpb k2{k2},zmm0,zmm1,0
+ vpcmpb k2{k2},zmm0,zmm1,6
+ vpcmpw k2{k2},zmm0,zmm1,0
+ vpcmpw k2{k2},zmm0,zmm1,6
+ vpcmpd k2{k2},zmm0,zmm1,0
+ vpcmpd k2{k2},zmm0,zmm1,6
+ vpcmpq k2{k2},zmm0,zmm1,0
+ vpcmpq k2{k2},zmm0,zmm1,6
+
+ vpcmpneqb k2{k2},zmm0,zmm1
+ vpcmpleb k2{k2},zmm0,zmm1
+ vpcmpneqw k2{k2},zmm0,zmm1
+ vpcmplew k2{k2},zmm0,zmm1
+ vpcmpneqd k2{k2},zmm0,zmm1
+ vpcmpled k2{k2},zmm0,zmm1
+ vpcmpneqq k2{k2},zmm0,zmm1
+ vpcmpleq k2{k2},zmm0,zmm1
diff --git a/travis/test/vpcmp.bin.t b/travis/test/vpcmp.bin.t
new file mode 100644
index 00000000..0ac4dfe0
--- /dev/null
+++ b/travis/test/vpcmp.bin.t
Binary files differ
diff --git a/travis/test/vpcmp.json b/travis/test/vpcmp.json
new file mode 100644
index 00000000..c98da198
--- /dev/null
+++ b/travis/test/vpcmp.json
@@ -0,0 +1,12 @@
+[
+ {
+ "description": "Test vpcmp instruction",
+ "id": "vpcmp",
+ "format": "bin",
+ "source": "vpcmp.asm",
+ "option": "-Ox",
+ "target": [
+ { "output": "vpcmp.bin" }
+ ]
+ }
+]