[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / X86 / I486-64.s
blob1c9cfa3d3777bf0ccd247cf822cfe43869884679
1 // RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck %s
3 // CHECK: bswapl %r13d
4 // CHECK: encoding: [0x41,0x0f,0xcd]
5 bswapl %r13d
7 // CHECK: cmpxchgb %r14b, 485498096
8 // CHECK: encoding: [0x44,0x0f,0xb0,0x34,0x25,0xf0,0x1c,0xf0,0x1c]
9 cmpxchgb %r14b, 485498096
11 // CHECK: cmpxchgb %r14b, 64(%rdx)
12 // CHECK: encoding: [0x44,0x0f,0xb0,0x72,0x40]
13 cmpxchgb %r14b, 64(%rdx)
15 // CHECK: cmpxchgb %r14b, 64(%rdx,%rax,4)
16 // CHECK: encoding: [0x44,0x0f,0xb0,0x74,0x82,0x40]
17 cmpxchgb %r14b, 64(%rdx,%rax,4)
19 // CHECK: cmpxchgb %r14b, -64(%rdx,%rax,4)
20 // CHECK: encoding: [0x44,0x0f,0xb0,0x74,0x82,0xc0]
21 cmpxchgb %r14b, -64(%rdx,%rax,4)
23 // CHECK: cmpxchgb %r14b, 64(%rdx,%rax)
24 // CHECK: encoding: [0x44,0x0f,0xb0,0x74,0x02,0x40]
25 cmpxchgb %r14b, 64(%rdx,%rax)
27 // CHECK: cmpxchgb %r14b, %r14b
28 // CHECK: encoding: [0x45,0x0f,0xb0,0xf6]
29 cmpxchgb %r14b, %r14b
31 // CHECK: cmpxchgb %r14b, (%rdx)
32 // CHECK: encoding: [0x44,0x0f,0xb0,0x32]
33 cmpxchgb %r14b, (%rdx)
35 // CHECK: cmpxchgl %r13d, %r13d
36 // CHECK: encoding: [0x45,0x0f,0xb1,0xed]
37 cmpxchgl %r13d, %r13d
39 // CHECK: cmpxchgw %r14w, 485498096
40 // CHECK: encoding: [0x66,0x44,0x0f,0xb1,0x34,0x25,0xf0,0x1c,0xf0,0x1c]
41 cmpxchgw %r14w, 485498096
43 // CHECK: cmpxchgw %r14w, 64(%rdx)
44 // CHECK: encoding: [0x66,0x44,0x0f,0xb1,0x72,0x40]
45 cmpxchgw %r14w, 64(%rdx)
47 // CHECK: cmpxchgw %r14w, 64(%rdx,%rax,4)
48 // CHECK: encoding: [0x66,0x44,0x0f,0xb1,0x74,0x82,0x40]
49 cmpxchgw %r14w, 64(%rdx,%rax,4)
51 // CHECK: cmpxchgw %r14w, -64(%rdx,%rax,4)
52 // CHECK: encoding: [0x66,0x44,0x0f,0xb1,0x74,0x82,0xc0]
53 cmpxchgw %r14w, -64(%rdx,%rax,4)
55 // CHECK: cmpxchgw %r14w, 64(%rdx,%rax)
56 // CHECK: encoding: [0x66,0x44,0x0f,0xb1,0x74,0x02,0x40]
57 cmpxchgw %r14w, 64(%rdx,%rax)
59 // CHECK: cmpxchgw %r14w, %r14w
60 // CHECK: encoding: [0x66,0x45,0x0f,0xb1,0xf6]
61 cmpxchgw %r14w, %r14w
63 // CHECK: cmpxchgw %r14w, (%rdx)
64 // CHECK: encoding: [0x66,0x44,0x0f,0xb1,0x32]
65 cmpxchgw %r14w, (%rdx)
67 // CHECK: cpuid
68 // CHECK: encoding: [0x0f,0xa2]
69 cpuid
71 // CHECK: invd
72 // CHECK: encoding: [0x0f,0x08]
73 invd
75 // CHECK: invlpg 485498096
76 // CHECK: encoding: [0x0f,0x01,0x3c,0x25,0xf0,0x1c,0xf0,0x1c]
77 invlpg 485498096
79 // CHECK: invlpg 64(%rdx)
80 // CHECK: encoding: [0x0f,0x01,0x7a,0x40]
81 invlpg 64(%rdx)
83 // CHECK: invlpg 64(%rdx,%rax,4)
84 // CHECK: encoding: [0x0f,0x01,0x7c,0x82,0x40]
85 invlpg 64(%rdx,%rax,4)
87 // CHECK: invlpg -64(%rdx,%rax,4)
88 // CHECK: encoding: [0x0f,0x01,0x7c,0x82,0xc0]
89 invlpg -64(%rdx,%rax,4)
91 // CHECK: invlpg 64(%rdx,%rax)
92 // CHECK: encoding: [0x0f,0x01,0x7c,0x02,0x40]
93 invlpg 64(%rdx,%rax)
95 // CHECK: invlpg (%rdx)
96 // CHECK: encoding: [0x0f,0x01,0x3a]
97 invlpg (%rdx)
99 // CHECK: rsm
100 // CHECK: encoding: [0x0f,0xaa]
101 rsm
103 // CHECK: wbinvd
104 // CHECK: encoding: [0x0f,0x09]
105 wbinvd
107 // CHECK: xaddb %r14b, 485498096
108 // CHECK: encoding: [0x44,0x0f,0xc0,0x34,0x25,0xf0,0x1c,0xf0,0x1c]
109 xaddb %r14b, 485498096
111 // CHECK: xaddb %r14b, 64(%rdx)
112 // CHECK: encoding: [0x44,0x0f,0xc0,0x72,0x40]
113 xaddb %r14b, 64(%rdx)
115 // CHECK: xaddb %r14b, 64(%rdx,%rax,4)
116 // CHECK: encoding: [0x44,0x0f,0xc0,0x74,0x82,0x40]
117 xaddb %r14b, 64(%rdx,%rax,4)
119 // CHECK: xaddb %r14b, -64(%rdx,%rax,4)
120 // CHECK: encoding: [0x44,0x0f,0xc0,0x74,0x82,0xc0]
121 xaddb %r14b, -64(%rdx,%rax,4)
123 // CHECK: xaddb %r14b, 64(%rdx,%rax)
124 // CHECK: encoding: [0x44,0x0f,0xc0,0x74,0x02,0x40]
125 xaddb %r14b, 64(%rdx,%rax)
127 // CHECK: xaddb %r14b, %r14b
128 // CHECK: encoding: [0x45,0x0f,0xc0,0xf6]
129 xaddb %r14b, %r14b
131 // CHECK: xaddb %r14b, (%rdx)
132 // CHECK: encoding: [0x44,0x0f,0xc0,0x32]
133 xaddb %r14b, (%rdx)
135 // CHECK: xaddl %r13d, %r13d
136 // CHECK: encoding: [0x45,0x0f,0xc1,0xed]
137 xaddl %r13d, %r13d
139 // CHECK: xaddw %r14w, 485498096
140 // CHECK: encoding: [0x66,0x44,0x0f,0xc1,0x34,0x25,0xf0,0x1c,0xf0,0x1c]
141 xaddw %r14w, 485498096
143 // CHECK: xaddw %r14w, 64(%rdx)
144 // CHECK: encoding: [0x66,0x44,0x0f,0xc1,0x72,0x40]
145 xaddw %r14w, 64(%rdx)
147 // CHECK: xaddw %r14w, 64(%rdx,%rax,4)
148 // CHECK: encoding: [0x66,0x44,0x0f,0xc1,0x74,0x82,0x40]
149 xaddw %r14w, 64(%rdx,%rax,4)
151 // CHECK: xaddw %r14w, -64(%rdx,%rax,4)
152 // CHECK: encoding: [0x66,0x44,0x0f,0xc1,0x74,0x82,0xc0]
153 xaddw %r14w, -64(%rdx,%rax,4)
155 // CHECK: xaddw %r14w, 64(%rdx,%rax)
156 // CHECK: encoding: [0x66,0x44,0x0f,0xc1,0x74,0x02,0x40]
157 xaddw %r14w, 64(%rdx,%rax)
159 // CHECK: xaddw %r14w, %r14w
160 // CHECK: encoding: [0x66,0x45,0x0f,0xc1,0xf6]
161 xaddw %r14w, %r14w
163 // CHECK: xaddw %r14w, (%rdx)
164 // CHECK: encoding: [0x66,0x44,0x0f,0xc1,0x32]
165 xaddw %r14w, (%rdx)