1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

[X86][AVX512] small bugfix in VPBROADCASTM

VPBROADCASTMW2D and VPBROADCASTMB2Q

Differential Revision: http://reviews.llvm.org/D14335

llvm-svn: 252151
This commit is contained in:
Asaf Badouh 2015-11-05 08:08:21 +00:00
parent 174d86e339
commit e9eadcdf13
2 changed files with 17 additions and 2 deletions

View File

@ -1122,10 +1122,10 @@ def Zrr : AVX512XS8I<opc, MRMSrcReg, (outs VR512:$dst), (ins KRC:$src),
[]>, EVEX, EVEX_V512;
let Predicates = [HasCDI, HasVLX] in {
def Z128rr : AVX512XS8I<opc, MRMSrcReg, (outs VR128:$dst), (ins KRC:$src),
def Z128rr : AVX512XS8I<opc, MRMSrcReg, (outs VR128X:$dst), (ins KRC:$src),
!strconcat(OpcodeStr, "\t{$src, $dst|$dst, $src}"),
[]>, EVEX, EVEX_V128;
def Z256rr : AVX512XS8I<opc, MRMSrcReg, (outs VR256:$dst), (ins KRC:$src),
def Z256rr : AVX512XS8I<opc, MRMSrcReg, (outs VR256X:$dst), (ins KRC:$src),
!strconcat(OpcodeStr, "\t{$src, $dst|$dst, $src}"),
[]>, EVEX, EVEX_V256;
}

View File

@ -896,3 +896,18 @@
// CHECK: encoding: [0x62,0x62,0x7d,0x38,0xc4,0x92,0xfc,0xfd,0xff,0xff]
vpconflictd -516(%rdx){1to8}, %ymm26
// CHECK: vpbroadcastmw2d %k4, %xmm19
// CHECK: encoding: [0x62,0xe2,0x7e,0x08,0x3a,0xdc]
vpbroadcastmw2d %k4, %xmm19
// CHECK: vpbroadcastmw2d %k3, %ymm24
// CHECK: encoding: [0x62,0x62,0x7e,0x28,0x3a,0xc3]
vpbroadcastmw2d %k3, %ymm24
// CHECK: vpbroadcastmw2d %k4, %xmm21
// CHECK: encoding: [0x62,0xe2,0x7e,0x08,0x3a,0xec]
vpbroadcastmw2d %k4, %xmm21
// CHECK: vpbroadcastmw2d %k4, %ymm27
// CHECK: encoding: [0x62,0x62,0x7e,0x28,0x3a,0xdc]
vpbroadcastmw2d %k4, %ymm27