1# RUN: llvm-mc --disassemble %s -triple=x86_64 -x86-asm-syntax=intel --output-asm-variant=1 | FileCheck %s 2 3# CHECK: aesdec128kl xmm6, [rbp + 8*r14 + 268435456] 40xf3,0x42,0x0f,0x38,0xdd,0xb4,0xf5,0x00,0x00,0x00,0x10 5 6# CHECK: aesdec128kl xmm6, [r8 + 4*rax + 291] 70xf3,0x41,0x0f,0x38,0xdd,0xb4,0x80,0x23,0x01,0x00,0x00 8 9# CHECK: aesdec128kl xmm6, [rip] 100xf3,0x0f,0x38,0xdd,0x35,0x00,0x00,0x00,0x00 11 12# CHECK: aesdec128kl xmm6, [2*rbp - 1536] 130xf3,0x0f,0x38,0xdd,0x34,0x6d,0x00,0xfa,0xff,0xff 14 15# CHECK: aesdec128kl xmm6, [rcx + 6096] 160xf3,0x0f,0x38,0xdd,0xb1,0xd0,0x17,0x00,0x00 17 18# CHECK: aesdec128kl xmm6, [rdx - 6144] 190xf3,0x0f,0x38,0xdd,0xb2,0x00,0xe8,0xff,0xff 20 21# CHECK: aesdec256kl xmm6, [rbp + 8*r14 + 268435456] 220xf3,0x42,0x0f,0x38,0xdf,0xb4,0xf5,0x00,0x00,0x00,0x10 23 24# CHECK: aesdec256kl xmm6, [r8 + 4*rax + 291] 250xf3,0x41,0x0f,0x38,0xdf,0xb4,0x80,0x23,0x01,0x00,0x00 26 27# CHECK: aesdec256kl xmm6, [rip] 280xf3,0x0f,0x38,0xdf,0x35,0x00,0x00,0x00,0x00 29 30# CHECK: aesdec256kl xmm6, [2*rbp - 2048] 310xf3,0x0f,0x38,0xdf,0x34,0x6d,0x00,0xf8,0xff,0xff 32 33# CHECK: aesdec256kl xmm6, [rcx + 8128] 340xf3,0x0f,0x38,0xdf,0xb1,0xc0,0x1f,0x00,0x00 35 36# CHECK: aesdec256kl xmm6, [rdx - 8192] 370xf3,0x0f,0x38,0xdf,0xb2,0x00,0xe0,0xff,0xff 38 39# CHECK: aesenc128kl xmm6, [rbp + 8*r14 + 268435456] 400xf3,0x42,0x0f,0x38,0xdc,0xb4,0xf5,0x00,0x00,0x00,0x10 41 42# CHECK: aesenc128kl xmm6, [r8 + 4*rax + 291] 430xf3,0x41,0x0f,0x38,0xdc,0xb4,0x80,0x23,0x01,0x00,0x00 44 45# CHECK: aesenc128kl xmm6, [rip] 460xf3,0x0f,0x38,0xdc,0x35,0x00,0x00,0x00,0x00 47 48# CHECK: aesenc128kl xmm6, [2*rbp - 1536] 490xf3,0x0f,0x38,0xdc,0x34,0x6d,0x00,0xfa,0xff,0xff 50 51# CHECK: aesenc128kl xmm6, [rcx + 6096] 520xf3,0x0f,0x38,0xdc,0xb1,0xd0,0x17,0x00,0x00 53 54# CHECK: aesenc128kl xmm6, [rdx - 6144] 550xf3,0x0f,0x38,0xdc,0xb2,0x00,0xe8,0xff,0xff 56 57# CHECK: aesenc256kl xmm6, [rbp + 8*r14 + 268435456] 580xf3,0x42,0x0f,0x38,0xde,0xb4,0xf5,0x00,0x00,0x00,0x10 59 60# CHECK: aesenc256kl xmm6, [r8 + 4*rax + 291] 610xf3,0x41,0x0f,0x38,0xde,0xb4,0x80,0x23,0x01,0x00,0x00 62 63# CHECK: aesenc256kl xmm6, [rip] 640xf3,0x0f,0x38,0xde,0x35,0x00,0x00,0x00,0x00 65 66# CHECK: aesenc256kl xmm6, [2*rbp - 2048] 670xf3,0x0f,0x38,0xde,0x34,0x6d,0x00,0xf8,0xff,0xff 68 69# CHECK: aesenc256kl xmm6, [rcx + 8128] 700xf3,0x0f,0x38,0xde,0xb1,0xc0,0x1f,0x00,0x00 71 72# CHECK: aesenc256kl xmm6, [rdx - 8192] 730xf3,0x0f,0x38,0xde,0xb2,0x00,0xe0,0xff,0xff 74 75# CHECK: loadiwkey xmm6, xmm7 760xf3,0x0f,0x38,0xdc,0xf7 77 78# CHECK: aesdec128kl xmm6, [rbp + 8*r14 + 268435456] 790xf3,0x42,0x0f,0x38,0xdd,0xb4,0xf5,0x00,0x00,0x00,0x10 80 81# CHECK: aesdec128kl xmm6, [r8 + 4*rax + 291] 820xf3,0x41,0x0f,0x38,0xdd,0xb4,0x80,0x23,0x01,0x00,0x00 83 84# CHECK: aesdec128kl xmm6, [rip] 850xf3,0x0f,0x38,0xdd,0x35,0x00,0x00,0x00,0x00 86 87# CHECK: aesdec128kl xmm6, [2*rbp - 1536] 880xf3,0x0f,0x38,0xdd,0x34,0x6d,0x00,0xfa,0xff,0xff 89 90# CHECK: aesdec128kl xmm6, [rcx + 6096] 910xf3,0x0f,0x38,0xdd,0xb1,0xd0,0x17,0x00,0x00 92 93# CHECK: aesdec128kl xmm6, [rdx - 6144] 940xf3,0x0f,0x38,0xdd,0xb2,0x00,0xe8,0xff,0xff 95 96# CHECK: aesdec256kl xmm6, [rbp + 8*r14 + 268435456] 970xf3,0x42,0x0f,0x38,0xdf,0xb4,0xf5,0x00,0x00,0x00,0x10 98 99# CHECK: aesdec256kl xmm6, [r8 + 4*rax + 291] 1000xf3,0x41,0x0f,0x38,0xdf,0xb4,0x80,0x23,0x01,0x00,0x00 101 102# CHECK: aesdec256kl xmm6, [rip] 1030xf3,0x0f,0x38,0xdf,0x35,0x00,0x00,0x00,0x00 104 105# CHECK: aesdec256kl xmm6, [2*rbp - 2048] 1060xf3,0x0f,0x38,0xdf,0x34,0x6d,0x00,0xf8,0xff,0xff 107 108# CHECK: aesdec256kl xmm6, [rcx + 8128] 1090xf3,0x0f,0x38,0xdf,0xb1,0xc0,0x1f,0x00,0x00 110 111# CHECK: aesdec256kl xmm6, [rdx - 8192] 1120xf3,0x0f,0x38,0xdf,0xb2,0x00,0xe0,0xff,0xff 113 114# CHECK: aesenc128kl xmm6, [rbp + 8*r14 + 268435456] 1150xf3,0x42,0x0f,0x38,0xdc,0xb4,0xf5,0x00,0x00,0x00,0x10 116 117# CHECK: aesenc128kl xmm6, [r8 + 4*rax + 291] 1180xf3,0x41,0x0f,0x38,0xdc,0xb4,0x80,0x23,0x01,0x00,0x00 119 120# CHECK: aesenc128kl xmm6, [rip] 1210xf3,0x0f,0x38,0xdc,0x35,0x00,0x00,0x00,0x00 122 123# CHECK: aesenc128kl xmm6, [2*rbp - 1536] 1240xf3,0x0f,0x38,0xdc,0x34,0x6d,0x00,0xfa,0xff,0xff 125 126# CHECK: aesenc128kl xmm6, [rcx + 6096] 1270xf3,0x0f,0x38,0xdc,0xb1,0xd0,0x17,0x00,0x00 128 129# CHECK: aesenc128kl xmm6, [rdx - 6144] 1300xf3,0x0f,0x38,0xdc,0xb2,0x00,0xe8,0xff,0xff 131 132# CHECK: aesenc256kl xmm6, [rbp + 8*r14 + 268435456] 1330xf3,0x42,0x0f,0x38,0xde,0xb4,0xf5,0x00,0x00,0x00,0x10 134 135# CHECK: aesenc256kl xmm6, [r8 + 4*rax + 291] 1360xf3,0x41,0x0f,0x38,0xde,0xb4,0x80,0x23,0x01,0x00,0x00 137 138# CHECK: aesenc256kl xmm6, [rip] 1390xf3,0x0f,0x38,0xde,0x35,0x00,0x00,0x00,0x00 140 141# CHECK: aesenc256kl xmm6, [2*rbp - 2048] 1420xf3,0x0f,0x38,0xde,0x34,0x6d,0x00,0xf8,0xff,0xff 143 144# CHECK: aesenc256kl xmm6, [rcx + 8128] 1450xf3,0x0f,0x38,0xde,0xb1,0xc0,0x1f,0x00,0x00 146 147# CHECK: aesenc256kl xmm6, [rdx - 8192] 1480xf3,0x0f,0x38,0xde,0xb2,0x00,0xe0,0xff,0xff 149 150# CHECK: loadiwkey xmm6, xmm7 1510xf3,0x0f,0x38,0xdc,0xf7 152 153# CHECK: aesdecwide128kl [rbp + 8*r14 + 268435456] 1540xf3,0x42,0x0f,0x38,0xd8,0x8c,0xf5,0x00,0x00,0x00,0x10 155 156# CHECK: aesdecwide128kl [r8 + 4*rax + 291] 1570xf3,0x41,0x0f,0x38,0xd8,0x8c,0x80,0x23,0x01,0x00,0x00 158 159# CHECK: aesdecwide128kl [rip] 1600xf3,0x0f,0x38,0xd8,0x0d,0x00,0x00,0x00,0x00 161 162# CHECK: aesdecwide128kl [2*rbp - 1536] 1630xf3,0x0f,0x38,0xd8,0x0c,0x6d,0x00,0xfa,0xff,0xff 164 165# CHECK: aesdecwide128kl [rcx + 6096] 1660xf3,0x0f,0x38,0xd8,0x89,0xd0,0x17,0x00,0x00 167 168# CHECK: aesdecwide128kl [rdx - 6144] 1690xf3,0x0f,0x38,0xd8,0x8a,0x00,0xe8,0xff,0xff 170 171# CHECK: aesdecwide256kl [rbp + 8*r14 + 268435456] 1720xf3,0x42,0x0f,0x38,0xd8,0x9c,0xf5,0x00,0x00,0x00,0x10 173 174# CHECK: aesdecwide256kl [r8 + 4*rax + 291] 1750xf3,0x41,0x0f,0x38,0xd8,0x9c,0x80,0x23,0x01,0x00,0x00 176 177# CHECK: aesdecwide256kl [rip] 1780xf3,0x0f,0x38,0xd8,0x1d,0x00,0x00,0x00,0x00 179 180# CHECK: aesdecwide256kl [2*rbp - 2048] 1810xf3,0x0f,0x38,0xd8,0x1c,0x6d,0x00,0xf8,0xff,0xff 182 183# CHECK: aesdecwide256kl [rcx + 8128] 1840xf3,0x0f,0x38,0xd8,0x99,0xc0,0x1f,0x00,0x00 185 186# CHECK: aesdecwide256kl [rdx - 8192] 1870xf3,0x0f,0x38,0xd8,0x9a,0x00,0xe0,0xff,0xff 188 189# CHECK: aesencwide128kl [rbp + 8*r14 + 268435456] 1900xf3,0x42,0x0f,0x38,0xd8,0x84,0xf5,0x00,0x00,0x00,0x10 191 192# CHECK: aesencwide128kl [r8 + 4*rax + 291] 1930xf3,0x41,0x0f,0x38,0xd8,0x84,0x80,0x23,0x01,0x00,0x00 194 195# CHECK: aesencwide128kl [rip] 1960xf3,0x0f,0x38,0xd8,0x05,0x00,0x00,0x00,0x00 197 198# CHECK: aesencwide128kl [2*rbp - 1536] 1990xf3,0x0f,0x38,0xd8,0x04,0x6d,0x00,0xfa,0xff,0xff 200 201# CHECK: aesencwide128kl [rcx + 6096] 2020xf3,0x0f,0x38,0xd8,0x81,0xd0,0x17,0x00,0x00 203 204# CHECK: aesencwide128kl [rdx - 6144] 2050xf3,0x0f,0x38,0xd8,0x82,0x00,0xe8,0xff,0xff 206 207# CHECK: aesencwide256kl [rbp + 8*r14 + 268435456] 2080xf3,0x42,0x0f,0x38,0xd8,0x94,0xf5,0x00,0x00,0x00,0x10 209 210# CHECK: aesencwide256kl [r8 + 4*rax + 291] 2110xf3,0x41,0x0f,0x38,0xd8,0x94,0x80,0x23,0x01,0x00,0x00 212 213# CHECK: aesencwide256kl [rip] 2140xf3,0x0f,0x38,0xd8,0x15,0x00,0x00,0x00,0x00 215 216# CHECK: aesencwide256kl [2*rbp - 2048] 2170xf3,0x0f,0x38,0xd8,0x14,0x6d,0x00,0xf8,0xff,0xff 218 219# CHECK: aesencwide256kl [rcx + 8128] 2200xf3,0x0f,0x38,0xd8,0x91,0xc0,0x1f,0x00,0x00 221 222# CHECK: aesencwide256kl [rdx - 8192] 2230xf3,0x0f,0x38,0xd8,0x92,0x00,0xe0,0xff,0xff 224