From 16b20245baf368e5bc699dca4992d42a9dcf744f Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Fri, 23 Feb 2018 20:48:44 +0000 Subject: [PATCH] [X86] Add assembler/disassembler support for blendm with zero masking and broacast. Fixes PR31617 llvm-svn: 325957 --- llvm/lib/Target/X86/X86InstrAVX512.td | 8 +++ llvm/test/MC/X86/AVX512F_512-32.s | 92 +++++++++++++++++++++++++++ llvm/test/MC/X86/AVX512F_512-64.s | 92 +++++++++++++++++++++++++++ 3 files changed, 192 insertions(+) diff --git a/llvm/lib/Target/X86/X86InstrAVX512.td b/llvm/lib/Target/X86/X86InstrAVX512.td index f24927fb2a03..2e6566f62167 100644 --- a/llvm/lib/Target/X86/X86InstrAVX512.td +++ b/llvm/lib/Target/X86/X86InstrAVX512.td @@ -1965,6 +1965,14 @@ multiclass avx512_blendmask_rmb opc, string OpcodeStr, OpndItins itins, [], itins.rm>, EVEX_4V, EVEX_K, EVEX_B, EVEX_CD8<_.EltSize, CD8VF>, Sched<[itins.Sched.Folded, ReadAfterLd]>; + def rmbkz : AVX5128I, EVEX_4V, EVEX_KZ, EVEX_B, EVEX_CD8<_.EltSize, CD8VF>, + Sched<[itins.Sched.Folded, ReadAfterLd]>; + def rmb : AVX5128I