summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/AArch64/armv8.5a-rand-error.s
blob: c4cca8a87b2ae994e7afc078b572de1a7e1f876d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// RUN: not llvm-mc -triple aarch64 -show-encoding -mattr=+rand < %s 2>&1| FileCheck %s

mrs rndr
mrs rndrrs

// CHECK:      invalid operand for instruction
// CHECK-NEXT: rndr
// CHECK:      invalid operand for instruction
// CHECK-NEXT: rndrrs

mrs rndr, x0
mrs rndrrs, x1

// CHECK:      invalid operand for instruction
// CHECK-NEXT: rndr
// CHECK:      invalid operand for instruction
// CHECK-NEXT: rndrrs
OpenPOWER on IntegriCloud