mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-13 14:35:54 +00:00
f6e457aa6c
ARMv8.2-A adds new variants of the "at" (address translate) system instruction, which take the PSTATE.PAN bit (added in ARMv8.1-A). These are a required part of ARMv8.2-A, so no additional subtarget features are required. Differential Revision: http://reviews.llvm.org/D15018 llvm-svn: 254159
10 lines
499 B
ArmAsm
10 lines
499 B
ArmAsm
// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.2a < %s | FileCheck %s
|
|
// RUN: not llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=-v8.2a < %s 2>&1 | FileCheck %s --check-prefix=ERROR
|
|
|
|
at s1e1rp, x1
|
|
at s1e1wp, x2
|
|
// CHECK: at s1e1rp, x1 // encoding: [0x01,0x79,0x08,0xd5]
|
|
// CHECK: at s1e1wp, x2 // encoding: [0x22,0x79,0x08,0xd5]
|
|
// ERROR: error: AT S1E1RP requires ARMv8.2a
|
|
// ERROR: error: AT S1E1WP requires ARMv8.2a
|