# RUN: llvm-mc -triple=aarch64 -mattr=+rand  -disassemble < %s | FileCheck %s
# RUN: llvm-mc -triple=aarch64 -mattr=+v8.5a -disassemble < %s | FileCheck %s --check-prefix=NORAND
# RUN: llvm-mc -triple=aarch64 -mattr=-rand  -disassemble < %s | FileCheck %s --check-prefix=NORAND

[0x00,0x24,0x3b,0xd5]
[0x21,0x24,0x3b,0xd5]

# CHECK: mrs x0, RNDR
# CHECK: mrs x1, RNDRRS

# NORAND: mrs x0, S3_3_C2_C4_0
# NORAND: mrs x1, S3_3_C2_C4_1
