[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / AArch64 / armv8.1a-vhe.s
blob2bee4e21329919e0cf82b1c085318d650d0a570e
1 // RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.1a < %s | FileCheck %s
4 //------------------------------------------------------------------------------
5 // Virtualization Host Extensions
6 //------------------------------------------------------------------------------
7 msr TTBR1_EL2, x0
8 msr CONTEXTIDR_EL2, x0
9 msr CNTHV_TVAL_EL2, x0
10 msr CNTHV_CVAL_EL2, x0
11 msr CNTHV_CTL_EL2, x0
12 msr SCTLR_EL12, x0
13 msr CPACR_EL12, x0
14 msr TTBR0_EL12, x0
15 msr TTBR1_EL12, x0
16 msr TCR_EL12, x0
17 msr AFSR0_EL12, x0
18 msr AFSR1_EL12, x0
19 msr ESR_EL12, x0
20 msr FAR_EL12, x0
21 msr MAIR_EL12, x0
22 msr AMAIR_EL12, x0
23 msr VBAR_EL12, x0
24 msr CONTEXTIDR_EL12, x0
25 msr CNTKCTL_EL12, x0
26 msr CNTP_TVAL_EL02, x0
27 msr CNTP_CTL_EL02, x0
28 msr CNTP_CVAL_EL02, x0
29 msr CNTV_TVAL_EL02, x0
30 msr CNTV_CTL_EL02, x0
31 msr CNTV_CVAL_EL02, x0
32 msr SPSR_EL12, x0
33 msr ELR_EL12, x0
35 // CHECK: msr TTBR1_EL2, x0 // encoding: [0x20,0x20,0x1c,0xd5]
36 // CHECK: msr CONTEXTIDR_EL2, x0 // encoding: [0x20,0xd0,0x1c,0xd5]
37 // CHECK: msr CNTHV_TVAL_EL2, x0 // encoding: [0x00,0xe3,0x1c,0xd5]
38 // CHECK: msr CNTHV_CVAL_EL2, x0 // encoding: [0x40,0xe3,0x1c,0xd5]
39 // CHECK: msr CNTHV_CTL_EL2, x0 // encoding: [0x20,0xe3,0x1c,0xd5]
40 // CHECK: msr SCTLR_EL12, x0 // encoding: [0x00,0x10,0x1d,0xd5]
41 // CHECK: msr CPACR_EL12, x0 // encoding: [0x40,0x10,0x1d,0xd5]
42 // CHECK: msr TTBR0_EL12, x0 // encoding: [0x00,0x20,0x1d,0xd5]
43 // CHECK: msr TTBR1_EL12, x0 // encoding: [0x20,0x20,0x1d,0xd5]
44 // CHECK: msr TCR_EL12, x0 // encoding: [0x40,0x20,0x1d,0xd5]
45 // CHECK: msr AFSR0_EL12, x0 // encoding: [0x00,0x51,0x1d,0xd5]
46 // CHECK: msr AFSR1_EL12, x0 // encoding: [0x20,0x51,0x1d,0xd5]
47 // CHECK: msr ESR_EL12, x0 // encoding: [0x00,0x52,0x1d,0xd5]
48 // CHECK: msr FAR_EL12, x0 // encoding: [0x00,0x60,0x1d,0xd5]
49 // CHECK: msr MAIR_EL12, x0 // encoding: [0x00,0xa2,0x1d,0xd5]
50 // CHECK: msr AMAIR_EL12, x0 // encoding: [0x00,0xa3,0x1d,0xd5]
51 // CHECK: msr VBAR_EL12, x0 // encoding: [0x00,0xc0,0x1d,0xd5]
52 // CHECK: msr CONTEXTIDR_EL12, x0 // encoding: [0x20,0xd0,0x1d,0xd5]
53 // CHECK: msr CNTKCTL_EL12, x0 // encoding: [0x00,0xe1,0x1d,0xd5]
54 // CHECK: msr CNTP_TVAL_EL02, x0 // encoding: [0x00,0xe2,0x1d,0xd5]
55 // CHECK: msr CNTP_CTL_EL02, x0 // encoding: [0x20,0xe2,0x1d,0xd5]
56 // CHECK: msr CNTP_CVAL_EL02, x0 // encoding: [0x40,0xe2,0x1d,0xd5]
57 // CHECK: msr CNTV_TVAL_EL02, x0 // encoding: [0x00,0xe3,0x1d,0xd5]
58 // CHECK: msr CNTV_CTL_EL02, x0 // encoding: [0x20,0xe3,0x1d,0xd5]
59 // CHECK: msr CNTV_CVAL_EL02, x0 // encoding: [0x40,0xe3,0x1d,0xd5]
60 // CHECK: msr SPSR_EL12, x0 // encoding: [0x00,0x40,0x1d,0xd5]
61 // CHECK: msr ELR_EL12, x0 // encoding: [0x20,0x40,0x1d,0xd5]