mirror of
https://github.com/netwide-assembler/nasm
synced 2026-08-26 16:23:04 -04:00
travis: add hle
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
9d68a8babd
commit
daa534e55c
4 changed files with 36 additions and 0 deletions
19
travis/test/hle.asm
Normal file
19
travis/test/hle.asm
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
bits 32
|
||||
|
||||
xacquire lock add [esi],eax
|
||||
xacquire xchg [eax],ebx
|
||||
xrelease lock mov [eax],ecx
|
||||
xrelease mov [eax],ecx
|
||||
xacquire add ecx,[eax]
|
||||
xrelease mov [eax],ecx
|
||||
|
||||
; Different opcodes!
|
||||
mov [sym],eax
|
||||
xrelease mov [sym],eax
|
||||
xacquire mov [sym],eax
|
||||
|
||||
mov [sym],al
|
||||
xrelease mov [sym],al
|
||||
xacquire mov [sym],al
|
||||
|
||||
sym dd 0
|
||||
BIN
travis/test/hle.bin.t
Normal file
BIN
travis/test/hle.bin.t
Normal file
Binary file not shown.
13
travis/test/hle.json
Normal file
13
travis/test/hle.json
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
[
|
||||
{
|
||||
"description": "Test hle instructions",
|
||||
"id": "hle",
|
||||
"format": "bin",
|
||||
"source": "hle.asm",
|
||||
"option": "-Ox",
|
||||
"target": [
|
||||
{ "output": "hle.bin" },
|
||||
{ "stderr": "hle.stderr" }
|
||||
]
|
||||
}
|
||||
]
|
||||
4
travis/test/hle.stderr
Normal file
4
travis/test/hle.stderr
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
./travis/test/hle.asm:5: warning: instruction is not lockable [-w+lock]
|
||||
./travis/test/hle.asm:7: warning: xacquire invalid with this instruction [-w+hle]
|
||||
./travis/test/hle.asm:13: warning: xacquire invalid with this instruction [-w+hle]
|
||||
./travis/test/hle.asm:17: warning: xacquire invalid with this instruction [-w+hle]
|
||||
Loading…
Add table
Add a link
Reference in a new issue