llvm/llvm/test/MC/Disassembler/X86/KEYLOCKER/Keylocker-x86-32-intel.txt

# RUN: llvm-mc --disassemble %s -triple=i386 -x86-asm-syntax=intel --output-asm-variant=1 | FileCheck %s

# CHECK:      aesdec128kl xmm2, [esp + 8*esi + 268435456]
0xf3,0x0f,0x38,0xdd,0x94,0xf4,0x00,0x00,0x00,0x10

# CHECK:      aesdec128kl xmm2, [edi + 4*eax + 291]
0xf3,0x0f,0x38,0xdd,0x94,0x87,0x23,0x01,0x00,0x00

# CHECK:      aesdec128kl xmm2, [eax]
0xf3,0x0f,0x38,0xdd,0x10

# CHECK:      aesdec128kl xmm2, [2*ebp - 1536]
0xf3,0x0f,0x38,0xdd,0x14,0x6d,0x00,0xfa,0xff,0xff

# CHECK:      aesdec128kl xmm2, [ecx + 6096]
0xf3,0x0f,0x38,0xdd,0x91,0xd0,0x17,0x00,0x00

# CHECK:      aesdec128kl xmm2, [edx - 6144]
0xf3,0x0f,0x38,0xdd,0x92,0x00,0xe8,0xff,0xff

# CHECK:      aesdec256kl xmm2, [esp + 8*esi + 268435456]
0xf3,0x0f,0x38,0xdf,0x94,0xf4,0x00,0x00,0x00,0x10

# CHECK:      aesdec256kl xmm2, [edi + 4*eax + 291]
0xf3,0x0f,0x38,0xdf,0x94,0x87,0x23,0x01,0x00,0x00

# CHECK:      aesdec256kl xmm2, [eax]
0xf3,0x0f,0x38,0xdf,0x10

# CHECK:      aesdec256kl xmm2, [2*ebp - 2048]
0xf3,0x0f,0x38,0xdf,0x14,0x6d,0x00,0xf8,0xff,0xff

# CHECK:      aesdec256kl xmm2, [ecx + 8128]
0xf3,0x0f,0x38,0xdf,0x91,0xc0,0x1f,0x00,0x00

# CHECK:      aesdec256kl xmm2, [edx - 8192]
0xf3,0x0f,0x38,0xdf,0x92,0x00,0xe0,0xff,0xff

# CHECK:      aesenc128kl xmm2, [esp + 8*esi + 268435456]
0xf3,0x0f,0x38,0xdc,0x94,0xf4,0x00,0x00,0x00,0x10

# CHECK:      aesenc128kl xmm2, [edi + 4*eax + 291]
0xf3,0x0f,0x38,0xdc,0x94,0x87,0x23,0x01,0x00,0x00

# CHECK:      aesenc128kl xmm2, [eax]
0xf3,0x0f,0x38,0xdc,0x10

# CHECK:      aesenc128kl xmm2, [2*ebp - 1536]
0xf3,0x0f,0x38,0xdc,0x14,0x6d,0x00,0xfa,0xff,0xff

# CHECK:      aesenc128kl xmm2, [ecx + 6096]
0xf3,0x0f,0x38,0xdc,0x91,0xd0,0x17,0x00,0x00

# CHECK:      aesenc128kl xmm2, [edx - 6144]
0xf3,0x0f,0x38,0xdc,0x92,0x00,0xe8,0xff,0xff

# CHECK:      aesenc256kl xmm2, [esp + 8*esi + 268435456]
0xf3,0x0f,0x38,0xde,0x94,0xf4,0x00,0x00,0x00,0x10

# CHECK:      aesenc256kl xmm2, [edi + 4*eax + 291]
0xf3,0x0f,0x38,0xde,0x94,0x87,0x23,0x01,0x00,0x00

# CHECK:      aesenc256kl xmm2, [eax]
0xf3,0x0f,0x38,0xde,0x10

# CHECK:      aesenc256kl xmm2, [2*ebp - 2048]
0xf3,0x0f,0x38,0xde,0x14,0x6d,0x00,0xf8,0xff,0xff

# CHECK:      aesenc256kl xmm2, [ecx + 8128]
0xf3,0x0f,0x38,0xde,0x91,0xc0,0x1f,0x00,0x00

# CHECK:      aesenc256kl xmm2, [edx - 8192]
0xf3,0x0f,0x38,0xde,0x92,0x00,0xe0,0xff,0xff

# CHECK:      loadiwkey xmm2, xmm3
0xf3,0x0f,0x38,0xdc,0xd3

# CHECK:      aesdec128kl xmm2, [esp + 8*esi + 268435456]
0xf3,0x0f,0x38,0xdd,0x94,0xf4,0x00,0x00,0x00,0x10

# CHECK:      aesdec128kl xmm2, [edi + 4*eax + 291]
0xf3,0x0f,0x38,0xdd,0x94,0x87,0x23,0x01,0x00,0x00

# CHECK:      aesdec128kl xmm2, [eax]
0xf3,0x0f,0x38,0xdd,0x10

# CHECK:      aesdec128kl xmm2, [2*ebp - 1536]
0xf3,0x0f,0x38,0xdd,0x14,0x6d,0x00,0xfa,0xff,0xff

# CHECK:      aesdec128kl xmm2, [ecx + 6096]
0xf3,0x0f,0x38,0xdd,0x91,0xd0,0x17,0x00,0x00

# CHECK:      aesdec128kl xmm2, [edx - 6144]
0xf3,0x0f,0x38,0xdd,0x92,0x00,0xe8,0xff,0xff

# CHECK:      aesdec256kl xmm2, [esp + 8*esi + 268435456]
0xf3,0x0f,0x38,0xdf,0x94,0xf4,0x00,0x00,0x00,0x10

# CHECK:      aesdec256kl xmm2, [edi + 4*eax + 291]
0xf3,0x0f,0x38,0xdf,0x94,0x87,0x23,0x01,0x00,0x00

# CHECK:      aesdec256kl xmm2, [eax]
0xf3,0x0f,0x38,0xdf,0x10

# CHECK:      aesdec256kl xmm2, [2*ebp - 2048]
0xf3,0x0f,0x38,0xdf,0x14,0x6d,0x00,0xf8,0xff,0xff

# CHECK:      aesdec256kl xmm2, [ecx + 8128]
0xf3,0x0f,0x38,0xdf,0x91,0xc0,0x1f,0x00,0x00

# CHECK:      aesdec256kl xmm2, [edx - 8192]
0xf3,0x0f,0x38,0xdf,0x92,0x00,0xe0,0xff,0xff

# CHECK:      aesenc128kl xmm2, [esp + 8*esi + 268435456]
0xf3,0x0f,0x38,0xdc,0x94,0xf4,0x00,0x00,0x00,0x10

# CHECK:      aesenc128kl xmm2, [edi + 4*eax + 291]
0xf3,0x0f,0x38,0xdc,0x94,0x87,0x23,0x01,0x00,0x00

# CHECK:      aesenc128kl xmm2, [eax]
0xf3,0x0f,0x38,0xdc,0x10

# CHECK:      aesenc128kl xmm2, [2*ebp - 1536]
0xf3,0x0f,0x38,0xdc,0x14,0x6d,0x00,0xfa,0xff,0xff

# CHECK:      aesenc128kl xmm2, [ecx + 6096]
0xf3,0x0f,0x38,0xdc,0x91,0xd0,0x17,0x00,0x00

# CHECK:      aesenc128kl xmm2, [edx - 6144]
0xf3,0x0f,0x38,0xdc,0x92,0x00,0xe8,0xff,0xff

# CHECK:      aesenc256kl xmm2, [esp + 8*esi + 268435456]
0xf3,0x0f,0x38,0xde,0x94,0xf4,0x00,0x00,0x00,0x10

# CHECK:      aesenc256kl xmm2, [edi + 4*eax + 291]
0xf3,0x0f,0x38,0xde,0x94,0x87,0x23,0x01,0x00,0x00

# CHECK:      aesenc256kl xmm2, [eax]
0xf3,0x0f,0x38,0xde,0x10

# CHECK:      aesenc256kl xmm2, [2*ebp - 2048]
0xf3,0x0f,0x38,0xde,0x14,0x6d,0x00,0xf8,0xff,0xff

# CHECK:      aesenc256kl xmm2, [ecx + 8128]
0xf3,0x0f,0x38,0xde,0x91,0xc0,0x1f,0x00,0x00

# CHECK:      aesenc256kl xmm2, [edx - 8192]
0xf3,0x0f,0x38,0xde,0x92,0x00,0xe0,0xff,0xff

# CHECK:      loadiwkey xmm2, xmm3
0xf3,0x0f,0x38,0xdc,0xd3

# CHECK:      aesdecwide128kl [esp + 8*esi + 268435456]
0xf3,0x0f,0x38,0xd8,0x8c,0xf4,0x00,0x00,0x00,0x10

# CHECK:      aesdecwide128kl [edi + 4*eax + 291]
0xf3,0x0f,0x38,0xd8,0x8c,0x87,0x23,0x01,0x00,0x00

# CHECK:      aesdecwide128kl [eax]
0xf3,0x0f,0x38,0xd8,0x08

# CHECK:      aesdecwide128kl [2*ebp - 1536]
0xf3,0x0f,0x38,0xd8,0x0c,0x6d,0x00,0xfa,0xff,0xff

# CHECK:      aesdecwide128kl [ecx + 6096]
0xf3,0x0f,0x38,0xd8,0x89,0xd0,0x17,0x00,0x00

# CHECK:      aesdecwide128kl [edx - 6144]
0xf3,0x0f,0x38,0xd8,0x8a,0x00,0xe8,0xff,0xff

# CHECK:      aesdecwide256kl [esp + 8*esi + 268435456]
0xf3,0x0f,0x38,0xd8,0x9c,0xf4,0x00,0x00,0x00,0x10

# CHECK:      aesdecwide256kl [edi + 4*eax + 291]
0xf3,0x0f,0x38,0xd8,0x9c,0x87,0x23,0x01,0x00,0x00

# CHECK:      aesdecwide256kl [eax]
0xf3,0x0f,0x38,0xd8,0x18

# CHECK:      aesdecwide256kl [2*ebp - 2048]
0xf3,0x0f,0x38,0xd8,0x1c,0x6d,0x00,0xf8,0xff,0xff

# CHECK:      aesdecwide256kl [ecx + 8128]
0xf3,0x0f,0x38,0xd8,0x99,0xc0,0x1f,0x00,0x00

# CHECK:      aesdecwide256kl [edx - 8192]
0xf3,0x0f,0x38,0xd8,0x9a,0x00,0xe0,0xff,0xff

# CHECK:      aesencwide128kl [esp + 8*esi + 268435456]
0xf3,0x0f,0x38,0xd8,0x84,0xf4,0x00,0x00,0x00,0x10

# CHECK:      aesencwide128kl [edi + 4*eax + 291]
0xf3,0x0f,0x38,0xd8,0x84,0x87,0x23,0x01,0x00,0x00

# CHECK:      aesencwide128kl [eax]
0xf3,0x0f,0x38,0xd8,0x00

# CHECK:      aesencwide128kl [2*ebp - 1536]
0xf3,0x0f,0x38,0xd8,0x04,0x6d,0x00,0xfa,0xff,0xff

# CHECK:      aesencwide128kl [ecx + 6096]
0xf3,0x0f,0x38,0xd8,0x81,0xd0,0x17,0x00,0x00

# CHECK:      aesencwide128kl [edx - 6144]
0xf3,0x0f,0x38,0xd8,0x82,0x00,0xe8,0xff,0xff

# CHECK:      aesencwide256kl [esp + 8*esi + 268435456]
0xf3,0x0f,0x38,0xd8,0x94,0xf4,0x00,0x00,0x00,0x10

# CHECK:      aesencwide256kl [edi + 4*eax + 291]
0xf3,0x0f,0x38,0xd8,0x94,0x87,0x23,0x01,0x00,0x00

# CHECK:      aesencwide256kl [eax]
0xf3,0x0f,0x38,0xd8,0x10

# CHECK:      aesencwide256kl [2*ebp - 2048]
0xf3,0x0f,0x38,0xd8,0x14,0x6d,0x00,0xf8,0xff,0xff

# CHECK:      aesencwide256kl [ecx + 8128]
0xf3,0x0f,0x38,0xd8,0x91,0xc0,0x1f,0x00,0x00

# CHECK:      aesencwide256kl [edx - 8192]
0xf3,0x0f,0x38,0xd8,0x92,0x00,0xe0,0xff,0xff