0
0
mirror of https://github.com/netwide-assembler/nasm.git synced 2025-10-10 00:25:06 -04:00
Files
nasm/travis/test/avx-ne-convert.asm
2025-09-24 21:09:36 +08:00

19 lines
906 B
NASM

;Testname=avx-ne-convert; Arguments=-fbin -oavx-ne-convert.bin -O0 -DSRC; Files=stdout stderr avx-ne-convert.bin
%macro testcase 2
%ifdef BIN
db %1
%endif
%ifdef SRC
%2
%endif
%endmacro
bits 64
testcase { 0xc4, 0xe2, 0x7a, 0xb1, 0x08 }, { {vex} VBCSTNEBF162PS xmm1, word [rax] }
testcase { 0xc4, 0xe2, 0x7a, 0xb1, 0x0c, 0xc8 }, { {vex} VBCSTNEBF162PS xmm1, word [rax+rcx*8] }
testcase { 0xc4, 0xe2, 0x7e, 0xb1, 0x08 }, { {vex} VBCSTNEBF162PS ymm1, word [rax] }
testcase { 0xc4, 0xe2, 0x7e, 0xb1, 0x0c, 0xc8 }, { {vex} VBCSTNEBF162PS ymm1, word [rax+rcx*8] }