From 32efe62b813cf33236a5c49b547a5fe18abbadab Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Thu, 15 Oct 2020 00:47:03 +0300 Subject: [PATCH] travis: add gather Signed-off-by: Cyrill Gorcunov --- travis/test/gather.asm | 11 +++++++++++ travis/test/gather.bin.t | 1 + travis/test/gather.json | 12 ++++++++++++ 3 files changed, 24 insertions(+) create mode 100644 travis/test/gather.asm create mode 100644 travis/test/gather.bin.t create mode 100644 travis/test/gather.json diff --git a/travis/test/gather.asm b/travis/test/gather.asm new file mode 100644 index 000000000..a7bb0ffd5 --- /dev/null +++ b/travis/test/gather.asm @@ -0,0 +1,11 @@ + bits 64 + + VGATHERQPS xmm1, [xmm0 + rsi], xmm2 ; OK + 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 ; 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 000000000..52b7c3b13 --- /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 000000000..79c5714fe --- /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" } + ] + } +]