[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / X86 / intel-syntax-ptr-sized.s
bloba360557eaa6a4215b72b737c99ec68782b8538b2
1 // RUN: llvm-mc %s -triple=i686-pc-windows | FileCheck %s
3 .intel_syntax
5 push [eax]
6 // CHECK: pushl (%eax)
7 call [eax]
8 // CHECK: calll *(%eax)
9 jmp [eax]
10 // CHECK: jmpl *(%eax)
12 lgdt [eax]
13 // CHECK: lgdtl (%eax)
14 lidt [eax]
15 // CHECK: lidtl (%eax)
16 sgdt [eax]
17 // CHECK: sgdtl (%eax)
18 sidt [eax]
19 // CHECK: sidtl (%eax)
21 // mode switch
22 .code16
24 push [eax]
25 // CHECK: pushw (%eax)
26 call [eax]
27 // CHECK: callw *(%eax)
28 jmp [eax]
29 // CHECK: jmpw *(%eax)
31 lgdt [eax]
32 // CHECK: lgdtw (%eax)
33 lidt [eax]
34 // CHECK: lidtw (%eax)
35 sgdt [eax]
36 // CHECK: sgdtw (%eax)
37 sidt [eax]
38 // CHECK: sidtw (%eax)