compiler.h: for newer gcc attributes, we can use __has_attribute()
[nasm.git] / test / hle.asm
blobe59b4f58902d139ca473be88c35b4d0f07b509aa
1 bits 32
3 xacquire lock add [esi],eax
4 xacquire xchg [eax],ebx
5 xrelease lock mov [eax],ecx
6 xrelease mov [eax],ecx
7 xacquire add ecx,[eax]
8 xrelease mov [eax],ecx
10 ; Different opcodes!
11 mov [sym],eax
12 xrelease mov [sym],eax
13 xacquire mov [sym],eax
15 mov [sym],al
16 xrelease mov [sym],al
17 xacquire mov [sym],al
19 sym dd 0