Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / AArch64 / armv8.5a-predres.s
blobc1b2567d489abe653e260ee0bc6d24bd7397e19a
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