1 # RUN: llvm-mc --disassemble %s -triple=x86_64-apple-darwin9 --output-asm-variant=1 | FileCheck %s
27 # CHECK: xchg eax, r8d
40 0x05 0x00 0x00 0x00 0x00
43 0x48 0x05 0x00 0x00 0x00 0x00
52 0x15 0x00 0x00 0x00 0x00
55 0x48 0x15 0x00 0x00 0x00 0x00
64 0x3d 0x00 0x00 0x00 0x00
67 0x48 0x3d 0x00 0x00 0x00 0x00
76 0xa9 0x00 0x00 0x00 0x00
79 0x48 0xa9 0x00 0x00 0x00 0x00
108 # CHECK: vshufpd xmm0, xmm1, xmm2, 1
109 0xc5 0xf1 0xc6 0xc2 0x01
111 # CHECK: vpgatherqq ymm2, ymmword ptr [rdi + 2*ymm1], ymm0
112 0xc4 0xe2 0xfd 0x91 0x14 0x4f
114 # CHECK: vpgatherdd xmm10, xmmword ptr [r15 + 2*xmm9], xmm8
115 0xc4 0x02 0x39 0x90 0x14 0x4f
117 # CHECK: xsave64 [rax]
120 # CHECK: xrstor64 [rax]
123 # CHECK: xsaveopt64 [rax]
126 # CHECK: movabs al, byte ptr [-6066930261531658096]
127 0xa0 0x90 0x78 0x56 0x34 0x12 0xef 0xcd 0xab
129 # CHECK: movabs al, byte ptr [-6066930261531658096]
130 0x48 0xa0 0x90 0x78 0x56 0x34 0x12 0xef 0xcd 0xab
132 # CHECK: movabs ax, word ptr [-6066930261531658096]
133 0x66 0xa1 0x90 0x78 0x56 0x34 0x12 0xef 0xcd 0xab
135 # CHECK: movabs eax, dword ptr [-6066930261531658096]
136 0xa1 0x90 0x78 0x56 0x34 0x12 0xef 0xcd 0xab
138 # CHECK: movabs rax, qword ptr [-6066930261531658096]
139 0x48 0xa1 0x90 0x78 0x56 0x34 0x12 0xef 0xcd 0xab
141 # CHECK: movabs byte ptr [-6066930261531658096], al
142 0xa2 0x90 0x78 0x56 0x34 0x12 0xef 0xcd 0xab
144 # CHECK: movabs byte ptr [-6066930261531658096], al
145 0x48 0xa2 0x90 0x78 0x56 0x34 0x12 0xef 0xcd 0xab
147 # CHECK: movabs word ptr [-6066930261531658096], ax
148 0x66 0xa3 0x90 0x78 0x56 0x34 0x12 0xef 0xcd 0xab
150 # CHECK: movabs dword ptr [-6066930261531658096], eax
151 0xa3 0x90 0x78 0x56 0x34 0x12 0xef 0xcd 0xab
153 # CHECK: movabs qword ptr [-6066930261531658096], rax
154 0x48 0xa3 0x90 0x78 0x56 0x34 0x12 0xef 0xcd 0xab
156 # CHECK: lea cx, [esp + 4]
157 0x67 0x66 0x8d 0x4c 0x24 0x04
159 # CHECK: lea ecx, [esp + 4]
160 0x67 0x8d 0x4c 0x24 0x04
162 # CHECK: lea rcx, [esp + 4]
163 0x67 0x48 0x8d 0x4c 0x24 0x04
165 # CHECK: lea cx, [rsp + 4]
166 0x66 0x8d 0x4c 0x24 0x04
168 # CHECK: lea ecx, [rsp + 4]
171 # CHECK: lea rcx, [rsp + 4]
172 0x48 0x8d 0x4c 0x24 0x04