1// RUN: not llvm-mc -triple arm64 -mcpu=generic -show-encoding < %s 2>&1 | \
2// RUN:   FileCheck %s --check-prefix=CHECK-GENERIC
3//
4// RUN: llvm-mc -triple arm64 -mcpu=cyclone -show-encoding < %s 2>&1 | \
5// RUN:   FileCheck %s --check-prefix=CHECK-CYCLONE
6
7msr CPM_IOACC_CTL_EL3, x0
8
9// CHECK-GENERIC: error: expected writable system register or pstate
10// CHECK-CYCLONE: msr CPM_IOACC_CTL_EL3, x0   // encoding: [0x00,0xf2,0x1f,0xd5]
11