[nasm:master] travis: add gather

nasm-bot for Cyrill Gorcunov gorcunov at gmail.com
Wed Oct 14 14:57:06 PDT 2020


Commit-ID:  32efe62b813cf33236a5c49b547a5fe18abbadab
Gitweb:     http://repo.or.cz/w/nasm.git?a=commitdiff;h=32efe62b813cf33236a5c49b547a5fe18abbadab
Author:     Cyrill Gorcunov <gorcunov at gmail.com>
AuthorDate: Thu, 15 Oct 2020 00:47:03 +0300
Committer:  Cyrill Gorcunov <gorcunov at gmail.com>
CommitDate: Thu, 15 Oct 2020 00:54:10 +0300

travis: add gather

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


---
 {test => travis/test}/gather.asm |  4 ++--
 travis/test/gather.bin.t         |  1 +
 travis/test/gather.json          | 12 ++++++++++++
 3 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/test/gather.asm b/travis/test/gather.asm
similarity index 64%
copy from test/gather.asm
copy to travis/test/gather.asm
index 03037008..a7bb0ffd 100644
--- a/test/gather.asm
+++ b/travis/test/gather.asm
@@ -1,11 +1,11 @@
 	bits 64
 
 	VGATHERQPS xmm1, [xmm0 + rsi], xmm2   ; OK
-	VGATHERQPS xmm1, [ymm0 + rsi], xmm2 ; fail: error: invalid effective address
+	VGATHERQPS xmm1, [ymm0 + rsi], xmm2   ; wrong fail: error: invalid effective address
 	VGATHERDPD ymm1, [xmm0 + rsi], ymm2   ; OK
 	VGATHERDPD xmm1, [xmm0 + rsi], xmm2   ; OK
 	VGATHERQPD xmm1, [xmm0 + rsi], xmm2   ; OK
 	VGATHERQPD ymm1, [ymm0 + rsi], ymm2   ; OK
 	VPGATHERQD xmm1, [xmm0 + rsi], xmm2   ; OK
-	VPGATHERQD xmm1, [ymm0 + rsi], xmm2   ; fail: error: invalid effective address
+	VPGATHERQD xmm1, [ymm0 + rsi], xmm2   ; wrong fail: error: invalid effective address
 	VPGATHERDQ ymm1, [xmm0 + rsi], ymm2   ; OK
diff --git a/travis/test/gather.bin.t b/travis/test/gather.bin.t
new file mode 100644
index 00000000..52b7c3b1
--- /dev/null
+++ b/travis/test/gather.bin.t
@@ -0,0 +1 @@
+Äâi“Äâm“Äâí’Äâé’Äâé“Äâí“Äâi‘Äâm‘Äâí
\ No newline at end of file
diff --git a/travis/test/gather.json b/travis/test/gather.json
new file mode 100644
index 00000000..79c5714f
--- /dev/null
+++ b/travis/test/gather.json
@@ -0,0 +1,12 @@
+[
+	{
+		"description": "Test VGATHER",
+		"id": "gather",
+		"format": "bin",
+		"source": "gather.asm",
+		"option": "-Ox",
+		"target": [
+			{ "output": "gather.bin" }
+		]
+	}
+]


More information about the Nasm-commits mailing list