1// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.3a < %s 2>&1 | FileCheck %s 2// RUN: not llvm-mc -triple aarch64-none-linux-gnu < %s 2> %t 3// RUN: FileCheck --check-prefix=CHECK-REQ %s < %t 4 5 mrs x0, ID_ISAR6_EL1 6// CHECK: mrs x0, ID_ISAR6_EL1 // encoding: [0xe0,0x02,0x38,0xd5] 7// CHECK-REQ: error: expected readable system register 8// CHECK-REQ-NEXT: mrs x0, ID_ISAR6_EL1 9// CHECK-REQ-NEXT: ^ 10