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

coby via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 31 13:17:29 PDT 2017


coby added inline comments.


================
Comment at: test/MC/X86/avx512-err.s:10
+
+// ERR: Expected an op-mask register at this point
+vfmsub213ps %zmm8, %zmm8, %zmm8 {rn-sae}
----------------
m_zuckerman wrote:
> why is this error a true? 
> according to the ISA, the instruction can optionally have op mask.  
The error due to the misplacing of the rounding (rn-sae) mark (line 11).
Only an OpMask / Zero mark is allowed to immediately follow a destination operand.


Repository:
  rL LLVM

https://reviews.llvm.org/D35785





More information about the llvm-commits mailing list