xref: /llvm-project/llvm/test/MC/X86/rao-int-att.s (revision b51b90d6e25c3a3129608e2d764cae8818b7ad15)
1// RUN: llvm-mc -triple i686-unknown-unknown --show-encoding %s | FileCheck %s
2
3// CHECK:      aaddl  %ebx, 268435456(%esp,%esi,8)
4// CHECK: encoding: [0x0f,0x38,0xfc,0x9c,0xf4,0x00,0x00,0x00,0x10]
5               aaddl  %ebx, 268435456(%esp,%esi,8)
6
7// CHECK:      aaddl  %ebx, 291(%edi,%eax,4)
8// CHECK: encoding: [0x0f,0x38,0xfc,0x9c,0x87,0x23,0x01,0x00,0x00]
9               aaddl  %ebx, 291(%edi,%eax,4)
10
11// CHECK:      aaddl  %ebx, (%eax)
12// CHECK: encoding: [0x0f,0x38,0xfc,0x18]
13               aaddl  %ebx, (%eax)
14
15// CHECK:      aaddl  %ebx, -512(,%ebp,2)
16// CHECK: encoding: [0x0f,0x38,0xfc,0x1c,0x6d,0x00,0xfe,0xff,0xff]
17               aaddl  %ebx, -512(,%ebp,2)
18
19// CHECK:      aaddl  %ebx, 2032(%ecx)
20// CHECK: encoding: [0x0f,0x38,0xfc,0x99,0xf0,0x07,0x00,0x00]
21               aaddl  %ebx, 2032(%ecx)
22
23// CHECK:      aaddl  %ebx, -2048(%edx)
24// CHECK: encoding: [0x0f,0x38,0xfc,0x9a,0x00,0xf8,0xff,0xff]
25               aaddl  %ebx, -2048(%edx)
26
27// CHECK:      aandl  %ebx, 268435456(%esp,%esi,8)
28// CHECK: encoding: [0x66,0x0f,0x38,0xfc,0x9c,0xf4,0x00,0x00,0x00,0x10]
29               aandl  %ebx, 268435456(%esp,%esi,8)
30
31// CHECK:      aandl  %ebx, 291(%edi,%eax,4)
32// CHECK: encoding: [0x66,0x0f,0x38,0xfc,0x9c,0x87,0x23,0x01,0x00,0x00]
33               aandl  %ebx, 291(%edi,%eax,4)
34
35// CHECK:      aandl  %ebx, (%eax)
36// CHECK: encoding: [0x66,0x0f,0x38,0xfc,0x18]
37               aandl  %ebx, (%eax)
38
39// CHECK:      aandl  %ebx, -512(,%ebp,2)
40// CHECK: encoding: [0x66,0x0f,0x38,0xfc,0x1c,0x6d,0x00,0xfe,0xff,0xff]
41               aandl  %ebx, -512(,%ebp,2)
42
43// CHECK:      aandl  %ebx, 2032(%ecx)
44// CHECK: encoding: [0x66,0x0f,0x38,0xfc,0x99,0xf0,0x07,0x00,0x00]
45               aandl  %ebx, 2032(%ecx)
46
47// CHECK:      aandl  %ebx, -2048(%edx)
48// CHECK: encoding: [0x66,0x0f,0x38,0xfc,0x9a,0x00,0xf8,0xff,0xff]
49               aandl  %ebx, -2048(%edx)
50
51// CHECK:      aorl  %ebx, 268435456(%esp,%esi,8)
52// CHECK: encoding: [0xf2,0x0f,0x38,0xfc,0x9c,0xf4,0x00,0x00,0x00,0x10]
53               aorl  %ebx, 268435456(%esp,%esi,8)
54
55// CHECK:      aorl  %ebx, 291(%edi,%eax,4)
56// CHECK: encoding: [0xf2,0x0f,0x38,0xfc,0x9c,0x87,0x23,0x01,0x00,0x00]
57               aorl  %ebx, 291(%edi,%eax,4)
58
59// CHECK:      aorl  %ebx, (%eax)
60// CHECK: encoding: [0xf2,0x0f,0x38,0xfc,0x18]
61               aorl  %ebx, (%eax)
62
63// CHECK:      aorl  %ebx, -512(,%ebp,2)
64// CHECK: encoding: [0xf2,0x0f,0x38,0xfc,0x1c,0x6d,0x00,0xfe,0xff,0xff]
65               aorl  %ebx, -512(,%ebp,2)
66
67// CHECK:      aorl  %ebx, 2032(%ecx)
68// CHECK: encoding: [0xf2,0x0f,0x38,0xfc,0x99,0xf0,0x07,0x00,0x00]
69               aorl  %ebx, 2032(%ecx)
70
71// CHECK:      aorl  %ebx, -2048(%edx)
72// CHECK: encoding: [0xf2,0x0f,0x38,0xfc,0x9a,0x00,0xf8,0xff,0xff]
73               aorl  %ebx, -2048(%edx)
74
75// CHECK:      axorl  %ebx, 268435456(%esp,%esi,8)
76// CHECK: encoding: [0xf3,0x0f,0x38,0xfc,0x9c,0xf4,0x00,0x00,0x00,0x10]
77               axorl  %ebx, 268435456(%esp,%esi,8)
78
79// CHECK:      axorl  %ebx, 291(%edi,%eax,4)
80// CHECK: encoding: [0xf3,0x0f,0x38,0xfc,0x9c,0x87,0x23,0x01,0x00,0x00]
81               axorl  %ebx, 291(%edi,%eax,4)
82
83// CHECK:      axorl  %ebx, (%eax)
84// CHECK: encoding: [0xf3,0x0f,0x38,0xfc,0x18]
85               axorl  %ebx, (%eax)
86
87// CHECK:      axorl  %ebx, -512(,%ebp,2)
88// CHECK: encoding: [0xf3,0x0f,0x38,0xfc,0x1c,0x6d,0x00,0xfe,0xff,0xff]
89               axorl  %ebx, -512(,%ebp,2)
90
91// CHECK:      axorl  %ebx, 2032(%ecx)
92// CHECK: encoding: [0xf3,0x0f,0x38,0xfc,0x99,0xf0,0x07,0x00,0x00]
93               axorl  %ebx, 2032(%ecx)
94
95// CHECK:      axorl  %ebx, -2048(%edx)
96// CHECK: encoding: [0xf3,0x0f,0x38,0xfc,0x9a,0x00,0xf8,0xff,0xff]
97               axorl  %ebx, -2048(%edx)
98