mirror of
https://github.com/netwide-assembler/nasm
synced 2026-08-26 16:23:04 -04:00
travis: add gather
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
0137027911
commit
32efe62b81
3 changed files with 24 additions and 0 deletions
11
travis/test/gather.asm
Normal file
11
travis/test/gather.asm
Normal file
|
|
@ -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
|
||||
1
travis/test/gather.bin.t
Normal file
1
travis/test/gather.bin.t
Normal file
|
|
@ -0,0 +1 @@
|
|||
<EFBFBD><EFBFBD>i<EFBFBD><EFBFBD><EFBFBD>m<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>i<EFBFBD><EFBFBD><EFBFBD>m<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
12
travis/test/gather.json
Normal file
12
travis/test/gather.json
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
[
|
||||
{
|
||||
"description": "Test VGATHER",
|
||||
"id": "gather",
|
||||
"format": "bin",
|
||||
"source": "gather.asm",
|
||||
"option": "-Ox",
|
||||
"target": [
|
||||
{ "output": "gather.bin" }
|
||||
]
|
||||
}
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue