aboutsummaryrefslogtreecommitdiffstats
path: root/travis/test
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2018-11-04 19:24:17 +0300
committerCyrill Gorcunov <gorcunov@gmail.com>2018-11-11 21:43:45 +0300
commit7d7a159633b8ea327a15ec972230c57ed09b0389 (patch)
treed9075b62dba09d92d52124a594ea343dcf50112b /travis/test
parentea258e6c74d077dc9d7de20c2046b1fce97f03a1 (diff)
downloadnasm-7d7a159633b8ea327a15ec972230c57ed09b0389.tar.gz
nasm-7d7a159633b8ea327a15ec972230c57ed09b0389.tar.xz
nasm-7d7a159633b8ea327a15ec972230c57ed09b0389.zip
test: nasm-t -- Add newrdwr test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'travis/test')
-rw-r--r--travis/test/newrdwr.asm22
-rw-r--r--travis/test/newrdwr.bin.t1
-rw-r--r--travis/test/newrdwr.json11
3 files changed, 34 insertions, 0 deletions
diff --git a/travis/test/newrdwr.asm b/travis/test/newrdwr.asm
new file mode 100644
index 00000000..eed59c9c
--- /dev/null
+++ b/travis/test/newrdwr.asm
@@ -0,0 +1,22 @@
+ bits 64
+
+ rdfsbase eax
+ rdfsbase rax
+ rdgsbase eax
+ rdgsbase rax
+ rdrand ax
+ rdrand eax
+ rdrand rax
+ wrfsbase eax
+ wrfsbase rax
+ wrgsbase eax
+ wrgsbase rax
+
+ osp rdfsbase eax
+ osp rdfsbase rax
+ osp rdgsbase eax
+ osp rdgsbase rax
+ osp wrfsbase eax
+ osp wrfsbase rax
+ osp wrgsbase eax
+ osp wrgsbase rax
diff --git a/travis/test/newrdwr.bin.t b/travis/test/newrdwr.bin.t
new file mode 100644
index 00000000..b0dbab88
--- /dev/null
+++ b/travis/test/newrdwr.bin.t
@@ -0,0 +1 @@
+HHfHHHffHffHffHffH \ No newline at end of file
diff --git a/travis/test/newrdwr.json b/travis/test/newrdwr.json
new file mode 100644
index 00000000..8cb8b539
--- /dev/null
+++ b/travis/test/newrdwr.json
@@ -0,0 +1,11 @@
+[
+ {
+ "description": "Test rdfsbase, wrfsbase",
+ "id": "newrdwr",
+ "format": "bin",
+ "source": "newrdwr.asm",
+ "target": [
+ { "output": "newrdwr.bin" }
+ ]
+ }
+]