nasm/test/hle.asm
H. Peter Anvin 56bff2df92 hle: opcode A2 forbidden with HLE prefixes
The moffset opcodes A2 and A3 do not support HLE.  Unfortunately
checkin

fb3f4e6d HLE: Change NOHLE to be an instruction flag

... inadvertently lost the NOHLE flag for opcode A2.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2012-07-22 21:04:20 -07:00

20 lines
322 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
mov [sym],al
xrelease mov [sym],al
xacquire mov [sym],al
sym dd 0