aboutsummaryrefslogtreecommitdiffstats
path: root/travis/test
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2018-11-11 18:27:33 +0300
committerCyrill Gorcunov <gorcunov@gmail.com>2018-11-11 21:43:46 +0300
commitf4c33801a2e74a41c5a13316ca24c7d40e7d028a (patch)
tree0f8ca1499614e7210835f52e2d1b10a28993b6a6 /travis/test
parenta138610100dce425952b9ef0ec2b3db7d498a508 (diff)
downloadnasm-f4c33801a2e74a41c5a13316ca24c7d40e7d028a.tar.gz
nasm-f4c33801a2e74a41c5a13316ca24c7d40e7d028a.tar.xz
nasm-f4c33801a2e74a41c5a13316ca24c7d40e7d028a.zip
test: nasm-t -- Add br3174983
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'travis/test')
-rw-r--r--travis/test/br3174983.asm6
-rw-r--r--travis/test/br3174983.bin.t1
-rw-r--r--travis/test/br3174983.json18
3 files changed, 25 insertions, 0 deletions
diff --git a/travis/test/br3174983.asm b/travis/test/br3174983.asm
new file mode 100644
index 00000000..48a293ab
--- /dev/null
+++ b/travis/test/br3174983.asm
@@ -0,0 +1,6 @@
+ bits 32
+ vpextrw ecx,xmm0,8 ; c5 f9 c5 c8 08
+ vpextrw ecx,xmm2,3 ; c5 f9 c5 ca 03
+
+ bits 64
+ vpextrw rcx,xmm0,8 ; c5 f9 c5 c8 08
diff --git a/travis/test/br3174983.bin.t b/travis/test/br3174983.bin.t
new file mode 100644
index 00000000..f5ba588b
--- /dev/null
+++ b/travis/test/br3174983.bin.t
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/travis/test/br3174983.json b/travis/test/br3174983.json
new file mode 100644
index 00000000..0f9646e2
--- /dev/null
+++ b/travis/test/br3174983.json
@@ -0,0 +1,18 @@
+[
+ {
+ "description": "Test vpextrw instruction (-Ox)",
+ "id": "br3174983",
+ "format": "bin",
+ "source": "br3174983.asm",
+ "option": "-Ox",
+ "target": [
+ { "output": "br3174983.bin" }
+ ]
+ },
+ {
+ "description": "Test vpextrw instruction (-O0)",
+ "ref": "br3174983",
+ "option": "-Ox",
+ "update": "false"
+ }
+]