[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / AArch64 / armv8.2a-at.s
blob3c26fb9ea3a1355e6949ab68d1779f5619ab2ea2
1 // RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.2a %s -o - | FileCheck %s
2 // RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=-v8.2a,+pan-rwv %s -o - | FileCheck %s
3 // RUN: not llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=-v8.2a %s -o - 2>&1 | FileCheck %s --check-prefix=ERROR
4 // 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
6 at s1e1rp, x1
7 at s1e1wp, x2
8 // CHECK: at s1e1rp, x1 // encoding: [0x01,0x79,0x08,0xd5]
9 // CHECK: at s1e1wp, x2 // encoding: [0x22,0x79,0x08,0xd5]
10 // ERROR: error: AT S1E1RP requires pan-rwv
11 // ERROR: error: AT S1E1WP requires pan-rwv