1 // RUN
: not llvm-mc
%s
-triple x86_64-unknown-unknown
-x86-asm-syntax
=intel
-output-asm-variant
=1 -o
/dev
/null
2>&1 | FileCheck
%s
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
10 vpcmpltd k5
{k0
}, zmm7
, zmm24
11 // CHECK
: error
: Register k0 can
't be used as write mask