[PATCH] D35785: [AsmParser][AVX512]Enhance OpMask/Zero/Merge syntax check rubostness

michael zuckerman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 31 22:35:10 PDT 2017


m_zuckerman added inline comments.


================
Comment at: test/MC/X86/avx512-err.s:8
+// ERR: Expected a {z} mark at this point
+vfmsub213ps %zmm8, %zmm8, %zmm8{%k2} {rn-sae}
+
----------------
m_zuckerman wrote:
> So why this is an error? you mustn't have the {z} mask before the {rn-sae}. 
> Again according to the ISA section 2.5.4 
> https://software.intel.com/sites/default/files/managed/07/b7/319433-023.pdf
> for example: 
> vaddps zmm7 {k6}, zmm2, zmm4, {rd-sae}
> 
you don't must the {z} before the {rn-sae}


Repository:
  rL LLVM

https://reviews.llvm.org/D35785





More information about the llvm-commits mailing list