llvm-for-llvmta/test/MC/AArch64/trbe-sysreg-diag.s

10 lines
248 B
ArmAsm
Raw Normal View History

2022-04-25 10:02:23 +02:00
// TRBE RO System register
//
// RUN: not llvm-mc -triple aarch64 -show-encoding < %s 2>&1 | FileCheck %s
// Write to system register
msr TRBIDR_EL1, x0
// CHECK: expected writable system register or pstate
// CHECK-NEXT: msr TRBIDR_EL1, x0