1// RUN: not llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+predres < %s 2>&1| FileCheck %s
2
3cfp rctx
4dvp rctx
5cpp rctx
6
7// CHECK: specified cfp op requires a register
8// CHECK: specified dvp op requires a register
9// CHECK: specified cpp op requires a register
10
11cfp x0, x1
12dvp x1, x2
13cpp x2, x3
14
15// CHECK:      invalid operand for prediction restriction instruction
16// CHECK-NEXT: cfp
17// CHECK:      invalid operand for prediction restriction instruction
18// CHECK-NEXT: dvp
19// CHECK:      invalid operand for prediction restriction instruction
20// CHECK-NEXT: cpp
21