1// RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck %s 2 3// CHECK: blendpd $0, 485498096, %xmm6 4// CHECK: encoding: [0x66,0x0f,0x3a,0x0d,0x34,0x25,0xf0,0x1c,0xf0,0x1c,0x00] 5blendpd $0, 485498096, %xmm6 6 7// CHECK: blendpd $0, 64(%rdx,%rax,4), %xmm6 8// CHECK: encoding: [0x66,0x0f,0x3a,0x0d,0x74,0x82,0x40,0x00] 9blendpd $0, 64(%rdx,%rax,4), %xmm6 10 11// CHECK: blendpd $0, -64(%rdx,%rax,4), %xmm6 12// CHECK: encoding: [0x66,0x0f,0x3a,0x0d,0x74,0x82,0xc0,0x00] 13blendpd $0, -64(%rdx,%rax,4), %xmm6 14 15// CHECK: blendpd $0, 64(%rdx,%rax), %xmm6 16// CHECK: encoding: [0x66,0x0f,0x3a,0x0d,0x74,0x02,0x40,0x00] 17blendpd $0, 64(%rdx,%rax), %xmm6 18 19// CHECK: blendpd $0, 64(%rdx), %xmm6 20// CHECK: encoding: [0x66,0x0f,0x3a,0x0d,0x72,0x40,0x00] 21blendpd $0, 64(%rdx), %xmm6 22 23// CHECK: blendpd $0, (%rdx), %xmm6 24// CHECK: encoding: [0x66,0x0f,0x3a,0x0d,0x32,0x00] 25blendpd $0, (%rdx), %xmm6 26 27// CHECK: blendpd $0, %xmm6, %xmm6 28// CHECK: encoding: [0x66,0x0f,0x3a,0x0d,0xf6,0x00] 29blendpd $0, %xmm6, %xmm6 30 31// CHECK: blendps $0, 485498096, %xmm6 32// CHECK: encoding: [0x66,0x0f,0x3a,0x0c,0x34,0x25,0xf0,0x1c,0xf0,0x1c,0x00] 33blendps $0, 485498096, %xmm6 34 35// CHECK: blendps $0, 64(%rdx,%rax,4), %xmm6 36// CHECK: encoding: [0x66,0x0f,0x3a,0x0c,0x74,0x82,0x40,0x00] 37blendps $0, 64(%rdx,%rax,4), %xmm6 38 39// CHECK: blendps $0, -64(%rdx,%rax,4), %xmm6 40// CHECK: encoding: [0x66,0x0f,0x3a,0x0c,0x74,0x82,0xc0,0x00] 41blendps $0, -64(%rdx,%rax,4), %xmm6 42 43// CHECK: blendps $0, 64(%rdx,%rax), %xmm6 44// CHECK: encoding: [0x66,0x0f,0x3a,0x0c,0x74,0x02,0x40,0x00] 45blendps $0, 64(%rdx,%rax), %xmm6 46 47// CHECK: blendps $0, 64(%rdx), %xmm6 48// CHECK: encoding: [0x66,0x0f,0x3a,0x0c,0x72,0x40,0x00] 49blendps $0, 64(%rdx), %xmm6 50 51// CHECK: blendps $0, (%rdx), %xmm6 52// CHECK: encoding: [0x66,0x0f,0x3a,0x0c,0x32,0x00] 53blendps $0, (%rdx), %xmm6 54 55// CHECK: blendps $0, %xmm6, %xmm6 56// CHECK: encoding: [0x66,0x0f,0x3a,0x0c,0xf6,0x00] 57blendps $0, %xmm6, %xmm6 58 59// CHECK: blendvpd %xmm0, 485498096, %xmm6 60// CHECK: encoding: [0x66,0x0f,0x38,0x15,0x34,0x25,0xf0,0x1c,0xf0,0x1c] 61blendvpd %xmm0, 485498096, %xmm6 62 63// CHECK: blendvpd %xmm0, 64(%rdx,%rax,4), %xmm6 64// CHECK: encoding: [0x66,0x0f,0x38,0x15,0x74,0x82,0x40] 65blendvpd %xmm0, 64(%rdx,%rax,4), %xmm6 66 67// CHECK: blendvpd %xmm0, -64(%rdx,%rax,4), %xmm6 68// CHECK: encoding: [0x66,0x0f,0x38,0x15,0x74,0x82,0xc0] 69blendvpd %xmm0, -64(%rdx,%rax,4), %xmm6 70 71// CHECK: blendvpd %xmm0, 64(%rdx,%rax), %xmm6 72// CHECK: encoding: [0x66,0x0f,0x38,0x15,0x74,0x02,0x40] 73blendvpd %xmm0, 64(%rdx,%rax), %xmm6 74 75// CHECK: blendvpd %xmm0, 64(%rdx), %xmm6 76// CHECK: encoding: [0x66,0x0f,0x38,0x15,0x72,0x40] 77blendvpd %xmm0, 64(%rdx), %xmm6 78 79// CHECK: blendvpd %xmm0, (%rdx), %xmm6 80// CHECK: encoding: [0x66,0x0f,0x38,0x15,0x32] 81blendvpd %xmm0, (%rdx), %xmm6 82 83// CHECK: blendvpd %xmm0, %xmm6, %xmm6 84// CHECK: encoding: [0x66,0x0f,0x38,0x15,0xf6] 85blendvpd %xmm0, %xmm6, %xmm6 86 87// CHECK: blendvps %xmm0, 485498096, %xmm6 88// CHECK: encoding: [0x66,0x0f,0x38,0x14,0x34,0x25,0xf0,0x1c,0xf0,0x1c] 89blendvps %xmm0, 485498096, %xmm6 90 91// CHECK: blendvps %xmm0, 64(%rdx,%rax,4), %xmm6 92// CHECK: encoding: [0x66,0x0f,0x38,0x14,0x74,0x82,0x40] 93blendvps %xmm0, 64(%rdx,%rax,4), %xmm6 94 95// CHECK: blendvps %xmm0, -64(%rdx,%rax,4), %xmm6 96// CHECK: encoding: [0x66,0x0f,0x38,0x14,0x74,0x82,0xc0] 97blendvps %xmm0, -64(%rdx,%rax,4), %xmm6 98 99// CHECK: blendvps %xmm0, 64(%rdx,%rax), %xmm6 100// CHECK: encoding: [0x66,0x0f,0x38,0x14,0x74,0x02,0x40] 101blendvps %xmm0, 64(%rdx,%rax), %xmm6 102 103// CHECK: blendvps %xmm0, 64(%rdx), %xmm6 104// CHECK: encoding: [0x66,0x0f,0x38,0x14,0x72,0x40] 105blendvps %xmm0, 64(%rdx), %xmm6 106 107// CHECK: blendvps %xmm0, (%rdx), %xmm6 108// CHECK: encoding: [0x66,0x0f,0x38,0x14,0x32] 109blendvps %xmm0, (%rdx), %xmm6 110 111// CHECK: blendvps %xmm0, %xmm6, %xmm6 112// CHECK: encoding: [0x66,0x0f,0x38,0x14,0xf6] 113blendvps %xmm0, %xmm6, %xmm6 114 115// CHECK: dppd $0, 485498096, %xmm6 116// CHECK: encoding: [0x66,0x0f,0x3a,0x41,0x34,0x25,0xf0,0x1c,0xf0,0x1c,0x00] 117dppd $0, 485498096, %xmm6 118 119// CHECK: dppd $0, 64(%rdx,%rax,4), %xmm6 120// CHECK: encoding: [0x66,0x0f,0x3a,0x41,0x74,0x82,0x40,0x00] 121dppd $0, 64(%rdx,%rax,4), %xmm6 122 123// CHECK: dppd $0, -64(%rdx,%rax,4), %xmm6 124// CHECK: encoding: [0x66,0x0f,0x3a,0x41,0x74,0x82,0xc0,0x00] 125dppd $0, -64(%rdx,%rax,4), %xmm6 126 127// CHECK: dppd $0, 64(%rdx,%rax), %xmm6 128// CHECK: encoding: [0x66,0x0f,0x3a,0x41,0x74,0x02,0x40,0x00] 129dppd $0, 64(%rdx,%rax), %xmm6 130 131// CHECK: dppd $0, 64(%rdx), %xmm6 132// CHECK: encoding: [0x66,0x0f,0x3a,0x41,0x72,0x40,0x00] 133dppd $0, 64(%rdx), %xmm6 134 135// CHECK: dppd $0, (%rdx), %xmm6 136// CHECK: encoding: [0x66,0x0f,0x3a,0x41,0x32,0x00] 137dppd $0, (%rdx), %xmm6 138 139// CHECK: dppd $0, %xmm6, %xmm6 140// CHECK: encoding: [0x66,0x0f,0x3a,0x41,0xf6,0x00] 141dppd $0, %xmm6, %xmm6 142 143// CHECK: dpps $0, 485498096, %xmm6 144// CHECK: encoding: [0x66,0x0f,0x3a,0x40,0x34,0x25,0xf0,0x1c,0xf0,0x1c,0x00] 145dpps $0, 485498096, %xmm6 146 147// CHECK: dpps $0, 64(%rdx,%rax,4), %xmm6 148// CHECK: encoding: [0x66,0x0f,0x3a,0x40,0x74,0x82,0x40,0x00] 149dpps $0, 64(%rdx,%rax,4), %xmm6 150 151// CHECK: dpps $0, -64(%rdx,%rax,4), %xmm6 152// CHECK: encoding: [0x66,0x0f,0x3a,0x40,0x74,0x82,0xc0,0x00] 153dpps $0, -64(%rdx,%rax,4), %xmm6 154 155// CHECK: dpps $0, 64(%rdx,%rax), %xmm6 156// CHECK: encoding: [0x66,0x0f,0x3a,0x40,0x74,0x02,0x40,0x00] 157dpps $0, 64(%rdx,%rax), %xmm6 158 159// CHECK: dpps $0, 64(%rdx), %xmm6 160// CHECK: encoding: [0x66,0x0f,0x3a,0x40,0x72,0x40,0x00] 161dpps $0, 64(%rdx), %xmm6 162 163// CHECK: dpps $0, (%rdx), %xmm6 164// CHECK: encoding: [0x66,0x0f,0x3a,0x40,0x32,0x00] 165dpps $0, (%rdx), %xmm6 166 167// CHECK: dpps $0, %xmm6, %xmm6 168// CHECK: encoding: [0x66,0x0f,0x3a,0x40,0xf6,0x00] 169dpps $0, %xmm6, %xmm6 170 171// CHECK: extractps $0, %xmm6, 485498096 172// CHECK: encoding: [0x66,0x0f,0x3a,0x17,0x34,0x25,0xf0,0x1c,0xf0,0x1c,0x00] 173extractps $0, %xmm6, 485498096 174 175// CHECK: extractps $0, %xmm6, 64(%rdx) 176// CHECK: encoding: [0x66,0x0f,0x3a,0x17,0x72,0x40,0x00] 177extractps $0, %xmm6, 64(%rdx) 178 179// CHECK: extractps $0, %xmm6, 64(%rdx,%rax,4) 180// CHECK: encoding: [0x66,0x0f,0x3a,0x17,0x74,0x82,0x40,0x00] 181extractps $0, %xmm6, 64(%rdx,%rax,4) 182 183// CHECK: extractps $0, %xmm6, -64(%rdx,%rax,4) 184// CHECK: encoding: [0x66,0x0f,0x3a,0x17,0x74,0x82,0xc0,0x00] 185extractps $0, %xmm6, -64(%rdx,%rax,4) 186 187// CHECK: extractps $0, %xmm6, 64(%rdx,%rax) 188// CHECK: encoding: [0x66,0x0f,0x3a,0x17,0x74,0x02,0x40,0x00] 189extractps $0, %xmm6, 64(%rdx,%rax) 190 191// CHECK: extractps $0, %xmm6, %r13d 192// CHECK: encoding: [0x66,0x41,0x0f,0x3a,0x17,0xf5,0x00] 193extractps $0, %xmm6, %r13d 194 195// CHECK: extractps $0, %xmm6, (%rdx) 196// CHECK: encoding: [0x66,0x0f,0x3a,0x17,0x32,0x00] 197extractps $0, %xmm6, (%rdx) 198 199// CHECK: insertps $0, 485498096, %xmm6 200// CHECK: encoding: [0x66,0x0f,0x3a,0x21,0x34,0x25,0xf0,0x1c,0xf0,0x1c,0x00] 201insertps $0, 485498096, %xmm6 202 203// CHECK: insertps $0, 64(%rdx,%rax,4), %xmm6 204// CHECK: encoding: [0x66,0x0f,0x3a,0x21,0x74,0x82,0x40,0x00] 205insertps $0, 64(%rdx,%rax,4), %xmm6 206 207// CHECK: insertps $0, -64(%rdx,%rax,4), %xmm6 208// CHECK: encoding: [0x66,0x0f,0x3a,0x21,0x74,0x82,0xc0,0x00] 209insertps $0, -64(%rdx,%rax,4), %xmm6 210 211// CHECK: insertps $0, 64(%rdx,%rax), %xmm6 212// CHECK: encoding: [0x66,0x0f,0x3a,0x21,0x74,0x02,0x40,0x00] 213insertps $0, 64(%rdx,%rax), %xmm6 214 215// CHECK: insertps $0, 64(%rdx), %xmm6 216// CHECK: encoding: [0x66,0x0f,0x3a,0x21,0x72,0x40,0x00] 217insertps $0, 64(%rdx), %xmm6 218 219// CHECK: insertps $0, (%rdx), %xmm6 220// CHECK: encoding: [0x66,0x0f,0x3a,0x21,0x32,0x00] 221insertps $0, (%rdx), %xmm6 222 223// CHECK: insertps $0, %xmm6, %xmm6 224// CHECK: encoding: [0x66,0x0f,0x3a,0x21,0xf6,0x00] 225insertps $0, %xmm6, %xmm6 226 227// CHECK: movntdqa 485498096, %xmm6 228// CHECK: encoding: [0x66,0x0f,0x38,0x2a,0x34,0x25,0xf0,0x1c,0xf0,0x1c] 229movntdqa 485498096, %xmm6 230 231// CHECK: movntdqa 64(%rdx,%rax,4), %xmm6 232// CHECK: encoding: [0x66,0x0f,0x38,0x2a,0x74,0x82,0x40] 233movntdqa 64(%rdx,%rax,4), %xmm6 234 235// CHECK: movntdqa -64(%rdx,%rax,4), %xmm6 236// CHECK: encoding: [0x66,0x0f,0x38,0x2a,0x74,0x82,0xc0] 237movntdqa -64(%rdx,%rax,4), %xmm6 238 239// CHECK: movntdqa 64(%rdx,%rax), %xmm6 240// CHECK: encoding: [0x66,0x0f,0x38,0x2a,0x74,0x02,0x40] 241movntdqa 64(%rdx,%rax), %xmm6 242 243// CHECK: movntdqa 64(%rdx), %xmm6 244// CHECK: encoding: [0x66,0x0f,0x38,0x2a,0x72,0x40] 245movntdqa 64(%rdx), %xmm6 246 247// CHECK: movntdqa (%rdx), %xmm6 248// CHECK: encoding: [0x66,0x0f,0x38,0x2a,0x32] 249movntdqa (%rdx), %xmm6 250 251// CHECK: mpsadbw $0, 485498096, %xmm6 252// CHECK: encoding: [0x66,0x0f,0x3a,0x42,0x34,0x25,0xf0,0x1c,0xf0,0x1c,0x00] 253mpsadbw $0, 485498096, %xmm6 254 255// CHECK: mpsadbw $0, 64(%rdx,%rax,4), %xmm6 256// CHECK: encoding: [0x66,0x0f,0x3a,0x42,0x74,0x82,0x40,0x00] 257mpsadbw $0, 64(%rdx,%rax,4), %xmm6 258 259// CHECK: mpsadbw $0, -64(%rdx,%rax,4), %xmm6 260// CHECK: encoding: [0x66,0x0f,0x3a,0x42,0x74,0x82,0xc0,0x00] 261mpsadbw $0, -64(%rdx,%rax,4), %xmm6 262 263// CHECK: mpsadbw $0, 64(%rdx,%rax), %xmm6 264// CHECK: encoding: [0x66,0x0f,0x3a,0x42,0x74,0x02,0x40,0x00] 265mpsadbw $0, 64(%rdx,%rax), %xmm6 266 267// CHECK: mpsadbw $0, 64(%rdx), %xmm6 268// CHECK: encoding: [0x66,0x0f,0x3a,0x42,0x72,0x40,0x00] 269mpsadbw $0, 64(%rdx), %xmm6 270 271// CHECK: mpsadbw $0, (%rdx), %xmm6 272// CHECK: encoding: [0x66,0x0f,0x3a,0x42,0x32,0x00] 273mpsadbw $0, (%rdx), %xmm6 274 275// CHECK: mpsadbw $0, %xmm6, %xmm6 276// CHECK: encoding: [0x66,0x0f,0x3a,0x42,0xf6,0x00] 277mpsadbw $0, %xmm6, %xmm6 278 279// CHECK: packusdw 485498096, %xmm6 280// CHECK: encoding: [0x66,0x0f,0x38,0x2b,0x34,0x25,0xf0,0x1c,0xf0,0x1c] 281packusdw 485498096, %xmm6 282 283// CHECK: packusdw 64(%rdx,%rax,4), %xmm6 284// CHECK: encoding: [0x66,0x0f,0x38,0x2b,0x74,0x82,0x40] 285packusdw 64(%rdx,%rax,4), %xmm6 286 287// CHECK: packusdw -64(%rdx,%rax,4), %xmm6 288// CHECK: encoding: [0x66,0x0f,0x38,0x2b,0x74,0x82,0xc0] 289packusdw -64(%rdx,%rax,4), %xmm6 290 291// CHECK: packusdw 64(%rdx,%rax), %xmm6 292// CHECK: encoding: [0x66,0x0f,0x38,0x2b,0x74,0x02,0x40] 293packusdw 64(%rdx,%rax), %xmm6 294 295// CHECK: packusdw 64(%rdx), %xmm6 296// CHECK: encoding: [0x66,0x0f,0x38,0x2b,0x72,0x40] 297packusdw 64(%rdx), %xmm6 298 299// CHECK: packusdw (%rdx), %xmm6 300// CHECK: encoding: [0x66,0x0f,0x38,0x2b,0x32] 301packusdw (%rdx), %xmm6 302 303// CHECK: packusdw %xmm6, %xmm6 304// CHECK: encoding: [0x66,0x0f,0x38,0x2b,0xf6] 305packusdw %xmm6, %xmm6 306 307// CHECK: pblendvb %xmm0, 485498096, %xmm6 308// CHECK: encoding: [0x66,0x0f,0x38,0x10,0x34,0x25,0xf0,0x1c,0xf0,0x1c] 309pblendvb %xmm0, 485498096, %xmm6 310 311// CHECK: pblendvb %xmm0, 64(%rdx,%rax,4), %xmm6 312// CHECK: encoding: [0x66,0x0f,0x38,0x10,0x74,0x82,0x40] 313pblendvb %xmm0, 64(%rdx,%rax,4), %xmm6 314 315// CHECK: pblendvb %xmm0, -64(%rdx,%rax,4), %xmm6 316// CHECK: encoding: [0x66,0x0f,0x38,0x10,0x74,0x82,0xc0] 317pblendvb %xmm0, -64(%rdx,%rax,4), %xmm6 318 319// CHECK: pblendvb %xmm0, 64(%rdx,%rax), %xmm6 320// CHECK: encoding: [0x66,0x0f,0x38,0x10,0x74,0x02,0x40] 321pblendvb %xmm0, 64(%rdx,%rax), %xmm6 322 323// CHECK: pblendvb %xmm0, 64(%rdx), %xmm6 324// CHECK: encoding: [0x66,0x0f,0x38,0x10,0x72,0x40] 325pblendvb %xmm0, 64(%rdx), %xmm6 326 327// CHECK: pblendvb %xmm0, (%rdx), %xmm6 328// CHECK: encoding: [0x66,0x0f,0x38,0x10,0x32] 329pblendvb %xmm0, (%rdx), %xmm6 330 331// CHECK: pblendvb %xmm0, %xmm6, %xmm6 332// CHECK: encoding: [0x66,0x0f,0x38,0x10,0xf6] 333pblendvb %xmm0, %xmm6, %xmm6 334 335// CHECK: pblendw $0, 485498096, %xmm6 336// CHECK: encoding: [0x66,0x0f,0x3a,0x0e,0x34,0x25,0xf0,0x1c,0xf0,0x1c,0x00] 337pblendw $0, 485498096, %xmm6 338 339// CHECK: pblendw $0, 64(%rdx,%rax,4), %xmm6 340// CHECK: encoding: [0x66,0x0f,0x3a,0x0e,0x74,0x82,0x40,0x00] 341pblendw $0, 64(%rdx,%rax,4), %xmm6 342 343// CHECK: pblendw $0, -64(%rdx,%rax,4), %xmm6 344// CHECK: encoding: [0x66,0x0f,0x3a,0x0e,0x74,0x82,0xc0,0x00] 345pblendw $0, -64(%rdx,%rax,4), %xmm6 346 347// CHECK: pblendw $0, 64(%rdx,%rax), %xmm6 348// CHECK: encoding: [0x66,0x0f,0x3a,0x0e,0x74,0x02,0x40,0x00] 349pblendw $0, 64(%rdx,%rax), %xmm6 350 351// CHECK: pblendw $0, 64(%rdx), %xmm6 352// CHECK: encoding: [0x66,0x0f,0x3a,0x0e,0x72,0x40,0x00] 353pblendw $0, 64(%rdx), %xmm6 354 355// CHECK: pblendw $0, (%rdx), %xmm6 356// CHECK: encoding: [0x66,0x0f,0x3a,0x0e,0x32,0x00] 357pblendw $0, (%rdx), %xmm6 358 359// CHECK: pblendw $0, %xmm6, %xmm6 360// CHECK: encoding: [0x66,0x0f,0x3a,0x0e,0xf6,0x00] 361pblendw $0, %xmm6, %xmm6 362 363// CHECK: pcmpeqq 485498096, %xmm6 364// CHECK: encoding: [0x66,0x0f,0x38,0x29,0x34,0x25,0xf0,0x1c,0xf0,0x1c] 365pcmpeqq 485498096, %xmm6 366 367// CHECK: pcmpeqq 64(%rdx,%rax,4), %xmm6 368// CHECK: encoding: [0x66,0x0f,0x38,0x29,0x74,0x82,0x40] 369pcmpeqq 64(%rdx,%rax,4), %xmm6 370 371// CHECK: pcmpeqq -64(%rdx,%rax,4), %xmm6 372// CHECK: encoding: [0x66,0x0f,0x38,0x29,0x74,0x82,0xc0] 373pcmpeqq -64(%rdx,%rax,4), %xmm6 374 375// CHECK: pcmpeqq 64(%rdx,%rax), %xmm6 376// CHECK: encoding: [0x66,0x0f,0x38,0x29,0x74,0x02,0x40] 377pcmpeqq 64(%rdx,%rax), %xmm6 378 379// CHECK: pcmpeqq 64(%rdx), %xmm6 380// CHECK: encoding: [0x66,0x0f,0x38,0x29,0x72,0x40] 381pcmpeqq 64(%rdx), %xmm6 382 383// CHECK: pcmpeqq (%rdx), %xmm6 384// CHECK: encoding: [0x66,0x0f,0x38,0x29,0x32] 385pcmpeqq (%rdx), %xmm6 386 387// CHECK: pcmpeqq %xmm6, %xmm6 388// CHECK: encoding: [0x66,0x0f,0x38,0x29,0xf6] 389pcmpeqq %xmm6, %xmm6 390 391// CHECK: pextrb $0, %xmm6, 485498096 392// CHECK: encoding: [0x66,0x0f,0x3a,0x14,0x34,0x25,0xf0,0x1c,0xf0,0x1c,0x00] 393pextrb $0, %xmm6, 485498096 394 395// CHECK: pextrb $0, %xmm6, 64(%rdx) 396// CHECK: encoding: [0x66,0x0f,0x3a,0x14,0x72,0x40,0x00] 397pextrb $0, %xmm6, 64(%rdx) 398 399// CHECK: pextrb $0, %xmm6, 64(%rdx,%rax,4) 400// CHECK: encoding: [0x66,0x0f,0x3a,0x14,0x74,0x82,0x40,0x00] 401pextrb $0, %xmm6, 64(%rdx,%rax,4) 402 403// CHECK: pextrb $0, %xmm6, -64(%rdx,%rax,4) 404// CHECK: encoding: [0x66,0x0f,0x3a,0x14,0x74,0x82,0xc0,0x00] 405pextrb $0, %xmm6, -64(%rdx,%rax,4) 406 407// CHECK: pextrb $0, %xmm6, 64(%rdx,%rax) 408// CHECK: encoding: [0x66,0x0f,0x3a,0x14,0x74,0x02,0x40,0x00] 409pextrb $0, %xmm6, 64(%rdx,%rax) 410 411// CHECK: pextrb $0, %xmm6, %r13d 412// CHECK: encoding: [0x66,0x41,0x0f,0x3a,0x14,0xf5,0x00] 413pextrb $0, %xmm6, %r13d 414 415// CHECK: pextrb $0, %xmm6, (%rdx) 416// CHECK: encoding: [0x66,0x0f,0x3a,0x14,0x32,0x00] 417pextrb $0, %xmm6, (%rdx) 418 419// CHECK: pextrd $0, %xmm6, 485498096 420// CHECK: encoding: [0x66,0x0f,0x3a,0x16,0x34,0x25,0xf0,0x1c,0xf0,0x1c,0x00] 421pextrd $0, %xmm6, 485498096 422 423// CHECK: pextrd $0, %xmm6, 64(%rdx) 424// CHECK: encoding: [0x66,0x0f,0x3a,0x16,0x72,0x40,0x00] 425pextrd $0, %xmm6, 64(%rdx) 426 427// CHECK: pextrd $0, %xmm6, 64(%rdx,%rax,4) 428// CHECK: encoding: [0x66,0x0f,0x3a,0x16,0x74,0x82,0x40,0x00] 429pextrd $0, %xmm6, 64(%rdx,%rax,4) 430 431// CHECK: pextrd $0, %xmm6, -64(%rdx,%rax,4) 432// CHECK: encoding: [0x66,0x0f,0x3a,0x16,0x74,0x82,0xc0,0x00] 433pextrd $0, %xmm6, -64(%rdx,%rax,4) 434 435// CHECK: pextrd $0, %xmm6, 64(%rdx,%rax) 436// CHECK: encoding: [0x66,0x0f,0x3a,0x16,0x74,0x02,0x40,0x00] 437pextrd $0, %xmm6, 64(%rdx,%rax) 438 439// CHECK: pextrd $0, %xmm6, %r13d 440// CHECK: encoding: [0x66,0x41,0x0f,0x3a,0x16,0xf5,0x00] 441pextrd $0, %xmm6, %r13d 442 443// CHECK: pextrd $0, %xmm6, (%rdx) 444// CHECK: encoding: [0x66,0x0f,0x3a,0x16,0x32,0x00] 445pextrd $0, %xmm6, (%rdx) 446 447// CHECK: pextrq $0, %xmm6, 485498096 448// CHECK: encoding: [0x66,0x48,0x0f,0x3a,0x16,0x34,0x25,0xf0,0x1c,0xf0,0x1c,0x00] 449pextrq $0, %xmm6, 485498096 450 451// CHECK: pextrq $0, %xmm6, 64(%rdx) 452// CHECK: encoding: [0x66,0x48,0x0f,0x3a,0x16,0x72,0x40,0x00] 453pextrq $0, %xmm6, 64(%rdx) 454 455// CHECK: pextrq $0, %xmm6, 64(%rdx,%rax,4) 456// CHECK: encoding: [0x66,0x48,0x0f,0x3a,0x16,0x74,0x82,0x40,0x00] 457pextrq $0, %xmm6, 64(%rdx,%rax,4) 458 459// CHECK: pextrq $0, %xmm6, -64(%rdx,%rax,4) 460// CHECK: encoding: [0x66,0x48,0x0f,0x3a,0x16,0x74,0x82,0xc0,0x00] 461pextrq $0, %xmm6, -64(%rdx,%rax,4) 462 463// CHECK: pextrq $0, %xmm6, 64(%rdx,%rax) 464// CHECK: encoding: [0x66,0x48,0x0f,0x3a,0x16,0x74,0x02,0x40,0x00] 465pextrq $0, %xmm6, 64(%rdx,%rax) 466 467// CHECK: pextrq $0, %xmm6, %r15 468// CHECK: encoding: [0x66,0x49,0x0f,0x3a,0x16,0xf7,0x00] 469pextrq $0, %xmm6, %r15 470 471// CHECK: pextrq $0, %xmm6, (%rdx) 472// CHECK: encoding: [0x66,0x48,0x0f,0x3a,0x16,0x32,0x00] 473pextrq $0, %xmm6, (%rdx) 474 475// CHECK: pextrw $0, %xmm6, 485498096 476// CHECK: encoding: [0x66,0x0f,0x3a,0x15,0x34,0x25,0xf0,0x1c,0xf0,0x1c,0x00] 477pextrw $0, %xmm6, 485498096 478 479// CHECK: pextrw $0, %xmm6, 64(%rdx) 480// CHECK: encoding: [0x66,0x0f,0x3a,0x15,0x72,0x40,0x00] 481pextrw $0, %xmm6, 64(%rdx) 482 483// CHECK: pextrw $0, %xmm6, 64(%rdx,%rax,4) 484// CHECK: encoding: [0x66,0x0f,0x3a,0x15,0x74,0x82,0x40,0x00] 485pextrw $0, %xmm6, 64(%rdx,%rax,4) 486 487// CHECK: pextrw $0, %xmm6, -64(%rdx,%rax,4) 488// CHECK: encoding: [0x66,0x0f,0x3a,0x15,0x74,0x82,0xc0,0x00] 489pextrw $0, %xmm6, -64(%rdx,%rax,4) 490 491// CHECK: pextrw $0, %xmm6, 64(%rdx,%rax) 492// CHECK: encoding: [0x66,0x0f,0x3a,0x15,0x74,0x02,0x40,0x00] 493pextrw $0, %xmm6, 64(%rdx,%rax) 494 495// CHECK: pextrw $0, %xmm6, %r13d 496// CHECK: encoding: [0x66,0x44,0x0f,0xc5,0xee,0x00] 497pextrw $0, %xmm6, %r13d 498 499// CHECK: pextrw $0, %xmm6, (%rdx) 500// CHECK: encoding: [0x66,0x0f,0x3a,0x15,0x32,0x00] 501pextrw $0, %xmm6, (%rdx) 502 503// CHECK: phminposuw 485498096, %xmm6 504// CHECK: encoding: [0x66,0x0f,0x38,0x41,0x34,0x25,0xf0,0x1c,0xf0,0x1c] 505phminposuw 485498096, %xmm6 506 507// CHECK: phminposuw 64(%rdx,%rax,4), %xmm6 508// CHECK: encoding: [0x66,0x0f,0x38,0x41,0x74,0x82,0x40] 509phminposuw 64(%rdx,%rax,4), %xmm6 510 511// CHECK: phminposuw -64(%rdx,%rax,4), %xmm6 512// CHECK: encoding: [0x66,0x0f,0x38,0x41,0x74,0x82,0xc0] 513phminposuw -64(%rdx,%rax,4), %xmm6 514 515// CHECK: phminposuw 64(%rdx,%rax), %xmm6 516// CHECK: encoding: [0x66,0x0f,0x38,0x41,0x74,0x02,0x40] 517phminposuw 64(%rdx,%rax), %xmm6 518 519// CHECK: phminposuw 64(%rdx), %xmm6 520// CHECK: encoding: [0x66,0x0f,0x38,0x41,0x72,0x40] 521phminposuw 64(%rdx), %xmm6 522 523// CHECK: phminposuw (%rdx), %xmm6 524// CHECK: encoding: [0x66,0x0f,0x38,0x41,0x32] 525phminposuw (%rdx), %xmm6 526 527// CHECK: phminposuw %xmm6, %xmm6 528// CHECK: encoding: [0x66,0x0f,0x38,0x41,0xf6] 529phminposuw %xmm6, %xmm6 530 531// CHECK: pinsrb $0, 485498096, %xmm6 532// CHECK: encoding: [0x66,0x0f,0x3a,0x20,0x34,0x25,0xf0,0x1c,0xf0,0x1c,0x00] 533pinsrb $0, 485498096, %xmm6 534 535// CHECK: pinsrb $0, 64(%rdx,%rax,4), %xmm6 536// CHECK: encoding: [0x66,0x0f,0x3a,0x20,0x74,0x82,0x40,0x00] 537pinsrb $0, 64(%rdx,%rax,4), %xmm6 538 539// CHECK: pinsrb $0, -64(%rdx,%rax,4), %xmm6 540// CHECK: encoding: [0x66,0x0f,0x3a,0x20,0x74,0x82,0xc0,0x00] 541pinsrb $0, -64(%rdx,%rax,4), %xmm6 542 543// CHECK: pinsrb $0, 64(%rdx,%rax), %xmm6 544// CHECK: encoding: [0x66,0x0f,0x3a,0x20,0x74,0x02,0x40,0x00] 545pinsrb $0, 64(%rdx,%rax), %xmm6 546 547// CHECK: pinsrb $0, 64(%rdx), %xmm6 548// CHECK: encoding: [0x66,0x0f,0x3a,0x20,0x72,0x40,0x00] 549pinsrb $0, 64(%rdx), %xmm6 550 551// CHECK: pinsrb $0, %r13d, %xmm6 552// CHECK: encoding: [0x66,0x41,0x0f,0x3a,0x20,0xf5,0x00] 553pinsrb $0, %r13d, %xmm6 554 555// CHECK: pinsrb $0, (%rdx), %xmm6 556// CHECK: encoding: [0x66,0x0f,0x3a,0x20,0x32,0x00] 557pinsrb $0, (%rdx), %xmm6 558 559// CHECK: pinsrd $0, 485498096, %xmm6 560// CHECK: encoding: [0x66,0x0f,0x3a,0x22,0x34,0x25,0xf0,0x1c,0xf0,0x1c,0x00] 561pinsrd $0, 485498096, %xmm6 562 563// CHECK: pinsrd $0, 64(%rdx,%rax,4), %xmm6 564// CHECK: encoding: [0x66,0x0f,0x3a,0x22,0x74,0x82,0x40,0x00] 565pinsrd $0, 64(%rdx,%rax,4), %xmm6 566 567// CHECK: pinsrd $0, -64(%rdx,%rax,4), %xmm6 568// CHECK: encoding: [0x66,0x0f,0x3a,0x22,0x74,0x82,0xc0,0x00] 569pinsrd $0, -64(%rdx,%rax,4), %xmm6 570 571// CHECK: pinsrd $0, 64(%rdx,%rax), %xmm6 572// CHECK: encoding: [0x66,0x0f,0x3a,0x22,0x74,0x02,0x40,0x00] 573pinsrd $0, 64(%rdx,%rax), %xmm6 574 575// CHECK: pinsrd $0, 64(%rdx), %xmm6 576// CHECK: encoding: [0x66,0x0f,0x3a,0x22,0x72,0x40,0x00] 577pinsrd $0, 64(%rdx), %xmm6 578 579// CHECK: pinsrd $0, %r13d, %xmm6 580// CHECK: encoding: [0x66,0x41,0x0f,0x3a,0x22,0xf5,0x00] 581pinsrd $0, %r13d, %xmm6 582 583// CHECK: pinsrd $0, (%rdx), %xmm6 584// CHECK: encoding: [0x66,0x0f,0x3a,0x22,0x32,0x00] 585pinsrd $0, (%rdx), %xmm6 586 587// CHECK: pinsrq $0, 485498096, %xmm6 588// CHECK: encoding: [0x66,0x48,0x0f,0x3a,0x22,0x34,0x25,0xf0,0x1c,0xf0,0x1c,0x00] 589pinsrq $0, 485498096, %xmm6 590 591// CHECK: pinsrq $0, 64(%rdx,%rax,4), %xmm6 592// CHECK: encoding: [0x66,0x48,0x0f,0x3a,0x22,0x74,0x82,0x40,0x00] 593pinsrq $0, 64(%rdx,%rax,4), %xmm6 594 595// CHECK: pinsrq $0, -64(%rdx,%rax,4), %xmm6 596// CHECK: encoding: [0x66,0x48,0x0f,0x3a,0x22,0x74,0x82,0xc0,0x00] 597pinsrq $0, -64(%rdx,%rax,4), %xmm6 598 599// CHECK: pinsrq $0, 64(%rdx,%rax), %xmm6 600// CHECK: encoding: [0x66,0x48,0x0f,0x3a,0x22,0x74,0x02,0x40,0x00] 601pinsrq $0, 64(%rdx,%rax), %xmm6 602 603// CHECK: pinsrq $0, 64(%rdx), %xmm6 604// CHECK: encoding: [0x66,0x48,0x0f,0x3a,0x22,0x72,0x40,0x00] 605pinsrq $0, 64(%rdx), %xmm6 606 607// CHECK: pinsrq $0, %r15, %xmm6 608// CHECK: encoding: [0x66,0x49,0x0f,0x3a,0x22,0xf7,0x00] 609pinsrq $0, %r15, %xmm6 610 611// CHECK: pinsrq $0, (%rdx), %xmm6 612// CHECK: encoding: [0x66,0x48,0x0f,0x3a,0x22,0x32,0x00] 613pinsrq $0, (%rdx), %xmm6 614 615// CHECK: pmaxsb 485498096, %xmm6 616// CHECK: encoding: [0x66,0x0f,0x38,0x3c,0x34,0x25,0xf0,0x1c,0xf0,0x1c] 617pmaxsb 485498096, %xmm6 618 619// CHECK: pmaxsb 64(%rdx,%rax,4), %xmm6 620// CHECK: encoding: [0x66,0x0f,0x38,0x3c,0x74,0x82,0x40] 621pmaxsb 64(%rdx,%rax,4), %xmm6 622 623// CHECK: pmaxsb -64(%rdx,%rax,4), %xmm6 624// CHECK: encoding: [0x66,0x0f,0x38,0x3c,0x74,0x82,0xc0] 625pmaxsb -64(%rdx,%rax,4), %xmm6 626 627// CHECK: pmaxsb 64(%rdx,%rax), %xmm6 628// CHECK: encoding: [0x66,0x0f,0x38,0x3c,0x74,0x02,0x40] 629pmaxsb 64(%rdx,%rax), %xmm6 630 631// CHECK: pmaxsb 64(%rdx), %xmm6 632// CHECK: encoding: [0x66,0x0f,0x38,0x3c,0x72,0x40] 633pmaxsb 64(%rdx), %xmm6 634 635// CHECK: pmaxsb (%rdx), %xmm6 636// CHECK: encoding: [0x66,0x0f,0x38,0x3c,0x32] 637pmaxsb (%rdx), %xmm6 638 639// CHECK: pmaxsb %xmm6, %xmm6 640// CHECK: encoding: [0x66,0x0f,0x38,0x3c,0xf6] 641pmaxsb %xmm6, %xmm6 642 643// CHECK: pmaxsd 485498096, %xmm6 644// CHECK: encoding: [0x66,0x0f,0x38,0x3d,0x34,0x25,0xf0,0x1c,0xf0,0x1c] 645pmaxsd 485498096, %xmm6 646 647// CHECK: pmaxsd 64(%rdx,%rax,4), %xmm6 648// CHECK: encoding: [0x66,0x0f,0x38,0x3d,0x74,0x82,0x40] 649pmaxsd 64(%rdx,%rax,4), %xmm6 650 651// CHECK: pmaxsd -64(%rdx,%rax,4), %xmm6 652// CHECK: encoding: [0x66,0x0f,0x38,0x3d,0x74,0x82,0xc0] 653pmaxsd -64(%rdx,%rax,4), %xmm6 654 655// CHECK: pmaxsd 64(%rdx,%rax), %xmm6 656// CHECK: encoding: [0x66,0x0f,0x38,0x3d,0x74,0x02,0x40] 657pmaxsd 64(%rdx,%rax), %xmm6 658 659// CHECK: pmaxsd 64(%rdx), %xmm6 660// CHECK: encoding: [0x66,0x0f,0x38,0x3d,0x72,0x40] 661pmaxsd 64(%rdx), %xmm6 662 663// CHECK: pmaxsd (%rdx), %xmm6 664// CHECK: encoding: [0x66,0x0f,0x38,0x3d,0x32] 665pmaxsd (%rdx), %xmm6 666 667// CHECK: pmaxsd %xmm6, %xmm6 668// CHECK: encoding: [0x66,0x0f,0x38,0x3d,0xf6] 669pmaxsd %xmm6, %xmm6 670 671// CHECK: pmaxud 485498096, %xmm6 672// CHECK: encoding: [0x66,0x0f,0x38,0x3f,0x34,0x25,0xf0,0x1c,0xf0,0x1c] 673pmaxud 485498096, %xmm6 674 675// CHECK: pmaxud 64(%rdx,%rax,4), %xmm6 676// CHECK: encoding: [0x66,0x0f,0x38,0x3f,0x74,0x82,0x40] 677pmaxud 64(%rdx,%rax,4), %xmm6 678 679// CHECK: pmaxud -64(%rdx,%rax,4), %xmm6 680// CHECK: encoding: [0x66,0x0f,0x38,0x3f,0x74,0x82,0xc0] 681pmaxud -64(%rdx,%rax,4), %xmm6 682 683// CHECK: pmaxud 64(%rdx,%rax), %xmm6 684// CHECK: encoding: [0x66,0x0f,0x38,0x3f,0x74,0x02,0x40] 685pmaxud 64(%rdx,%rax), %xmm6 686 687// CHECK: pmaxud 64(%rdx), %xmm6 688// CHECK: encoding: [0x66,0x0f,0x38,0x3f,0x72,0x40] 689pmaxud 64(%rdx), %xmm6 690 691// CHECK: pmaxud (%rdx), %xmm6 692// CHECK: encoding: [0x66,0x0f,0x38,0x3f,0x32] 693pmaxud (%rdx), %xmm6 694 695// CHECK: pmaxud %xmm6, %xmm6 696// CHECK: encoding: [0x66,0x0f,0x38,0x3f,0xf6] 697pmaxud %xmm6, %xmm6 698 699// CHECK: pmaxuw 485498096, %xmm6 700// CHECK: encoding: [0x66,0x0f,0x38,0x3e,0x34,0x25,0xf0,0x1c,0xf0,0x1c] 701pmaxuw 485498096, %xmm6 702 703// CHECK: pmaxuw 64(%rdx,%rax,4), %xmm6 704// CHECK: encoding: [0x66,0x0f,0x38,0x3e,0x74,0x82,0x40] 705pmaxuw 64(%rdx,%rax,4), %xmm6 706 707// CHECK: pmaxuw -64(%rdx,%rax,4), %xmm6 708// CHECK: encoding: [0x66,0x0f,0x38,0x3e,0x74,0x82,0xc0] 709pmaxuw -64(%rdx,%rax,4), %xmm6 710 711// CHECK: pmaxuw 64(%rdx,%rax), %xmm6 712// CHECK: encoding: [0x66,0x0f,0x38,0x3e,0x74,0x02,0x40] 713pmaxuw 64(%rdx,%rax), %xmm6 714 715// CHECK: pmaxuw 64(%rdx), %xmm6 716// CHECK: encoding: [0x66,0x0f,0x38,0x3e,0x72,0x40] 717pmaxuw 64(%rdx), %xmm6 718 719// CHECK: pmaxuw (%rdx), %xmm6 720// CHECK: encoding: [0x66,0x0f,0x38,0x3e,0x32] 721pmaxuw (%rdx), %xmm6 722 723// CHECK: pmaxuw %xmm6, %xmm6 724// CHECK: encoding: [0x66,0x0f,0x38,0x3e,0xf6] 725pmaxuw %xmm6, %xmm6 726 727// CHECK: pminsb 485498096, %xmm6 728// CHECK: encoding: [0x66,0x0f,0x38,0x38,0x34,0x25,0xf0,0x1c,0xf0,0x1c] 729pminsb 485498096, %xmm6 730 731// CHECK: pminsb 64(%rdx,%rax,4), %xmm6 732// CHECK: encoding: [0x66,0x0f,0x38,0x38,0x74,0x82,0x40] 733pminsb 64(%rdx,%rax,4), %xmm6 734 735// CHECK: pminsb -64(%rdx,%rax,4), %xmm6 736// CHECK: encoding: [0x66,0x0f,0x38,0x38,0x74,0x82,0xc0] 737pminsb -64(%rdx,%rax,4), %xmm6 738 739// CHECK: pminsb 64(%rdx,%rax), %xmm6 740// CHECK: encoding: [0x66,0x0f,0x38,0x38,0x74,0x02,0x40] 741pminsb 64(%rdx,%rax), %xmm6 742 743// CHECK: pminsb 64(%rdx), %xmm6 744// CHECK: encoding: [0x66,0x0f,0x38,0x38,0x72,0x40] 745pminsb 64(%rdx), %xmm6 746 747// CHECK: pminsb (%rdx), %xmm6 748// CHECK: encoding: [0x66,0x0f,0x38,0x38,0x32] 749pminsb (%rdx), %xmm6 750 751// CHECK: pminsb %xmm6, %xmm6 752// CHECK: encoding: [0x66,0x0f,0x38,0x38,0xf6] 753pminsb %xmm6, %xmm6 754 755// CHECK: pminsd 485498096, %xmm6 756// CHECK: encoding: [0x66,0x0f,0x38,0x39,0x34,0x25,0xf0,0x1c,0xf0,0x1c] 757pminsd 485498096, %xmm6 758 759// CHECK: pminsd 64(%rdx,%rax,4), %xmm6 760// CHECK: encoding: [0x66,0x0f,0x38,0x39,0x74,0x82,0x40] 761pminsd 64(%rdx,%rax,4), %xmm6 762 763// CHECK: pminsd -64(%rdx,%rax,4), %xmm6 764// CHECK: encoding: [0x66,0x0f,0x38,0x39,0x74,0x82,0xc0] 765pminsd -64(%rdx,%rax,4), %xmm6 766 767// CHECK: pminsd 64(%rdx,%rax), %xmm6 768// CHECK: encoding: [0x66,0x0f,0x38,0x39,0x74,0x02,0x40] 769pminsd 64(%rdx,%rax), %xmm6 770 771// CHECK: pminsd 64(%rdx), %xmm6 772// CHECK: encoding: [0x66,0x0f,0x38,0x39,0x72,0x40] 773pminsd 64(%rdx), %xmm6 774 775// CHECK: pminsd (%rdx), %xmm6 776// CHECK: encoding: [0x66,0x0f,0x38,0x39,0x32] 777pminsd (%rdx), %xmm6 778 779// CHECK: pminsd %xmm6, %xmm6 780// CHECK: encoding: [0x66,0x0f,0x38,0x39,0xf6] 781pminsd %xmm6, %xmm6 782 783// CHECK: pminud 485498096, %xmm6 784// CHECK: encoding: [0x66,0x0f,0x38,0x3b,0x34,0x25,0xf0,0x1c,0xf0,0x1c] 785pminud 485498096, %xmm6 786 787// CHECK: pminud 64(%rdx,%rax,4), %xmm6 788// CHECK: encoding: [0x66,0x0f,0x38,0x3b,0x74,0x82,0x40] 789pminud 64(%rdx,%rax,4), %xmm6 790 791// CHECK: pminud -64(%rdx,%rax,4), %xmm6 792// CHECK: encoding: [0x66,0x0f,0x38,0x3b,0x74,0x82,0xc0] 793pminud -64(%rdx,%rax,4), %xmm6 794 795// CHECK: pminud 64(%rdx,%rax), %xmm6 796// CHECK: encoding: [0x66,0x0f,0x38,0x3b,0x74,0x02,0x40] 797pminud 64(%rdx,%rax), %xmm6 798 799// CHECK: pminud 64(%rdx), %xmm6 800// CHECK: encoding: [0x66,0x0f,0x38,0x3b,0x72,0x40] 801pminud 64(%rdx), %xmm6 802 803// CHECK: pminud (%rdx), %xmm6 804// CHECK: encoding: [0x66,0x0f,0x38,0x3b,0x32] 805pminud (%rdx), %xmm6 806 807// CHECK: pminud %xmm6, %xmm6 808// CHECK: encoding: [0x66,0x0f,0x38,0x3b,0xf6] 809pminud %xmm6, %xmm6 810 811// CHECK: pminuw 485498096, %xmm6 812// CHECK: encoding: [0x66,0x0f,0x38,0x3a,0x34,0x25,0xf0,0x1c,0xf0,0x1c] 813pminuw 485498096, %xmm6 814 815// CHECK: pminuw 64(%rdx,%rax,4), %xmm6 816// CHECK: encoding: [0x66,0x0f,0x38,0x3a,0x74,0x82,0x40] 817pminuw 64(%rdx,%rax,4), %xmm6 818 819// CHECK: pminuw -64(%rdx,%rax,4), %xmm6 820// CHECK: encoding: [0x66,0x0f,0x38,0x3a,0x74,0x82,0xc0] 821pminuw -64(%rdx,%rax,4), %xmm6 822 823// CHECK: pminuw 64(%rdx,%rax), %xmm6 824// CHECK: encoding: [0x66,0x0f,0x38,0x3a,0x74,0x02,0x40] 825pminuw 64(%rdx,%rax), %xmm6 826 827// CHECK: pminuw 64(%rdx), %xmm6 828// CHECK: encoding: [0x66,0x0f,0x38,0x3a,0x72,0x40] 829pminuw 64(%rdx), %xmm6 830 831// CHECK: pminuw (%rdx), %xmm6 832// CHECK: encoding: [0x66,0x0f,0x38,0x3a,0x32] 833pminuw (%rdx), %xmm6 834 835// CHECK: pminuw %xmm6, %xmm6 836// CHECK: encoding: [0x66,0x0f,0x38,0x3a,0xf6] 837pminuw %xmm6, %xmm6 838 839// CHECK: pmovsxbd 485498096, %xmm6 840// CHECK: encoding: [0x66,0x0f,0x38,0x21,0x34,0x25,0xf0,0x1c,0xf0,0x1c] 841pmovsxbd 485498096, %xmm6 842 843// CHECK: pmovsxbd 64(%rdx,%rax,4), %xmm6 844// CHECK: encoding: [0x66,0x0f,0x38,0x21,0x74,0x82,0x40] 845pmovsxbd 64(%rdx,%rax,4), %xmm6 846 847// CHECK: pmovsxbd -64(%rdx,%rax,4), %xmm6 848// CHECK: encoding: [0x66,0x0f,0x38,0x21,0x74,0x82,0xc0] 849pmovsxbd -64(%rdx,%rax,4), %xmm6 850 851// CHECK: pmovsxbd 64(%rdx,%rax), %xmm6 852// CHECK: encoding: [0x66,0x0f,0x38,0x21,0x74,0x02,0x40] 853pmovsxbd 64(%rdx,%rax), %xmm6 854 855// CHECK: pmovsxbd 64(%rdx), %xmm6 856// CHECK: encoding: [0x66,0x0f,0x38,0x21,0x72,0x40] 857pmovsxbd 64(%rdx), %xmm6 858 859// CHECK: pmovsxbd (%rdx), %xmm6 860// CHECK: encoding: [0x66,0x0f,0x38,0x21,0x32] 861pmovsxbd (%rdx), %xmm6 862 863// CHECK: pmovsxbd %xmm6, %xmm6 864// CHECK: encoding: [0x66,0x0f,0x38,0x21,0xf6] 865pmovsxbd %xmm6, %xmm6 866 867// CHECK: pmovsxbq 485498096, %xmm6 868// CHECK: encoding: [0x66,0x0f,0x38,0x22,0x34,0x25,0xf0,0x1c,0xf0,0x1c] 869pmovsxbq 485498096, %xmm6 870 871// CHECK: pmovsxbq 64(%rdx,%rax,4), %xmm6 872// CHECK: encoding: [0x66,0x0f,0x38,0x22,0x74,0x82,0x40] 873pmovsxbq 64(%rdx,%rax,4), %xmm6 874 875// CHECK: pmovsxbq -64(%rdx,%rax,4), %xmm6 876// CHECK: encoding: [0x66,0x0f,0x38,0x22,0x74,0x82,0xc0] 877pmovsxbq -64(%rdx,%rax,4), %xmm6 878 879// CHECK: pmovsxbq 64(%rdx,%rax), %xmm6 880// CHECK: encoding: [0x66,0x0f,0x38,0x22,0x74,0x02,0x40] 881pmovsxbq 64(%rdx,%rax), %xmm6 882 883// CHECK: pmovsxbq 64(%rdx), %xmm6 884// CHECK: encoding: [0x66,0x0f,0x38,0x22,0x72,0x40] 885pmovsxbq 64(%rdx), %xmm6 886 887// CHECK: pmovsxbq (%rdx), %xmm6 888// CHECK: encoding: [0x66,0x0f,0x38,0x22,0x32] 889pmovsxbq (%rdx), %xmm6 890 891// CHECK: pmovsxbq %xmm6, %xmm6 892// CHECK: encoding: [0x66,0x0f,0x38,0x22,0xf6] 893pmovsxbq %xmm6, %xmm6 894 895// CHECK: pmovsxbw 485498096, %xmm6 896// CHECK: encoding: [0x66,0x0f,0x38,0x20,0x34,0x25,0xf0,0x1c,0xf0,0x1c] 897pmovsxbw 485498096, %xmm6 898 899// CHECK: pmovsxbw 64(%rdx,%rax,4), %xmm6 900// CHECK: encoding: [0x66,0x0f,0x38,0x20,0x74,0x82,0x40] 901pmovsxbw 64(%rdx,%rax,4), %xmm6 902 903// CHECK: pmovsxbw -64(%rdx,%rax,4), %xmm6 904// CHECK: encoding: [0x66,0x0f,0x38,0x20,0x74,0x82,0xc0] 905pmovsxbw -64(%rdx,%rax,4), %xmm6 906 907// CHECK: pmovsxbw 64(%rdx,%rax), %xmm6 908// CHECK: encoding: [0x66,0x0f,0x38,0x20,0x74,0x02,0x40] 909pmovsxbw 64(%rdx,%rax), %xmm6 910 911// CHECK: pmovsxbw 64(%rdx), %xmm6 912// CHECK: encoding: [0x66,0x0f,0x38,0x20,0x72,0x40] 913pmovsxbw 64(%rdx), %xmm6 914 915// CHECK: pmovsxbw (%rdx), %xmm6 916// CHECK: encoding: [0x66,0x0f,0x38,0x20,0x32] 917pmovsxbw (%rdx), %xmm6 918 919// CHECK: pmovsxbw %xmm6, %xmm6 920// CHECK: encoding: [0x66,0x0f,0x38,0x20,0xf6] 921pmovsxbw %xmm6, %xmm6 922 923// CHECK: pmovsxdq 485498096, %xmm6 924// CHECK: encoding: [0x66,0x0f,0x38,0x25,0x34,0x25,0xf0,0x1c,0xf0,0x1c] 925pmovsxdq 485498096, %xmm6 926 927// CHECK: pmovsxdq 64(%rdx,%rax,4), %xmm6 928// CHECK: encoding: [0x66,0x0f,0x38,0x25,0x74,0x82,0x40] 929pmovsxdq 64(%rdx,%rax,4), %xmm6 930 931// CHECK: pmovsxdq -64(%rdx,%rax,4), %xmm6 932// CHECK: encoding: [0x66,0x0f,0x38,0x25,0x74,0x82,0xc0] 933pmovsxdq -64(%rdx,%rax,4), %xmm6 934 935// CHECK: pmovsxdq 64(%rdx,%rax), %xmm6 936// CHECK: encoding: [0x66,0x0f,0x38,0x25,0x74,0x02,0x40] 937pmovsxdq 64(%rdx,%rax), %xmm6 938 939// CHECK: pmovsxdq 64(%rdx), %xmm6 940// CHECK: encoding: [0x66,0x0f,0x38,0x25,0x72,0x40] 941pmovsxdq 64(%rdx), %xmm6 942 943// CHECK: pmovsxdq (%rdx), %xmm6 944// CHECK: encoding: [0x66,0x0f,0x38,0x25,0x32] 945pmovsxdq (%rdx), %xmm6 946 947// CHECK: pmovsxdq %xmm6, %xmm6 948// CHECK: encoding: [0x66,0x0f,0x38,0x25,0xf6] 949pmovsxdq %xmm6, %xmm6 950 951// CHECK: pmovsxwd 485498096, %xmm6 952// CHECK: encoding: [0x66,0x0f,0x38,0x23,0x34,0x25,0xf0,0x1c,0xf0,0x1c] 953pmovsxwd 485498096, %xmm6 954 955// CHECK: pmovsxwd 64(%rdx,%rax,4), %xmm6 956// CHECK: encoding: [0x66,0x0f,0x38,0x23,0x74,0x82,0x40] 957pmovsxwd 64(%rdx,%rax,4), %xmm6 958 959// CHECK: pmovsxwd -64(%rdx,%rax,4), %xmm6 960// CHECK: encoding: [0x66,0x0f,0x38,0x23,0x74,0x82,0xc0] 961pmovsxwd -64(%rdx,%rax,4), %xmm6 962 963// CHECK: pmovsxwd 64(%rdx,%rax), %xmm6 964// CHECK: encoding: [0x66,0x0f,0x38,0x23,0x74,0x02,0x40] 965pmovsxwd 64(%rdx,%rax), %xmm6 966 967// CHECK: pmovsxwd 64(%rdx), %xmm6 968// CHECK: encoding: [0x66,0x0f,0x38,0x23,0x72,0x40] 969pmovsxwd 64(%rdx), %xmm6 970 971// CHECK: pmovsxwd (%rdx), %xmm6 972// CHECK: encoding: [0x66,0x0f,0x38,0x23,0x32] 973pmovsxwd (%rdx), %xmm6 974 975// CHECK: pmovsxwd %xmm6, %xmm6 976// CHECK: encoding: [0x66,0x0f,0x38,0x23,0xf6] 977pmovsxwd %xmm6, %xmm6 978 979// CHECK: pmovsxwq 485498096, %xmm6 980// CHECK: encoding: [0x66,0x0f,0x38,0x24,0x34,0x25,0xf0,0x1c,0xf0,0x1c] 981pmovsxwq 485498096, %xmm6 982 983// CHECK: pmovsxwq 64(%rdx,%rax,4), %xmm6 984// CHECK: encoding: [0x66,0x0f,0x38,0x24,0x74,0x82,0x40] 985pmovsxwq 64(%rdx,%rax,4), %xmm6 986 987// CHECK: pmovsxwq -64(%rdx,%rax,4), %xmm6 988// CHECK: encoding: [0x66,0x0f,0x38,0x24,0x74,0x82,0xc0] 989pmovsxwq -64(%rdx,%rax,4), %xmm6 990 991// CHECK: pmovsxwq 64(%rdx,%rax), %xmm6 992// CHECK: encoding: [0x66,0x0f,0x38,0x24,0x74,0x02,0x40] 993pmovsxwq 64(%rdx,%rax), %xmm6 994 995// CHECK: pmovsxwq 64(%rdx), %xmm6 996// CHECK: encoding: [0x66,0x0f,0x38,0x24,0x72,0x40] 997pmovsxwq 64(%rdx), %xmm6 998 999// CHECK: pmovsxwq (%rdx), %xmm6 1000// CHECK: encoding: [0x66,0x0f,0x38,0x24,0x32] 1001pmovsxwq (%rdx), %xmm6 1002 1003// CHECK: pmovsxwq %xmm6, %xmm6 1004// CHECK: encoding: [0x66,0x0f,0x38,0x24,0xf6] 1005pmovsxwq %xmm6, %xmm6 1006 1007// CHECK: pmovzxbd 485498096, %xmm6 1008// CHECK: encoding: [0x66,0x0f,0x38,0x31,0x34,0x25,0xf0,0x1c,0xf0,0x1c] 1009pmovzxbd 485498096, %xmm6 1010 1011// CHECK: pmovzxbd 64(%rdx,%rax,4), %xmm6 1012// CHECK: encoding: [0x66,0x0f,0x38,0x31,0x74,0x82,0x40] 1013pmovzxbd 64(%rdx,%rax,4), %xmm6 1014 1015// CHECK: pmovzxbd -64(%rdx,%rax,4), %xmm6 1016// CHECK: encoding: [0x66,0x0f,0x38,0x31,0x74,0x82,0xc0] 1017pmovzxbd -64(%rdx,%rax,4), %xmm6 1018 1019// CHECK: pmovzxbd 64(%rdx,%rax), %xmm6 1020// CHECK: encoding: [0x66,0x0f,0x38,0x31,0x74,0x02,0x40] 1021pmovzxbd 64(%rdx,%rax), %xmm6 1022 1023// CHECK: pmovzxbd 64(%rdx), %xmm6 1024// CHECK: encoding: [0x66,0x0f,0x38,0x31,0x72,0x40] 1025pmovzxbd 64(%rdx), %xmm6 1026 1027// CHECK: pmovzxbd (%rdx), %xmm6 1028// CHECK: encoding: [0x66,0x0f,0x38,0x31,0x32] 1029pmovzxbd (%rdx), %xmm6 1030 1031// CHECK: pmovzxbd %xmm6, %xmm6 1032// CHECK: encoding: [0x66,0x0f,0x38,0x31,0xf6] 1033pmovzxbd %xmm6, %xmm6 1034 1035// CHECK: pmovzxbq 485498096, %xmm6 1036// CHECK: encoding: [0x66,0x0f,0x38,0x32,0x34,0x25,0xf0,0x1c,0xf0,0x1c] 1037pmovzxbq 485498096, %xmm6 1038 1039// CHECK: pmovzxbq 64(%rdx,%rax,4), %xmm6 1040// CHECK: encoding: [0x66,0x0f,0x38,0x32,0x74,0x82,0x40] 1041pmovzxbq 64(%rdx,%rax,4), %xmm6 1042 1043// CHECK: pmovzxbq -64(%rdx,%rax,4), %xmm6 1044// CHECK: encoding: [0x66,0x0f,0x38,0x32,0x74,0x82,0xc0] 1045pmovzxbq -64(%rdx,%rax,4), %xmm6 1046 1047// CHECK: pmovzxbq 64(%rdx,%rax), %xmm6 1048// CHECK: encoding: [0x66,0x0f,0x38,0x32,0x74,0x02,0x40] 1049pmovzxbq 64(%rdx,%rax), %xmm6 1050 1051// CHECK: pmovzxbq 64(%rdx), %xmm6 1052// CHECK: encoding: [0x66,0x0f,0x38,0x32,0x72,0x40] 1053pmovzxbq 64(%rdx), %xmm6 1054 1055// CHECK: pmovzxbq (%rdx), %xmm6 1056// CHECK: encoding: [0x66,0x0f,0x38,0x32,0x32] 1057pmovzxbq (%rdx), %xmm6 1058 1059// CHECK: pmovzxbq %xmm6, %xmm6 1060// CHECK: encoding: [0x66,0x0f,0x38,0x32,0xf6] 1061pmovzxbq %xmm6, %xmm6 1062 1063// CHECK: pmovzxbw 485498096, %xmm6 1064// CHECK: encoding: [0x66,0x0f,0x38,0x30,0x34,0x25,0xf0,0x1c,0xf0,0x1c] 1065pmovzxbw 485498096, %xmm6 1066 1067// CHECK: pmovzxbw 64(%rdx,%rax,4), %xmm6 1068// CHECK: encoding: [0x66,0x0f,0x38,0x30,0x74,0x82,0x40] 1069pmovzxbw 64(%rdx,%rax,4), %xmm6 1070 1071// CHECK: pmovzxbw -64(%rdx,%rax,4), %xmm6 1072// CHECK: encoding: [0x66,0x0f,0x38,0x30,0x74,0x82,0xc0] 1073pmovzxbw -64(%rdx,%rax,4), %xmm6 1074 1075// CHECK: pmovzxbw 64(%rdx,%rax), %xmm6 1076// CHECK: encoding: [0x66,0x0f,0x38,0x30,0x74,0x02,0x40] 1077pmovzxbw 64(%rdx,%rax), %xmm6 1078 1079// CHECK: pmovzxbw 64(%rdx), %xmm6 1080// CHECK: encoding: [0x66,0x0f,0x38,0x30,0x72,0x40] 1081pmovzxbw 64(%rdx), %xmm6 1082 1083// CHECK: pmovzxbw (%rdx), %xmm6 1084// CHECK: encoding: [0x66,0x0f,0x38,0x30,0x32] 1085pmovzxbw (%rdx), %xmm6 1086 1087// CHECK: pmovzxbw %xmm6, %xmm6 1088// CHECK: encoding: [0x66,0x0f,0x38,0x30,0xf6] 1089pmovzxbw %xmm6, %xmm6 1090 1091// CHECK: pmovzxdq 485498096, %xmm6 1092// CHECK: encoding: [0x66,0x0f,0x38,0x35,0x34,0x25,0xf0,0x1c,0xf0,0x1c] 1093pmovzxdq 485498096, %xmm6 1094 1095// CHECK: pmovzxdq 64(%rdx,%rax,4), %xmm6 1096// CHECK: encoding: [0x66,0x0f,0x38,0x35,0x74,0x82,0x40] 1097pmovzxdq 64(%rdx,%rax,4), %xmm6 1098 1099// CHECK: pmovzxdq -64(%rdx,%rax,4), %xmm6 1100// CHECK: encoding: [0x66,0x0f,0x38,0x35,0x74,0x82,0xc0] 1101pmovzxdq -64(%rdx,%rax,4), %xmm6 1102 1103// CHECK: pmovzxdq 64(%rdx,%rax), %xmm6 1104// CHECK: encoding: [0x66,0x0f,0x38,0x35,0x74,0x02,0x40] 1105pmovzxdq 64(%rdx,%rax), %xmm6 1106 1107// CHECK: pmovzxdq 64(%rdx), %xmm6 1108// CHECK: encoding: [0x66,0x0f,0x38,0x35,0x72,0x40] 1109pmovzxdq 64(%rdx), %xmm6 1110 1111// CHECK: pmovzxdq (%rdx), %xmm6 1112// CHECK: encoding: [0x66,0x0f,0x38,0x35,0x32] 1113pmovzxdq (%rdx), %xmm6 1114 1115// CHECK: pmovzxdq %xmm6, %xmm6 1116// CHECK: encoding: [0x66,0x0f,0x38,0x35,0xf6] 1117pmovzxdq %xmm6, %xmm6 1118 1119// CHECK: pmovzxwd 485498096, %xmm6 1120// CHECK: encoding: [0x66,0x0f,0x38,0x33,0x34,0x25,0xf0,0x1c,0xf0,0x1c] 1121pmovzxwd 485498096, %xmm6 1122 1123// CHECK: pmovzxwd 64(%rdx,%rax,4), %xmm6 1124// CHECK: encoding: [0x66,0x0f,0x38,0x33,0x74,0x82,0x40] 1125pmovzxwd 64(%rdx,%rax,4), %xmm6 1126 1127// CHECK: pmovzxwd -64(%rdx,%rax,4), %xmm6 1128// CHECK: encoding: [0x66,0x0f,0x38,0x33,0x74,0x82,0xc0] 1129pmovzxwd -64(%rdx,%rax,4), %xmm6 1130 1131// CHECK: pmovzxwd 64(%rdx,%rax), %xmm6 1132// CHECK: encoding: [0x66,0x0f,0x38,0x33,0x74,0x02,0x40] 1133pmovzxwd 64(%rdx,%rax), %xmm6 1134 1135// CHECK: pmovzxwd 64(%rdx), %xmm6 1136// CHECK: encoding: [0x66,0x0f,0x38,0x33,0x72,0x40] 1137pmovzxwd 64(%rdx), %xmm6 1138 1139// CHECK: pmovzxwd (%rdx), %xmm6 1140// CHECK: encoding: [0x66,0x0f,0x38,0x33,0x32] 1141pmovzxwd (%rdx), %xmm6 1142 1143// CHECK: pmovzxwd %xmm6, %xmm6 1144// CHECK: encoding: [0x66,0x0f,0x38,0x33,0xf6] 1145pmovzxwd %xmm6, %xmm6 1146 1147// CHECK: pmovzxwq 485498096, %xmm6 1148// CHECK: encoding: [0x66,0x0f,0x38,0x34,0x34,0x25,0xf0,0x1c,0xf0,0x1c] 1149pmovzxwq 485498096, %xmm6 1150 1151// CHECK: pmovzxwq 64(%rdx,%rax,4), %xmm6 1152// CHECK: encoding: [0x66,0x0f,0x38,0x34,0x74,0x82,0x40] 1153pmovzxwq 64(%rdx,%rax,4), %xmm6 1154 1155// CHECK: pmovzxwq -64(%rdx,%rax,4), %xmm6 1156// CHECK: encoding: [0x66,0x0f,0x38,0x34,0x74,0x82,0xc0] 1157pmovzxwq -64(%rdx,%rax,4), %xmm6 1158 1159// CHECK: pmovzxwq 64(%rdx,%rax), %xmm6 1160// CHECK: encoding: [0x66,0x0f,0x38,0x34,0x74,0x02,0x40] 1161pmovzxwq 64(%rdx,%rax), %xmm6 1162 1163// CHECK: pmovzxwq 64(%rdx), %xmm6 1164// CHECK: encoding: [0x66,0x0f,0x38,0x34,0x72,0x40] 1165pmovzxwq 64(%rdx), %xmm6 1166 1167// CHECK: pmovzxwq (%rdx), %xmm6 1168// CHECK: encoding: [0x66,0x0f,0x38,0x34,0x32] 1169pmovzxwq (%rdx), %xmm6 1170 1171// CHECK: pmovzxwq %xmm6, %xmm6 1172// CHECK: encoding: [0x66,0x0f,0x38,0x34,0xf6] 1173pmovzxwq %xmm6, %xmm6 1174 1175// CHECK: pmuldq 485498096, %xmm6 1176// CHECK: encoding: [0x66,0x0f,0x38,0x28,0x34,0x25,0xf0,0x1c,0xf0,0x1c] 1177pmuldq 485498096, %xmm6 1178 1179// CHECK: pmuldq 64(%rdx,%rax,4), %xmm6 1180// CHECK: encoding: [0x66,0x0f,0x38,0x28,0x74,0x82,0x40] 1181pmuldq 64(%rdx,%rax,4), %xmm6 1182 1183// CHECK: pmuldq -64(%rdx,%rax,4), %xmm6 1184// CHECK: encoding: [0x66,0x0f,0x38,0x28,0x74,0x82,0xc0] 1185pmuldq -64(%rdx,%rax,4), %xmm6 1186 1187// CHECK: pmuldq 64(%rdx,%rax), %xmm6 1188// CHECK: encoding: [0x66,0x0f,0x38,0x28,0x74,0x02,0x40] 1189pmuldq 64(%rdx,%rax), %xmm6 1190 1191// CHECK: pmuldq 64(%rdx), %xmm6 1192// CHECK: encoding: [0x66,0x0f,0x38,0x28,0x72,0x40] 1193pmuldq 64(%rdx), %xmm6 1194 1195// CHECK: pmuldq (%rdx), %xmm6 1196// CHECK: encoding: [0x66,0x0f,0x38,0x28,0x32] 1197pmuldq (%rdx), %xmm6 1198 1199// CHECK: pmuldq %xmm6, %xmm6 1200// CHECK: encoding: [0x66,0x0f,0x38,0x28,0xf6] 1201pmuldq %xmm6, %xmm6 1202 1203// CHECK: pmulld 485498096, %xmm6 1204// CHECK: encoding: [0x66,0x0f,0x38,0x40,0x34,0x25,0xf0,0x1c,0xf0,0x1c] 1205pmulld 485498096, %xmm6 1206 1207// CHECK: pmulld 64(%rdx,%rax,4), %xmm6 1208// CHECK: encoding: [0x66,0x0f,0x38,0x40,0x74,0x82,0x40] 1209pmulld 64(%rdx,%rax,4), %xmm6 1210 1211// CHECK: pmulld -64(%rdx,%rax,4), %xmm6 1212// CHECK: encoding: [0x66,0x0f,0x38,0x40,0x74,0x82,0xc0] 1213pmulld -64(%rdx,%rax,4), %xmm6 1214 1215// CHECK: pmulld 64(%rdx,%rax), %xmm6 1216// CHECK: encoding: [0x66,0x0f,0x38,0x40,0x74,0x02,0x40] 1217pmulld 64(%rdx,%rax), %xmm6 1218 1219// CHECK: pmulld 64(%rdx), %xmm6 1220// CHECK: encoding: [0x66,0x0f,0x38,0x40,0x72,0x40] 1221pmulld 64(%rdx), %xmm6 1222 1223// CHECK: pmulld (%rdx), %xmm6 1224// CHECK: encoding: [0x66,0x0f,0x38,0x40,0x32] 1225pmulld (%rdx), %xmm6 1226 1227// CHECK: pmulld %xmm6, %xmm6 1228// CHECK: encoding: [0x66,0x0f,0x38,0x40,0xf6] 1229pmulld %xmm6, %xmm6 1230 1231// CHECK: ptest 485498096, %xmm6 1232// CHECK: encoding: [0x66,0x0f,0x38,0x17,0x34,0x25,0xf0,0x1c,0xf0,0x1c] 1233ptest 485498096, %xmm6 1234 1235// CHECK: ptest 64(%rdx,%rax,4), %xmm6 1236// CHECK: encoding: [0x66,0x0f,0x38,0x17,0x74,0x82,0x40] 1237ptest 64(%rdx,%rax,4), %xmm6 1238 1239// CHECK: ptest -64(%rdx,%rax,4), %xmm6 1240// CHECK: encoding: [0x66,0x0f,0x38,0x17,0x74,0x82,0xc0] 1241ptest -64(%rdx,%rax,4), %xmm6 1242 1243// CHECK: ptest 64(%rdx,%rax), %xmm6 1244// CHECK: encoding: [0x66,0x0f,0x38,0x17,0x74,0x02,0x40] 1245ptest 64(%rdx,%rax), %xmm6 1246 1247// CHECK: ptest 64(%rdx), %xmm6 1248// CHECK: encoding: [0x66,0x0f,0x38,0x17,0x72,0x40] 1249ptest 64(%rdx), %xmm6 1250 1251// CHECK: ptest (%rdx), %xmm6 1252// CHECK: encoding: [0x66,0x0f,0x38,0x17,0x32] 1253ptest (%rdx), %xmm6 1254 1255// CHECK: ptest %xmm6, %xmm6 1256// CHECK: encoding: [0x66,0x0f,0x38,0x17,0xf6] 1257ptest %xmm6, %xmm6 1258 1259// CHECK: roundpd $0, 485498096, %xmm6 1260// CHECK: encoding: [0x66,0x0f,0x3a,0x09,0x34,0x25,0xf0,0x1c,0xf0,0x1c,0x00] 1261roundpd $0, 485498096, %xmm6 1262 1263// CHECK: roundpd $0, 64(%rdx,%rax,4), %xmm6 1264// CHECK: encoding: [0x66,0x0f,0x3a,0x09,0x74,0x82,0x40,0x00] 1265roundpd $0, 64(%rdx,%rax,4), %xmm6 1266 1267// CHECK: roundpd $0, -64(%rdx,%rax,4), %xmm6 1268// CHECK: encoding: [0x66,0x0f,0x3a,0x09,0x74,0x82,0xc0,0x00] 1269roundpd $0, -64(%rdx,%rax,4), %xmm6 1270 1271// CHECK: roundpd $0, 64(%rdx,%rax), %xmm6 1272// CHECK: encoding: [0x66,0x0f,0x3a,0x09,0x74,0x02,0x40,0x00] 1273roundpd $0, 64(%rdx,%rax), %xmm6 1274 1275// CHECK: roundpd $0, 64(%rdx), %xmm6 1276// CHECK: encoding: [0x66,0x0f,0x3a,0x09,0x72,0x40,0x00] 1277roundpd $0, 64(%rdx), %xmm6 1278 1279// CHECK: roundpd $0, (%rdx), %xmm6 1280// CHECK: encoding: [0x66,0x0f,0x3a,0x09,0x32,0x00] 1281roundpd $0, (%rdx), %xmm6 1282 1283// CHECK: roundpd $0, %xmm6, %xmm6 1284// CHECK: encoding: [0x66,0x0f,0x3a,0x09,0xf6,0x00] 1285roundpd $0, %xmm6, %xmm6 1286 1287// CHECK: roundps $0, 485498096, %xmm6 1288// CHECK: encoding: [0x66,0x0f,0x3a,0x08,0x34,0x25,0xf0,0x1c,0xf0,0x1c,0x00] 1289roundps $0, 485498096, %xmm6 1290 1291// CHECK: roundps $0, 64(%rdx,%rax,4), %xmm6 1292// CHECK: encoding: [0x66,0x0f,0x3a,0x08,0x74,0x82,0x40,0x00] 1293roundps $0, 64(%rdx,%rax,4), %xmm6 1294 1295// CHECK: roundps $0, -64(%rdx,%rax,4), %xmm6 1296// CHECK: encoding: [0x66,0x0f,0x3a,0x08,0x74,0x82,0xc0,0x00] 1297roundps $0, -64(%rdx,%rax,4), %xmm6 1298 1299// CHECK: roundps $0, 64(%rdx,%rax), %xmm6 1300// CHECK: encoding: [0x66,0x0f,0x3a,0x08,0x74,0x02,0x40,0x00] 1301roundps $0, 64(%rdx,%rax), %xmm6 1302 1303// CHECK: roundps $0, 64(%rdx), %xmm6 1304// CHECK: encoding: [0x66,0x0f,0x3a,0x08,0x72,0x40,0x00] 1305roundps $0, 64(%rdx), %xmm6 1306 1307// CHECK: roundps $0, (%rdx), %xmm6 1308// CHECK: encoding: [0x66,0x0f,0x3a,0x08,0x32,0x00] 1309roundps $0, (%rdx), %xmm6 1310 1311// CHECK: roundps $0, %xmm6, %xmm6 1312// CHECK: encoding: [0x66,0x0f,0x3a,0x08,0xf6,0x00] 1313roundps $0, %xmm6, %xmm6 1314 1315// CHECK: roundsd $0, 485498096, %xmm6 1316// CHECK: encoding: [0x66,0x0f,0x3a,0x0b,0x34,0x25,0xf0,0x1c,0xf0,0x1c,0x00] 1317roundsd $0, 485498096, %xmm6 1318 1319// CHECK: roundsd $0, 64(%rdx,%rax,4), %xmm6 1320// CHECK: encoding: [0x66,0x0f,0x3a,0x0b,0x74,0x82,0x40,0x00] 1321roundsd $0, 64(%rdx,%rax,4), %xmm6 1322 1323// CHECK: roundsd $0, -64(%rdx,%rax,4), %xmm6 1324// CHECK: encoding: [0x66,0x0f,0x3a,0x0b,0x74,0x82,0xc0,0x00] 1325roundsd $0, -64(%rdx,%rax,4), %xmm6 1326 1327// CHECK: roundsd $0, 64(%rdx,%rax), %xmm6 1328// CHECK: encoding: [0x66,0x0f,0x3a,0x0b,0x74,0x02,0x40,0x00] 1329roundsd $0, 64(%rdx,%rax), %xmm6 1330 1331// CHECK: roundsd $0, 64(%rdx), %xmm6 1332// CHECK: encoding: [0x66,0x0f,0x3a,0x0b,0x72,0x40,0x00] 1333roundsd $0, 64(%rdx), %xmm6 1334 1335// CHECK: roundsd $0, (%rdx), %xmm6 1336// CHECK: encoding: [0x66,0x0f,0x3a,0x0b,0x32,0x00] 1337roundsd $0, (%rdx), %xmm6 1338 1339// CHECK: roundsd $0, %xmm6, %xmm6 1340// CHECK: encoding: [0x66,0x0f,0x3a,0x0b,0xf6,0x00] 1341roundsd $0, %xmm6, %xmm6 1342 1343// CHECK: roundss $0, 485498096, %xmm6 1344// CHECK: encoding: [0x66,0x0f,0x3a,0x0a,0x34,0x25,0xf0,0x1c,0xf0,0x1c,0x00] 1345roundss $0, 485498096, %xmm6 1346 1347// CHECK: roundss $0, 64(%rdx,%rax,4), %xmm6 1348// CHECK: encoding: [0x66,0x0f,0x3a,0x0a,0x74,0x82,0x40,0x00] 1349roundss $0, 64(%rdx,%rax,4), %xmm6 1350 1351// CHECK: roundss $0, -64(%rdx,%rax,4), %xmm6 1352// CHECK: encoding: [0x66,0x0f,0x3a,0x0a,0x74,0x82,0xc0,0x00] 1353roundss $0, -64(%rdx,%rax,4), %xmm6 1354 1355// CHECK: roundss $0, 64(%rdx,%rax), %xmm6 1356// CHECK: encoding: [0x66,0x0f,0x3a,0x0a,0x74,0x02,0x40,0x00] 1357roundss $0, 64(%rdx,%rax), %xmm6 1358 1359// CHECK: roundss $0, 64(%rdx), %xmm6 1360// CHECK: encoding: [0x66,0x0f,0x3a,0x0a,0x72,0x40,0x00] 1361roundss $0, 64(%rdx), %xmm6 1362 1363// CHECK: roundss $0, (%rdx), %xmm6 1364// CHECK: encoding: [0x66,0x0f,0x3a,0x0a,0x32,0x00] 1365roundss $0, (%rdx), %xmm6 1366 1367// CHECK: roundss $0, %xmm6, %xmm6 1368// CHECK: encoding: [0x66,0x0f,0x3a,0x0a,0xf6,0x00] 1369roundss $0, %xmm6, %xmm6 1370 1371