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

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

# CHECK:      aesdec128kl xmm6, [rbp + 8*r14 + 268435456]
0xf3,0x42,0x0f,0x38,0xdd,0xb4,0xf5,0x00,0x00,0x00,0x10

# CHECK:      aesdec128kl xmm6, [r8 + 4*rax + 291]
0xf3,0x41,0x0f,0x38,0xdd,0xb4,0x80,0x23,0x01,0x00,0x00

# CHECK:      aesdec128kl xmm6, [rip]
0xf3,0x0f,0x38,0xdd,0x35,0x00,0x00,0x00,0x00

# CHECK:      aesdec128kl xmm6, [2*rbp - 1536]
0xf3,0x0f,0x38,0xdd,0x34,0x6d,0x00,0xfa,0xff,0xff

# CHECK:      aesdec128kl xmm6, [rcx + 6096]
0xf3,0x0f,0x38,0xdd,0xb1,0xd0,0x17,0x00,0x00

# CHECK:      aesdec128kl xmm6, [rdx - 6144]
0xf3,0x0f,0x38,0xdd,0xb2,0x00,0xe8,0xff,0xff

# CHECK:      aesdec256kl xmm6, [rbp + 8*r14 + 268435456]
0xf3,0x42,0x0f,0x38,0xdf,0xb4,0xf5,0x00,0x00,0x00,0x10

# CHECK:      aesdec256kl xmm6, [r8 + 4*rax + 291]
0xf3,0x41,0x0f,0x38,0xdf,0xb4,0x80,0x23,0x01,0x00,0x00

# CHECK:      aesdec256kl xmm6, [rip]
0xf3,0x0f,0x38,0xdf,0x35,0x00,0x00,0x00,0x00

# CHECK:      aesdec256kl xmm6, [2*rbp - 2048]
0xf3,0x0f,0x38,0xdf,0x34,0x6d,0x00,0xf8,0xff,0xff

# CHECK:      aesdec256kl xmm6, [rcx + 8128]
0xf3,0x0f,0x38,0xdf,0xb1,0xc0,0x1f,0x00,0x00

# CHECK:      aesdec256kl xmm6, [rdx - 8192]
0xf3,0x0f,0x38,0xdf,0xb2,0x00,0xe0,0xff,0xff

# CHECK:      aesenc128kl xmm6, [rbp + 8*r14 + 268435456]
0xf3,0x42,0x0f,0x38,0xdc,0xb4,0xf5,0x00,0x00,0x00,0x10

# CHECK:      aesenc128kl xmm6, [r8 + 4*rax + 291]
0xf3,0x41,0x0f,0x38,0xdc,0xb4,0x80,0x23,0x01,0x00,0x00

# CHECK:      aesenc128kl xmm6, [rip]
0xf3,0x0f,0x38,0xdc,0x35,0x00,0x00,0x00,0x00

# CHECK:      aesenc128kl xmm6, [2*rbp - 1536]
0xf3,0x0f,0x38,0xdc,0x34,0x6d,0x00,0xfa,0xff,0xff

# CHECK:      aesenc128kl xmm6, [rcx + 6096]
0xf3,0x0f,0x38,0xdc,0xb1,0xd0,0x17,0x00,0x00

# CHECK:      aesenc128kl xmm6, [rdx - 6144]
0xf3,0x0f,0x38,0xdc,0xb2,0x00,0xe8,0xff,0xff

# CHECK:      aesenc256kl xmm6, [rbp + 8*r14 + 268435456]
0xf3,0x42,0x0f,0x38,0xde,0xb4,0xf5,0x00,0x00,0x00,0x10

# CHECK:      aesenc256kl xmm6, [r8 + 4*rax + 291]
0xf3,0x41,0x0f,0x38,0xde,0xb4,0x80,0x23,0x01,0x00,0x00

# CHECK:      aesenc256kl xmm6, [rip]
0xf3,0x0f,0x38,0xde,0x35,0x00,0x00,0x00,0x00

# CHECK:      aesenc256kl xmm6, [2*rbp - 2048]
0xf3,0x0f,0x38,0xde,0x34,0x6d,0x00,0xf8,0xff,0xff

# CHECK:      aesenc256kl xmm6, [rcx + 8128]
0xf3,0x0f,0x38,0xde,0xb1,0xc0,0x1f,0x00,0x00

# CHECK:      aesenc256kl xmm6, [rdx - 8192]
0xf3,0x0f,0x38,0xde,0xb2,0x00,0xe0,0xff,0xff

# CHECK:      loadiwkey xmm6, xmm7
0xf3,0x0f,0x38,0xdc,0xf7

# CHECK:      aesdec128kl xmm6, [rbp + 8*r14 + 268435456]
0xf3,0x42,0x0f,0x38,0xdd,0xb4,0xf5,0x00,0x00,0x00,0x10

# CHECK:      aesdec128kl xmm6, [r8 + 4*rax + 291]
0xf3,0x41,0x0f,0x38,0xdd,0xb4,0x80,0x23,0x01,0x00,0x00

# CHECK:      aesdec128kl xmm6, [rip]
0xf3,0x0f,0x38,0xdd,0x35,0x00,0x00,0x00,0x00

# CHECK:      aesdec128kl xmm6, [2*rbp - 1536]
0xf3,0x0f,0x38,0xdd,0x34,0x6d,0x00,0xfa,0xff,0xff

# CHECK:      aesdec128kl xmm6, [rcx + 6096]
0xf3,0x0f,0x38,0xdd,0xb1,0xd0,0x17,0x00,0x00

# CHECK:      aesdec128kl xmm6, [rdx - 6144]
0xf3,0x0f,0x38,0xdd,0xb2,0x00,0xe8,0xff,0xff

# CHECK:      aesdec256kl xmm6, [rbp + 8*r14 + 268435456]
0xf3,0x42,0x0f,0x38,0xdf,0xb4,0xf5,0x00,0x00,0x00,0x10

# CHECK:      aesdec256kl xmm6, [r8 + 4*rax + 291]
0xf3,0x41,0x0f,0x38,0xdf,0xb4,0x80,0x23,0x01,0x00,0x00

# CHECK:      aesdec256kl xmm6, [rip]
0xf3,0x0f,0x38,0xdf,0x35,0x00,0x00,0x00,0x00

# CHECK:      aesdec256kl xmm6, [2*rbp - 2048]
0xf3,0x0f,0x38,0xdf,0x34,0x6d,0x00,0xf8,0xff,0xff

# CHECK:      aesdec256kl xmm6, [rcx + 8128]
0xf3,0x0f,0x38,0xdf,0xb1,0xc0,0x1f,0x00,0x00

# CHECK:      aesdec256kl xmm6, [rdx - 8192]
0xf3,0x0f,0x38,0xdf,0xb2,0x00,0xe0,0xff,0xff

# CHECK:      aesenc128kl xmm6, [rbp + 8*r14 + 268435456]
0xf3,0x42,0x0f,0x38,0xdc,0xb4,0xf5,0x00,0x00,0x00,0x10

# CHECK:      aesenc128kl xmm6, [r8 + 4*rax + 291]
0xf3,0x41,0x0f,0x38,0xdc,0xb4,0x80,0x23,0x01,0x00,0x00

# CHECK:      aesenc128kl xmm6, [rip]
0xf3,0x0f,0x38,0xdc,0x35,0x00,0x00,0x00,0x00

# CHECK:      aesenc128kl xmm6, [2*rbp - 1536]
0xf3,0x0f,0x38,0xdc,0x34,0x6d,0x00,0xfa,0xff,0xff

# CHECK:      aesenc128kl xmm6, [rcx + 6096]
0xf3,0x0f,0x38,0xdc,0xb1,0xd0,0x17,0x00,0x00

# CHECK:      aesenc128kl xmm6, [rdx - 6144]
0xf3,0x0f,0x38,0xdc,0xb2,0x00,0xe8,0xff,0xff

# CHECK:      aesenc256kl xmm6, [rbp + 8*r14 + 268435456]
0xf3,0x42,0x0f,0x38,0xde,0xb4,0xf5,0x00,0x00,0x00,0x10

# CHECK:      aesenc256kl xmm6, [r8 + 4*rax + 291]
0xf3,0x41,0x0f,0x38,0xde,0xb4,0x80,0x23,0x01,0x00,0x00

# CHECK:      aesenc256kl xmm6, [rip]
0xf3,0x0f,0x38,0xde,0x35,0x00,0x00,0x00,0x00

# CHECK:      aesenc256kl xmm6, [2*rbp - 2048]
0xf3,0x0f,0x38,0xde,0x34,0x6d,0x00,0xf8,0xff,0xff

# CHECK:      aesenc256kl xmm6, [rcx + 8128]
0xf3,0x0f,0x38,0xde,0xb1,0xc0,0x1f,0x00,0x00

# CHECK:      aesenc256kl xmm6, [rdx - 8192]
0xf3,0x0f,0x38,0xde,0xb2,0x00,0xe0,0xff,0xff

# CHECK:      loadiwkey xmm6, xmm7
0xf3,0x0f,0x38,0xdc,0xf7

# CHECK:      aesdecwide128kl [rbp + 8*r14 + 268435456]
0xf3,0x42,0x0f,0x38,0xd8,0x8c,0xf5,0x00,0x00,0x00,0x10

# CHECK:      aesdecwide128kl [r8 + 4*rax + 291]
0xf3,0x41,0x0f,0x38,0xd8,0x8c,0x80,0x23,0x01,0x00,0x00

# CHECK:      aesdecwide128kl [rip]
0xf3,0x0f,0x38,0xd8,0x0d,0x00,0x00,0x00,0x00

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

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

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

# CHECK:      aesdecwide256kl [rbp + 8*r14 + 268435456]
0xf3,0x42,0x0f,0x38,0xd8,0x9c,0xf5,0x00,0x00,0x00,0x10

# CHECK:      aesdecwide256kl [r8 + 4*rax + 291]
0xf3,0x41,0x0f,0x38,0xd8,0x9c,0x80,0x23,0x01,0x00,0x00

# CHECK:      aesdecwide256kl [rip]
0xf3,0x0f,0x38,0xd8,0x1d,0x00,0x00,0x00,0x00

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

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

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

# CHECK:      aesencwide128kl [rbp + 8*r14 + 268435456]
0xf3,0x42,0x0f,0x38,0xd8,0x84,0xf5,0x00,0x00,0x00,0x10

# CHECK:      aesencwide128kl [r8 + 4*rax + 291]
0xf3,0x41,0x0f,0x38,0xd8,0x84,0x80,0x23,0x01,0x00,0x00

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

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

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

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

# CHECK:      aesencwide256kl [rbp + 8*r14 + 268435456]
0xf3,0x42,0x0f,0x38,0xd8,0x94,0xf5,0x00,0x00,0x00,0x10

# CHECK:      aesencwide256kl [r8 + 4*rax + 291]
0xf3,0x41,0x0f,0x38,0xd8,0x94,0x80,0x23,0x01,0x00,0x00

# CHECK:      aesencwide256kl [rip]
0xf3,0x0f,0x38,0xd8,0x15,0x00,0x00,0x00,0x00

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

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

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