summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/X86/avx512-err.s
blob: 9d8183d8872b60bf4773e38701aaac1881a600ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// RUN: not llvm-mc %s -triple x86_64-unknown-unknown --show-encoding -o /dev/null 2>&1 | FileCheck --check-prefix=ERR %s

// ERR: Register k0 can't be used as write mask
vpcmpd $1, %zmm24, %zmm7, %k5{%k0}

// 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}

// ERR: invalid operand for instruction
cvtsd2sil  {rn-sae}, %xmm1, %eax

// ERR: Expected an identifier after {
cvtsd2sil  {{sae}, %xmm1, %eax
OpenPOWER on IntegriCloud