mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
0f29f1e458
This patch mainly made the following changes: 1. Support AVX-VNNI instructions; 2. Introduce ExplicitVEXPrefix flag so that vpdpbusd/vpdpbusds/vpdpbusds/vpdpbusds instructions only use vex-encoding when user explicity add {vex} prefix. Differential Revision: https://reviews.llvm.org/D89105
171 lines
5.7 KiB
Plaintext
171 lines
5.7 KiB
Plaintext
# RUN: llvm-mc --disassemble %s -triple=i686 -x86-asm-syntax=intel --output-asm-variant=1 | FileCheck %s
|
|
|
|
# CHECK: {vex} vpdpbusd ymm6, ymm5, ymm4
|
|
0xc4,0xe2,0x55,0x50,0xf4
|
|
|
|
# CHECK: {vex} vpdpbusd xmm6, xmm5, xmm4
|
|
0xc4,0xe2,0x51,0x50,0xf4
|
|
|
|
# CHECK: {vex} vpdpbusd ymm6, ymm5, ymmword ptr [esp + 8*esi + 268435456]
|
|
0xc4,0xe2,0x55,0x50,0xb4,0xf4,0x00,0x00,0x00,0x10
|
|
|
|
# CHECK: {vex} vpdpbusd ymm6, ymm5, ymmword ptr [edi + 4*eax + 291]
|
|
0xc4,0xe2,0x55,0x50,0xb4,0x87,0x23,0x01,0x00,0x00
|
|
|
|
# CHECK: {vex} vpdpbusd ymm6, ymm5, ymmword ptr [eax]
|
|
0xc4,0xe2,0x55,0x50,0x30
|
|
|
|
# CHECK: {vex} vpdpbusd ymm6, ymm5, ymmword ptr [2*ebp - 1024]
|
|
0xc4,0xe2,0x55,0x50,0x34,0x6d,0x00,0xfc,0xff,0xff
|
|
|
|
# CHECK: {vex} vpdpbusd ymm6, ymm5, ymmword ptr [ecx + 4064]
|
|
0xc4,0xe2,0x55,0x50,0xb1,0xe0,0x0f,0x00,0x00
|
|
|
|
# CHECK: {vex} vpdpbusd ymm6, ymm5, ymmword ptr [edx - 4096]
|
|
0xc4,0xe2,0x55,0x50,0xb2,0x00,0xf0,0xff,0xff
|
|
|
|
# CHECK: {vex} vpdpbusd xmm6, xmm5, xmmword ptr [esp + 8*esi + 268435456]
|
|
0xc4,0xe2,0x51,0x50,0xb4,0xf4,0x00,0x00,0x00,0x10
|
|
|
|
# CHECK: {vex} vpdpbusd xmm6, xmm5, xmmword ptr [edi + 4*eax + 291]
|
|
0xc4,0xe2,0x51,0x50,0xb4,0x87,0x23,0x01,0x00,0x00
|
|
|
|
# CHECK: {vex} vpdpbusd xmm6, xmm5, xmmword ptr [eax]
|
|
0xc4,0xe2,0x51,0x50,0x30
|
|
|
|
# CHECK: {vex} vpdpbusd xmm6, xmm5, xmmword ptr [2*ebp - 512]
|
|
0xc4,0xe2,0x51,0x50,0x34,0x6d,0x00,0xfe,0xff,0xff
|
|
|
|
# CHECK: {vex} vpdpbusd xmm6, xmm5, xmmword ptr [ecx + 2032]
|
|
0xc4,0xe2,0x51,0x50,0xb1,0xf0,0x07,0x00,0x00
|
|
|
|
# CHECK: {vex} vpdpbusd xmm6, xmm5, xmmword ptr [edx - 2048]
|
|
0xc4,0xe2,0x51,0x50,0xb2,0x00,0xf8,0xff,0xff
|
|
|
|
# CHECK: {vex} vpdpbusds ymm6, ymm5, ymm4
|
|
0xc4,0xe2,0x55,0x51,0xf4
|
|
|
|
# CHECK: {vex} vpdpbusds xmm6, xmm5, xmm4
|
|
0xc4,0xe2,0x51,0x51,0xf4
|
|
|
|
# CHECK: {vex} vpdpbusds ymm6, ymm5, ymmword ptr [esp + 8*esi + 268435456]
|
|
0xc4,0xe2,0x55,0x51,0xb4,0xf4,0x00,0x00,0x00,0x10
|
|
|
|
# CHECK: {vex} vpdpbusds ymm6, ymm5, ymmword ptr [edi + 4*eax + 291]
|
|
0xc4,0xe2,0x55,0x51,0xb4,0x87,0x23,0x01,0x00,0x00
|
|
|
|
# CHECK: {vex} vpdpbusds ymm6, ymm5, ymmword ptr [eax]
|
|
0xc4,0xe2,0x55,0x51,0x30
|
|
|
|
# CHECK: {vex} vpdpbusds ymm6, ymm5, ymmword ptr [2*ebp - 1024]
|
|
0xc4,0xe2,0x55,0x51,0x34,0x6d,0x00,0xfc,0xff,0xff
|
|
|
|
# CHECK: {vex} vpdpbusds ymm6, ymm5, ymmword ptr [ecx + 4064]
|
|
0xc4,0xe2,0x55,0x51,0xb1,0xe0,0x0f,0x00,0x00
|
|
|
|
# CHECK: {vex} vpdpbusds ymm6, ymm5, ymmword ptr [edx - 4096]
|
|
0xc4,0xe2,0x55,0x51,0xb2,0x00,0xf0,0xff,0xff
|
|
|
|
# CHECK: {vex} vpdpbusds xmm6, xmm5, xmmword ptr [esp + 8*esi + 268435456]
|
|
0xc4,0xe2,0x51,0x51,0xb4,0xf4,0x00,0x00,0x00,0x10
|
|
|
|
# CHECK: {vex} vpdpbusds xmm6, xmm5, xmmword ptr [edi + 4*eax + 291]
|
|
0xc4,0xe2,0x51,0x51,0xb4,0x87,0x23,0x01,0x00,0x00
|
|
|
|
# CHECK: {vex} vpdpbusds xmm6, xmm5, xmmword ptr [eax]
|
|
0xc4,0xe2,0x51,0x51,0x30
|
|
|
|
# CHECK: {vex} vpdpbusds xmm6, xmm5, xmmword ptr [2*ebp - 512]
|
|
0xc4,0xe2,0x51,0x51,0x34,0x6d,0x00,0xfe,0xff,0xff
|
|
|
|
# CHECK: {vex} vpdpbusds xmm6, xmm5, xmmword ptr [ecx + 2032]
|
|
0xc4,0xe2,0x51,0x51,0xb1,0xf0,0x07,0x00,0x00
|
|
|
|
# CHECK: {vex} vpdpbusds xmm6, xmm5, xmmword ptr [edx - 2048]
|
|
0xc4,0xe2,0x51,0x51,0xb2,0x00,0xf8,0xff,0xff
|
|
|
|
# CHECK: {vex} vpdpwssd ymm6, ymm5, ymm4
|
|
0xc4,0xe2,0x55,0x52,0xf4
|
|
|
|
# CHECK: {vex} vpdpwssd xmm6, xmm5, xmm4
|
|
0xc4,0xe2,0x51,0x52,0xf4
|
|
|
|
# CHECK: {vex} vpdpwssd ymm6, ymm5, ymmword ptr [esp + 8*esi + 268435456]
|
|
0xc4,0xe2,0x55,0x52,0xb4,0xf4,0x00,0x00,0x00,0x10
|
|
|
|
# CHECK: {vex} vpdpwssd ymm6, ymm5, ymmword ptr [edi + 4*eax + 291]
|
|
0xc4,0xe2,0x55,0x52,0xb4,0x87,0x23,0x01,0x00,0x00
|
|
|
|
# CHECK: {vex} vpdpwssd ymm6, ymm5, ymmword ptr [eax]
|
|
0xc4,0xe2,0x55,0x52,0x30
|
|
|
|
# CHECK: {vex} vpdpwssd ymm6, ymm5, ymmword ptr [2*ebp - 1024]
|
|
0xc4,0xe2,0x55,0x52,0x34,0x6d,0x00,0xfc,0xff,0xff
|
|
|
|
# CHECK: {vex} vpdpwssd ymm6, ymm5, ymmword ptr [ecx + 4064]
|
|
0xc4,0xe2,0x55,0x52,0xb1,0xe0,0x0f,0x00,0x00
|
|
|
|
# CHECK: {vex} vpdpwssd ymm6, ymm5, ymmword ptr [edx - 4096]
|
|
0xc4,0xe2,0x55,0x52,0xb2,0x00,0xf0,0xff,0xff
|
|
|
|
# CHECK: {vex} vpdpwssd xmm6, xmm5, xmmword ptr [esp + 8*esi + 268435456]
|
|
0xc4,0xe2,0x51,0x52,0xb4,0xf4,0x00,0x00,0x00,0x10
|
|
|
|
# CHECK: {vex} vpdpwssd xmm6, xmm5, xmmword ptr [edi + 4*eax + 291]
|
|
0xc4,0xe2,0x51,0x52,0xb4,0x87,0x23,0x01,0x00,0x00
|
|
|
|
# CHECK: {vex} vpdpwssd xmm6, xmm5, xmmword ptr [eax]
|
|
0xc4,0xe2,0x51,0x52,0x30
|
|
|
|
# CHECK: {vex} vpdpwssd xmm6, xmm5, xmmword ptr [2*ebp - 512]
|
|
0xc4,0xe2,0x51,0x52,0x34,0x6d,0x00,0xfe,0xff,0xff
|
|
|
|
# CHECK: {vex} vpdpwssd xmm6, xmm5, xmmword ptr [ecx + 2032]
|
|
0xc4,0xe2,0x51,0x52,0xb1,0xf0,0x07,0x00,0x00
|
|
|
|
# CHECK: {vex} vpdpwssd xmm6, xmm5, xmmword ptr [edx - 2048]
|
|
0xc4,0xe2,0x51,0x52,0xb2,0x00,0xf8,0xff,0xff
|
|
|
|
# CHECK: {vex} vpdpwssds ymm6, ymm5, ymm4
|
|
0xc4,0xe2,0x55,0x53,0xf4
|
|
|
|
# CHECK: {vex} vpdpwssds xmm6, xmm5, xmm4
|
|
0xc4,0xe2,0x51,0x53,0xf4
|
|
|
|
# CHECK: {vex} vpdpwssds ymm6, ymm5, ymmword ptr [esp + 8*esi + 268435456]
|
|
0xc4,0xe2,0x55,0x53,0xb4,0xf4,0x00,0x00,0x00,0x10
|
|
|
|
# CHECK: {vex} vpdpwssds ymm6, ymm5, ymmword ptr [edi + 4*eax + 291]
|
|
0xc4,0xe2,0x55,0x53,0xb4,0x87,0x23,0x01,0x00,0x00
|
|
|
|
# CHECK: {vex} vpdpwssds ymm6, ymm5, ymmword ptr [eax]
|
|
0xc4,0xe2,0x55,0x53,0x30
|
|
|
|
# CHECK: {vex} vpdpwssds ymm6, ymm5, ymmword ptr [2*ebp - 1024]
|
|
0xc4,0xe2,0x55,0x53,0x34,0x6d,0x00,0xfc,0xff,0xff
|
|
|
|
# CHECK: {vex} vpdpwssds ymm6, ymm5, ymmword ptr [ecx + 4064]
|
|
0xc4,0xe2,0x55,0x53,0xb1,0xe0,0x0f,0x00,0x00
|
|
|
|
# CHECK: {vex} vpdpwssds ymm6, ymm5, ymmword ptr [edx - 4096]
|
|
0xc4,0xe2,0x55,0x53,0xb2,0x00,0xf0,0xff,0xff
|
|
|
|
# CHECK: {vex} vpdpwssds xmm6, xmm5, xmmword ptr [esp + 8*esi + 268435456]
|
|
0xc4,0xe2,0x51,0x53,0xb4,0xf4,0x00,0x00,0x00,0x10
|
|
|
|
# CHECK: {vex} vpdpwssds xmm6, xmm5, xmmword ptr [edi + 4*eax + 291]
|
|
0xc4,0xe2,0x51,0x53,0xb4,0x87,0x23,0x01,0x00,0x00
|
|
|
|
# CHECK: {vex} vpdpwssds xmm6, xmm5, xmmword ptr [eax]
|
|
0xc4,0xe2,0x51,0x53,0x30
|
|
|
|
# CHECK: {vex} vpdpwssds xmm6, xmm5, xmmword ptr [2*ebp - 512]
|
|
0xc4,0xe2,0x51,0x53,0x34,0x6d,0x00,0xfe,0xff,0xff
|
|
|
|
# CHECK: {vex} vpdpwssds xmm6, xmm5, xmmword ptr [ecx + 2032]
|
|
0xc4,0xe2,0x51,0x53,0xb1,0xf0,0x07,0x00,0x00
|
|
|
|
# CHECK: {vex} vpdpwssds xmm6, xmm5, xmmword ptr [edx - 2048]
|
|
0xc4,0xe2,0x51,0x53,0xb2,0x00,0xf8,0xff,0xff
|
|
|