1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
|
// RUN: llvm-mc -triple i686-unknown-unknown -mattr=+avxifma --show-encoding %s | FileCheck %s
// CHECK: {vex} vpmadd52huq %ymm4, %ymm3, %ymm2
// CHECK: encoding: [0xc4,0xe2,0xe5,0xb5,0xd4]
{vex} vpmadd52huq %ymm4, %ymm3, %ymm2
// CHECK: {vex} vpmadd52huq %xmm4, %xmm3, %xmm2
// CHECK: encoding: [0xc4,0xe2,0xe1,0xb5,0xd4]
{vex} vpmadd52huq %xmm4, %xmm3, %xmm2
// CHECK: {vex} vpmadd52huq 268435456(%esp,%esi,8), %ymm3, %ymm2
// CHECK: encoding: [0xc4,0xe2,0xe5,0xb5,0x94,0xf4,0x00,0x00,0x00,0x10]
{vex} vpmadd52huq 268435456(%esp,%esi,8), %ymm3, %ymm2
// CHECK: {vex} vpmadd52huq 291(%edi,%eax,4), %ymm3, %ymm2
// CHECK: encoding: [0xc4,0xe2,0xe5,0xb5,0x94,0x87,0x23,0x01,0x00,0x00]
{vex} vpmadd52huq 291(%edi,%eax,4), %ymm3, %ymm2
// CHECK: {vex} vpmadd52huq (%eax), %ymm3, %ymm2
// CHECK: encoding: [0xc4,0xe2,0xe5,0xb5,0x10]
{vex} vpmadd52huq (%eax), %ymm3, %ymm2
// CHECK: {vex} vpmadd52huq -1024(,%ebp,2), %ymm3, %ymm2
// CHECK: encoding: [0xc4,0xe2,0xe5,0xb5,0x14,0x6d,0x00,0xfc,0xff,0xff]
{vex} vpmadd52huq -1024(,%ebp,2), %ymm3, %ymm2
// CHECK: {vex} vpmadd52huq 4064(%ecx), %ymm3, %ymm2
// CHECK: encoding: [0xc4,0xe2,0xe5,0xb5,0x91,0xe0,0x0f,0x00,0x00]
{vex} vpmadd52huq 4064(%ecx), %ymm3, %ymm2
// CHECK: {vex} vpmadd52huq -4096(%edx), %ymm3, %ymm2
// CHECK: encoding: [0xc4,0xe2,0xe5,0xb5,0x92,0x00,0xf0,0xff,0xff]
{vex} vpmadd52huq -4096(%edx), %ymm3, %ymm2
// CHECK: {vex} vpmadd52huq 268435456(%esp,%esi,8), %xmm3, %xmm2
// CHECK: encoding: [0xc4,0xe2,0xe1,0xb5,0x94,0xf4,0x00,0x00,0x00,0x10]
{vex} vpmadd52huq 268435456(%esp,%esi,8), %xmm3, %xmm2
// CHECK: {vex} vpmadd52huq 291(%edi,%eax,4), %xmm3, %xmm2
// CHECK: encoding: [0xc4,0xe2,0xe1,0xb5,0x94,0x87,0x23,0x01,0x00,0x00]
{vex} vpmadd52huq 291(%edi,%eax,4), %xmm3, %xmm2
// CHECK: {vex} vpmadd52huq (%eax), %xmm3, %xmm2
// CHECK: encoding: [0xc4,0xe2,0xe1,0xb5,0x10]
{vex} vpmadd52huq (%eax), %xmm3, %xmm2
// CHECK: {vex} vpmadd52huq -512(,%ebp,2), %xmm3, %xmm2
// CHECK: encoding: [0xc4,0xe2,0xe1,0xb5,0x14,0x6d,0x00,0xfe,0xff,0xff]
{vex} vpmadd52huq -512(,%ebp,2), %xmm3, %xmm2
// CHECK: {vex} vpmadd52huq 2032(%ecx), %xmm3, %xmm2
// CHECK: encoding: [0xc4,0xe2,0xe1,0xb5,0x91,0xf0,0x07,0x00,0x00]
{vex} vpmadd52huq 2032(%ecx), %xmm3, %xmm2
// CHECK: {vex} vpmadd52huq -2048(%edx), %xmm3, %xmm2
// CHECK: encoding: [0xc4,0xe2,0xe1,0xb5,0x92,0x00,0xf8,0xff,0xff]
{vex} vpmadd52huq -2048(%edx), %xmm3, %xmm2
// CHECK: {vex} vpmadd52luq %ymm4, %ymm3, %ymm2
// CHECK: encoding: [0xc4,0xe2,0xe5,0xb4,0xd4]
{vex} vpmadd52luq %ymm4, %ymm3, %ymm2
// CHECK: {vex} vpmadd52luq %xmm4, %xmm3, %xmm2
// CHECK: encoding: [0xc4,0xe2,0xe1,0xb4,0xd4]
{vex} vpmadd52luq %xmm4, %xmm3, %xmm2
// CHECK: {vex} vpmadd52luq 268435456(%esp,%esi,8), %ymm3, %ymm2
// CHECK: encoding: [0xc4,0xe2,0xe5,0xb4,0x94,0xf4,0x00,0x00,0x00,0x10]
{vex} vpmadd52luq 268435456(%esp,%esi,8), %ymm3, %ymm2
// CHECK: {vex} vpmadd52luq 291(%edi,%eax,4), %ymm3, %ymm2
// CHECK: encoding: [0xc4,0xe2,0xe5,0xb4,0x94,0x87,0x23,0x01,0x00,0x00]
{vex} vpmadd52luq 291(%edi,%eax,4), %ymm3, %ymm2
// CHECK: {vex} vpmadd52luq (%eax), %ymm3, %ymm2
// CHECK: encoding: [0xc4,0xe2,0xe5,0xb4,0x10]
{vex} vpmadd52luq (%eax), %ymm3, %ymm2
// CHECK: {vex} vpmadd52luq -1024(,%ebp,2), %ymm3, %ymm2
// CHECK: encoding: [0xc4,0xe2,0xe5,0xb4,0x14,0x6d,0x00,0xfc,0xff,0xff]
{vex} vpmadd52luq -1024(,%ebp,2), %ymm3, %ymm2
// CHECK: {vex} vpmadd52luq 4064(%ecx), %ymm3, %ymm2
// CHECK: encoding: [0xc4,0xe2,0xe5,0xb4,0x91,0xe0,0x0f,0x00,0x00]
{vex} vpmadd52luq 4064(%ecx), %ymm3, %ymm2
// CHECK: {vex} vpmadd52luq -4096(%edx), %ymm3, %ymm2
// CHECK: encoding: [0xc4,0xe2,0xe5,0xb4,0x92,0x00,0xf0,0xff,0xff]
{vex} vpmadd52luq -4096(%edx), %ymm3, %ymm2
// CHECK: {vex} vpmadd52luq 268435456(%esp,%esi,8), %xmm3, %xmm2
// CHECK: encoding: [0xc4,0xe2,0xe1,0xb4,0x94,0xf4,0x00,0x00,0x00,0x10]
{vex} vpmadd52luq 268435456(%esp,%esi,8), %xmm3, %xmm2
// CHECK: {vex} vpmadd52luq 291(%edi,%eax,4), %xmm3, %xmm2
// CHECK: encoding: [0xc4,0xe2,0xe1,0xb4,0x94,0x87,0x23,0x01,0x00,0x00]
{vex} vpmadd52luq 291(%edi,%eax,4), %xmm3, %xmm2
// CHECK: {vex} vpmadd52luq (%eax), %xmm3, %xmm2
// CHECK: encoding: [0xc4,0xe2,0xe1,0xb4,0x10]
{vex} vpmadd52luq (%eax), %xmm3, %xmm2
// CHECK: {vex} vpmadd52luq -512(,%ebp,2), %xmm3, %xmm2
// CHECK: encoding: [0xc4,0xe2,0xe1,0xb4,0x14,0x6d,0x00,0xfe,0xff,0xff]
{vex} vpmadd52luq -512(,%ebp,2), %xmm3, %xmm2
// CHECK: {vex} vpmadd52luq 2032(%ecx), %xmm3, %xmm2
// CHECK: encoding: [0xc4,0xe2,0xe1,0xb4,0x91,0xf0,0x07,0x00,0x00]
{vex} vpmadd52luq 2032(%ecx), %xmm3, %xmm2
// CHECK: {vex} vpmadd52luq -2048(%edx), %xmm3, %xmm2
// CHECK: encoding: [0xc4,0xe2,0xe1,0xb4,0x92,0x00,0xf8,0xff,0xff]
{vex} vpmadd52luq -2048(%edx), %xmm3, %xmm2
|