[nasm:nasm-2.15.xx] travis: add a64 test

nasm-bot for Cyrill Gorcunov gorcunov at gmail.com
Mon Aug 24 05:33:08 PDT 2020


Commit-ID:  f0b01552802fdeac5bdb7f1d4d2977a429c5588d
Gitweb:     http://repo.or.cz/w/nasm.git?a=commitdiff;h=f0b01552802fdeac5bdb7f1d4d2977a429c5588d
Author:     Cyrill Gorcunov <gorcunov at gmail.com>
AuthorDate: Mon, 24 Aug 2020 13:48:31 +0300
Committer:  Cyrill Gorcunov <gorcunov at gmail.com>
CommitDate: Mon, 24 Aug 2020 13:48:31 +0300

travis: add a64 test

Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>


---
 travis/test/a64.asm   | 22 ++++++++++++++++++++++
 travis/test/a64.bin.t |  1 +
 travis/test/a64.json  | 18 ++++++++++++++++++
 3 files changed, 41 insertions(+)

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 @@
+gßßgãöãôgâñâïgáìáêgáçáågàâààgàÝàÛgüügf8øf8øgó®ðó®ð
\ 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"
+	}
+]


More information about the Nasm-commits mailing list