MPX: Add test cases for MPX
[nasm/avx512.git] / test / br560873.asm
blob21334926e8abd31b4173a0bee9f5819b901d0194
1 ;Testname=unoptimized; Arguments=-O0 -frdf -obr560873.rdf; Files=stdout stderr br560873.rdf
2 ;Testname=optimized; Arguments=-Ox -frdf -obr560873.rdf; Files=stdout stderr br560873.rdf
4 label:
5 bits 16
6 call far dword label
7 mov [label],ax
8 mov [label],eax
9 mov [word label],ax
10 mov [word label],eax
11 mov [dword label],ax
12 mov [dword label],eax
13 push 3700
14 push word 3700
15 push dword 3700
17 bits 32
18 call far word label
19 mov [label],ax
20 mov [label],eax
21 mov [word label],ax
22 mov [word label],eax
23 mov [dword label],ax
24 mov [dword label],eax
25 push 3700
26 push word 3700
27 push dword 3700