aboutsummaryrefslogtreecommitdiffstats
path: root/travis/test
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2020-08-24 13:48:31 +0300
committerCyrill Gorcunov <gorcunov@gmail.com>2020-08-24 13:48:31 +0300
commitf0b01552802fdeac5bdb7f1d4d2977a429c5588d (patch)
treec5ae45ab3e29b86ee3492a121dbe0d8f42cc024b /travis/test
parent717348304378b9148e3e87d41bf54f67d36dee72 (diff)
downloadnasm-f0b01552802fdeac5bdb7f1d4d2977a429c5588d.tar.gz
nasm-f0b01552802fdeac5bdb7f1d4d2977a429c5588d.tar.xz
nasm-f0b01552802fdeac5bdb7f1d4d2977a429c5588d.zip
travis: add a64 test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'travis/test')
-rw-r--r--travis/test/a64.asm22
-rw-r--r--travis/test/a64.bin.t1
-rw-r--r--travis/test/a64.json18
3 files changed, 41 insertions, 0 deletions
diff --git a/travis/test/a64.asm b/travis/test/a64.asm
new file mode 100644
index 00000000..057c29fc
--- /dev/null
+++ b/travis/test/a64.asm
@@ -0,0 +1,22 @@
+ bits 64
+start:
+ invlpga eax, ecx
+ invlpga rax, ecx
+ jecxz start
+ jrcxz start
+ loop start, ecx
+ loop start, rcx
+ loope start, ecx
+ loope start, rcx
+ loopz start, ecx
+ loopz start, rcx
+ loopne start, ecx
+ loopne start, rcx
+ loopnz start, ecx
+ loopnz start, rcx
+ clzero eax
+ clzero rax
+ movdir64b eax, [edi]
+ movdir64b rax, [rdi]
+ umonitor eax
+ umonitor rax
diff --git a/travis/test/a64.bin.t b/travis/test/a64.bin.t
new file mode 100644
index 00000000..b13b9e53
--- /dev/null
+++ b/travis/test/a64.bin.t
@@ -0,0 +1 @@
+gggggggggf8f8g \ No newline at end of file
diff --git a/travis/test/a64.json b/travis/test/a64.json
new file mode 100644
index 00000000..f734b11e
--- /dev/null
+++ b/travis/test/a64.json
@@ -0,0 +1,18 @@
+[
+ {
+ "description": "Test 64 bit address (-Ox)",
+ "id": "a64",
+ "format": "bin",
+ "source": "a64.asm",
+ "option": "-Ox",
+ "target": [
+ { "output": "a64.bin" }
+ ]
+ },
+ {
+ "description": "Test 64 bit address (-O0)",
+ "ref": "a64",
+ "option": "-O0",
+ "update": "false"
+ }
+]