From: Asaf Badouh Date: Thu, 5 Nov 2015 08:08:21 +0000 (+0000) Subject: [X86][AVX512] small bugfix in VPBROADCASTM X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b1b2c5a45726af8ac71735780354820fab8fe797;p=oota-llvm.git [X86][AVX512] small bugfix in VPBROADCASTM VPBROADCASTMW2D and VPBROADCASTMB2Q Differential Revision: http://reviews.llvm.org/D14335 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252151 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86InstrAVX512.td b/lib/Target/X86/X86InstrAVX512.td index 9c5f96f358d..8cb6babd35f 100644 --- a/lib/Target/X86/X86InstrAVX512.td +++ b/lib/Target/X86/X86InstrAVX512.td @@ -1122,10 +1122,10 @@ def Zrr : AVX512XS8I, EVEX, EVEX_V512; let Predicates = [HasCDI, HasVLX] in { -def Z128rr : AVX512XS8I, EVEX, EVEX_V128; -def Z256rr : AVX512XS8I, EVEX, EVEX_V256; } diff --git a/test/MC/X86/x86-64-avx512cd_vl.s b/test/MC/X86/x86-64-avx512cd_vl.s index 13126ec0877..ddaeae69a92 100644 --- a/test/MC/X86/x86-64-avx512cd_vl.s +++ b/test/MC/X86/x86-64-avx512cd_vl.s @@ -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