[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / AArch64 / armv8.5a-ssbs-error.s
blob59819705e46cee2b23450695d7fd884c8264b5ac
1 // RUN: not llvm-mc -triple aarch64 -show-encoding -mattr=+ssbs < %s 2>&1 | FileCheck %s
2 // RUN: not llvm-mc -triple aarch64 -show-encoding -mattr=+v8.5a < %s 2>&1 | FileCheck %s
3 // RUN: not llvm-mc -triple aarch64 -show-encoding -mattr=-ssbs < %s 2>&1 | FileCheck %s --check-prefix=NOSPECID
5 msr SSBS, #2
7 // CHECK: error: immediate must be an integer in range [0, 1].
8 // CHECK-NEXT: msr SSBS, #2
9 // NOSPECID: error: expected writable system register or pstate
10 // NOSPECID-NEXT: msr {{ssbs|SSBS}}, #2