1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/MC/AArch64/gicv3-regs-diagnostics.s
Tim Northover ca0f4dc4f0 AArch64/ARM64: move ARM64 into AArch64's place
This commit starts with a "git mv ARM64 AArch64" and continues out
from there, renaming the C++ classes, intrinsics, and other
target-local objects for consistency.

"ARM64" test directories are also moved, and tests that began their
life in ARM64 use an arm64 triple, those from AArch64 use an aarch64
triple. Both should be equivalent though.

This finishes the AArch64 merge, and everyone should feel free to
continue committing as normal now.

llvm-svn: 209577
2014-05-24 12:50:23 +00:00

62 lines
2.4 KiB
ArmAsm

// RUN: not llvm-mc -triple aarch64-none-linux-gnu < %s 2>&1 | FileCheck %s
// Write-only
mrs x10, icc_eoir1_el1
mrs x7, icc_eoir0_el1
mrs x22, icc_dir_el1
mrs x24, icc_sgi1r_el1
mrs x8, icc_asgi1r_el1
mrs x28, icc_sgi0r_el1
// CHECK: error: expected readable system register
// CHECK-NEXT: mrs x10, icc_eoir1_el1
// CHECK-NEXT: ^
// CHECK-NEXT: error: expected readable system register
// CHECK-NEXT: mrs x7, icc_eoir0_el1
// CHECK-NEXT: ^
// CHECK-NEXT: error: expected readable system register
// CHECK-NEXT: mrs x22, icc_dir_el1
// CHECK-NEXT: ^
// CHECK-NEXT: error: expected readable system register
// CHECK-NEXT: mrs x24, icc_sgi1r_el1
// CHECK-NEXT: ^
// CHECK-NEXT: error: expected readable system register
// CHECK-NEXT: mrs x8, icc_asgi1r_el1
// CHECK-NEXT: ^
// CHECK-NEXT: error: expected readable system register
// CHECK-NEXT: mrs x28, icc_sgi0r_el1
// CHECK-NEXT: ^
// Read-only
msr icc_iar1_el1, x16
msr icc_iar0_el1, x19
msr icc_hppir1_el1, x29
msr icc_hppir0_el1, x14
msr icc_rpr_el1, x6
msr ich_vtr_el2, x8
msr ich_eisr_el2, x22
msr ich_elsr_el2, x8
// CHECK: error: expected writable system register or pstate
// CHECK-NEXT: msr icc_iar1_el1, x16
// CHECK-NEXT: ^
// CHECK-NEXT: error: expected writable system register or pstate
// CHECK-NEXT: msr icc_iar0_el1, x19
// CHECK-NEXT: ^
// CHECK-NEXT: error: expected writable system register or pstate
// CHECK-NEXT: msr icc_hppir1_el1, x29
// CHECK-NEXT: ^
// CHECK-NEXT: error: expected writable system register or pstate
// CHECK-NEXT: msr icc_hppir0_el1, x14
// CHECK-NEXT: ^
// CHECK-NEXT: error: expected writable system register or pstate
// CHECK-NEXT: msr icc_rpr_el1, x6
// CHECK-NEXT: ^
// CHECK-NEXT: error: expected writable system register or pstate
// CHECK-NEXT: msr ich_vtr_el2, x8
// CHECK-NEXT: ^
// CHECK-NEXT: error: expected writable system register or pstate
// CHECK-NEXT: msr ich_eisr_el2, x22
// CHECK-NEXT: ^
// CHECK-NEXT: error: expected writable system register or pstate
// CHECK-NEXT: msr ich_elsr_el2, x8
// CHECK-NEXT: ^