nasm/test/hle.asm
H. Peter Anvin fb3f4e6ddb HLE: Change NOHLE to be an instruction flag
The way our matching system works we have to make NOHLE an instruction
flag rather than an byte code; by the time we run the byte code
interpreter we have already picked an instruction pattern once and for
all.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2012-02-25 22:22:07 -08:00

16 lines
261 B
NASM

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
sym dd 0