[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / AArch64 / armv8.5a-rand.s
blob770990b437e49ddf77db37bc6615dd509e44a26c
1 // RUN: llvm-mc -triple aarch64 -show-encoding -mattr=+rand < %s | FileCheck %s
2 // RUN: not llvm-mc -triple aarch64 -show-encoding -mattr=+v8.5a < %s 2>&1 | FileCheck %s --check-prefix=NORAND
3 // RUN: not llvm-mc -triple aarch64 -show-encoding -mattr=-rand < %s 2>&1 | FileCheck %s --check-prefix=NORAND
5 mrs x0, rndr
6 mrs x1, rndrrs
8 // CHECK: mrs x0, RNDR // encoding: [0x00,0x24,0x3b,0xd5]
9 // CHECK: mrs x1, RNDRRS // encoding: [0x21,0x24,0x3b,0xd5]
11 // NORAND: expected readable system register
12 // NORAND-NEXT: rndr
13 // NORAND: expected readable system register
14 // NORAND-NEXT: rndrrs