blob: c0ca8a644cdec4337c48c7e6d164cffe35cdb65f [file] [log] [blame]
Coby Tayree3bfb3652017-08-09 12:32:05 +00001// RUN: not llvm-mc %s -triple x86_64-unknown-unknown -mcpu=knl -mattr=+avx512f -x86-asm-syntax=intel -output-asm-variant=1 -o /dev/null 2>&1 | FileCheck %s
2
3// Validate that only OpMask/Zero mark may immediately follow destination
4 vfmsub213ps zmm8{rn-sae} {k2}, zmm8, zmm8
5// CHECK: error: Expected an op-mask register at this point
6 vfmsub213ps zmm8{k2} {rn-sae}, zmm8, zmm8
7// CHECK: error: Expected a {z} mark at this point
8 vfmsub213ps zmm8{rn-sae}, zmm8, zmm8
9// CHECK: error: Expected an op-mask register at this point