bolt/deps/llvm-18.1.8/llvm/test/MC/AArch64/armv8.9a-specres2-error.s

11 lines
271 B
ArmAsm
Raw Normal View History

2025-02-14 19:21:04 +01:00
// RUN: not llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+specres2 < %s 2>&1| FileCheck %s
cosp rctx
// CHECK: specified cosp op requires a register
cosp x0, x1
// CHECK: invalid operand for prediction restriction instruction
// CHECK-NEXT: cosp