From 96600b3c158c3bf84a46794d20a7159f490c7607 Mon Sep 17 00:00:00 2001 From: Igor Breger Date: Thu, 19 Nov 2015 07:43:43 +0000 Subject: [PATCH] AVX512: Implemented encoding for the follow instructions. vmovapd.s, vmovaps.s, vmovdqa32.s, vmovdqa64.s, vmovdqu16.s, vmovdqu32.s, vmovdqu64.s, vmovdqu8.s, vmovupd.s, vmovups.s Differential Revision: http://reviews.llvm.org/D14768 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253546 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86InstrAVX512.td | 24 +- test/MC/X86/avx512-encodings.s | 384 ++++++++++++++++ test/MC/X86/x86-64-avx512bw.s | 96 ++++ test/MC/X86/x86-64-avx512bw_vl.s | 192 ++++++++ test/MC/X86/x86-64-avx512f_vl.s | 768 +++++++++++++++++++++++++++++++ 5 files changed, 1451 insertions(+), 13 deletions(-) diff --git a/lib/Target/X86/X86InstrAVX512.td b/lib/Target/X86/X86InstrAVX512.td index 96da043c2ff..988f100859c 100644 --- a/lib/Target/X86/X86InstrAVX512.td +++ b/lib/Target/X86/X86InstrAVX512.td @@ -2550,23 +2550,21 @@ multiclass avx512_load_vl opc, string OpcodeStr, multiclass avx512_store opc, string OpcodeStr, X86VectorVTInfo _, PatFrag st_frag, PatFrag mstore> { - let isCodeGenOnly = 1, ForceDisassemble = 1, hasSideEffects = 0 in { - def rr_alt : AVX512PI, EVEX; - let Constraints = "$src1 = $dst" in - def rrk_alt : AVX512PI, EVEX; + def rrk_REV : AVX512PI, EVEX, EVEX_K; - def rrkz_alt : AVX512PI, EVEX, EVEX_KZ; - } + let mayStore = 1 in { def mr : AVX512PI