1// RUN: not llvm-mc %s -triple x86_64-unknown-unknown --show-encoding -o /dev/null 2>&1 | FileCheck --check-prefix=ERR %s
2
3// ERR: Register k0 can't be used as write mask
4vpcmpd $1, %zmm24, %zmm7, %k5{%k0}
5
6// ERR: Expected a {z} mark at this point
7vfmsub213ps %zmm8, %zmm8, %zmm8{%k2} {rn-sae}
8
9// ERR: Expected an op-mask register at this point
10vfmsub213ps %zmm8, %zmm8, %zmm8 {rn-sae}
11
12// ERR: invalid operand for instruction
13cvtsd2sil  {rn-sae}, %xmm1, %eax
14