2018-02-03 01:02:58 +08:00
|
|
|
// RUN: not llvm-mc %s -triple x86_64-unknown-unknown --show-encoding -o /dev/null 2>&1 | FileCheck --check-prefix=ERR %s
|
2015-05-12 17:47:23 +08:00
|
|
|
|
2017-08-13 20:03:00 +08:00
|
|
|
// ERR: Register k0 can't be used as write mask
|
2015-05-12 17:47:23 +08:00
|
|
|
vpcmpd $1, %zmm24, %zmm7, %k5{%k0}
|
|
|
|
|
2017-08-09 20:32:05 +08:00
|
|
|
// ERR: Expected a {z} mark at this point
|
|
|
|
vfmsub213ps %zmm8, %zmm8, %zmm8{%k2} {rn-sae}
|
|
|
|
|
|
|
|
// ERR: Expected an op-mask register at this point
|
|
|
|
vfmsub213ps %zmm8, %zmm8, %zmm8 {rn-sae}
|
2018-01-06 14:41:07 +08:00
|
|
|
|
|
|
|
// ERR: invalid operand for instruction
|
|
|
|
cvtsd2sil {rn-sae}, %xmm1, %eax
|