1# RUN: llvm-mc -triple=aarch64 -mattr=+rand  -disassemble < %s | FileCheck %s
2# RUN: llvm-mc -triple=aarch64 -mattr=+v8.5a -disassemble < %s | FileCheck %s --check-prefix=NORAND
3# RUN: llvm-mc -triple=aarch64 -mattr=-rand  -disassemble < %s | FileCheck %s --check-prefix=NORAND
4
5[0x00,0x24,0x3b,0xd5]
6[0x21,0x24,0x3b,0xd5]
7
8# CHECK: mrs x0, RNDR
9# CHECK: mrs x1, RNDRRS
10
11# NORAND: mrs x0, S3_3_C2_C4_0
12# NORAND: mrs x1, S3_3_C2_C4_1
13