mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
c036de1337
This enables the capturing of multiple required features in the AArch64 AsmParser's SysAlias error messages. Reviewed By: ostannard Differential Revision: https://reviews.llvm.org/D92388
12 lines
751 B
ArmAsm
12 lines
751 B
ArmAsm
// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.2a %s -o - | FileCheck %s
|
|
// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=-v8.2a,+pan-rwv %s -o - | FileCheck %s
|
|
// RUN: not llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=-v8.2a %s -o - 2>&1 | FileCheck %s --check-prefix=ERROR
|
|
// RUN: not llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.2a,-pan-rwv %s -o - 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: pan-rwv
|
|
// ERROR: error: AT S1E1WP requires: pan-rwv
|