1 // RUN
: llvm-mc
-triple aarch64-none-linux-gnu
-show-encoding
-mattr
=+v8.1
a < %s | FileCheck
%s
4 //------------------------------------------------------------------------------
5 // Virtualization Host Extensions
6 //------------------------------------------------------------------------------
10 msr CNTHV_CVAL_EL2
, x0
24 msr CONTEXTIDR_EL12
, x0
26 msr CNTP_TVAL_EL02
, x0
28 msr CNTP_CVAL_EL02
, x0
29 msr CNTV_TVAL_EL02
, x0
31 msr CNTV_CVAL_EL02
, 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]