mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-10-10 00:25:06 -04:00
16
travis/test/v4.asm
Normal file
16
travis/test/v4.asm
Normal file
@@ -0,0 +1,16 @@
|
||||
bits 64
|
||||
|
||||
v4fmaddps zmm0,zmm1+3,[rax]
|
||||
v4fnmaddps zmm2,zmm3,[rax]
|
||||
v4fmaddss zmm4,zmm5+3,[rax]
|
||||
v4fnmaddss zmm6,zmm7+3,[rax]
|
||||
|
||||
v4dpwssds zmm8,zmm9,[rax]
|
||||
v4dpwssd zmm10,zmm11+3,[rax]
|
||||
v4dpwssd zmm10+0,zmm11+3,[rax]
|
||||
|
||||
%ifdef ERROR
|
||||
v4dpwssd zmm10+1,zmm11+3,[rax]
|
||||
v4dpwssd zmm10,zmm11+4,[rax]
|
||||
v4dpwssd zmm10,zmm11+7,[rax]
|
||||
%endif
|
||||
BIN
travis/test/v4.bin.t
Normal file
BIN
travis/test/v4.bin.t
Normal file
Binary file not shown.
21
travis/test/v4.json
Normal file
21
travis/test/v4.json
Normal file
@@ -0,0 +1,21 @@
|
||||
[
|
||||
{
|
||||
"description": "Test v4 instructions",
|
||||
"id": "v4",
|
||||
"format": "bin",
|
||||
"source": "v4.asm",
|
||||
"option": "-Ox",
|
||||
"target": [
|
||||
{ "output": "v4.bin" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Test v4 instructions (error)",
|
||||
"ref": "v4",
|
||||
"option": "-DERROR -o v4.bin",
|
||||
"target": [
|
||||
{ "stderr": "v4.stderr" }
|
||||
],
|
||||
"error": "expected"
|
||||
}
|
||||
]
|
||||
3
travis/test/v4.stderr
Normal file
3
travis/test/v4.stderr
Normal file
@@ -0,0 +1,3 @@
|
||||
./travis/test/v4.asm:13: error: register set not valid for operand
|
||||
./travis/test/v4.asm:14: error: invalid register set size
|
||||
./travis/test/v4.asm:15: error: invalid register set size
|
||||
Reference in New Issue
Block a user