From: Adam Nemet Date: Wed, 18 Jun 2014 16:51:07 +0000 (+0000) Subject: [X86] AVX512: Specify compressed displacement for vmovntdqa X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7fc69597b78d96a42fb96f406b1f96232fe848dc;p=oota-llvm.git [X86] AVX512: Specify compressed displacement for vmovntdqa Use the max 64-bit element size with EVEX_CD8. This should work since element size is ignored for a full-vector access (FVM). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211175 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86InstrAVX512.td b/lib/Target/X86/X86InstrAVX512.td index 4b9f560597f..618f42abe94 100644 --- a/lib/Target/X86/X86InstrAVX512.td +++ b/lib/Target/X86/X86InstrAVX512.td @@ -1798,7 +1798,7 @@ def VMOVNTDQAZrm : AVX5128I<0x2A, MRMSrcMem, (outs VR512:$dst), "vmovntdqa\t{$src, $dst|$dst, $src}", [(set VR512:$dst, (int_x86_avx512_movntdqa addr:$src))]>, - EVEX, EVEX_V512; + EVEX, EVEX_V512, EVEX_CD8<64, CD8VF>; //===----------------------------------------------------------------------===// // AVX-512 - Integer arithmetic diff --git a/test/MC/X86/avx512-encodings.s b/test/MC/X86/avx512-encodings.s index f38eaf5402f..a7a87cd0b40 100644 --- a/test/MC/X86/avx512-encodings.s +++ b/test/MC/X86/avx512-encodings.s @@ -3159,3 +3159,7 @@ vmovntdqa 0x12345678(%rbx), %zmm13 // CHECK: vmovntdqa // CHECK: encoding: [0x62,0xc2,0x7d,0x48,0x2a,0x14,0x56] vmovntdqa (%r14,%rdx,2), %zmm18 + +// CHECK: vmovntdqa +// CHECK: encoding: [0x62,0xc2,0x7d,0x48,0x2a,0x7c,0x14,0x02] +vmovntdqa 128(%r12,%rdx), %zmm23