[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / AArch64 / armv8.5a-predres.s
blob4bab34769ac9d86613d5772d7db44ff22277ba1f
1 // RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+predres < %s | FileCheck %s
2 // RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.5a < %s | FileCheck %s
3 // RUN: not llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=-predres < %s 2>&1 | FileCheck %s --check-prefix=NOPREDCTRL
5 cfp rctx, x0
6 dvp rctx, x1
7 cpp rctx, x2
9 // CHECK: cfp rctx, x0 // encoding: [0x80,0x73,0x0b,0xd5]
10 // CHECK: dvp rctx, x1 // encoding: [0xa1,0x73,0x0b,0xd5]
11 // CHECK: cpp rctx, x2 // encoding: [0xe2,0x73,0x0b,0xd5]
13 // NOPREDCTRL: CFPRCTX requires predres
14 // NOPREDCTRL-NEXT: cfp
15 // NOPREDCTRL: DVPRCTX requires predres
16 // NOPREDCTRL-NEXT: dvp
17 // NOPREDCTRL: CPPRCTX requires predres
18 // NOPREDCTRL-NEXT: cpp