1 // RUN
: llvm-mc
-triple aarch64-none-linux-gnu
-show-encoding
-mattr
=+ras
< %s | FileCheck
%s
2 // RUN
: llvm-mc
-triple aarch64-none-linux-gnu
-show-encoding
-mcpu
=cortex-a55
< %s | FileCheck
%s
3 // RUN
: llvm-mc
-triple aarch64-none-linux-gnu
-show-encoding
-mcpu
=cortex-a75
< %s | FileCheck
%s
4 // RUN
: llvm-mc
-triple aarch64-none-linux-gnu
-show-encoding
-mcpu
=tsv110
< %s | FileCheck
%s
7 // CHECK
: esb
// encoding
: [0x1f,0x22,0x03,0xd5]
20 // CHECK
: msr ERRSELR_EL1
, x0
// encoding
: [0x20,0x53,0x18,0xd5]
21 // CHECK
: msr ERRSELR_EL1
, x15
// encoding
: [0x2f,0x53,0x18,0xd5]
22 // CHECK
: msr ERRSELR_EL1
, x25
// encoding
: [0x39,0x53,0x18,0xd5]
23 // CHECK
: msr ERXCTLR_EL1
, x1
// encoding
: [0x21,0x54,0x18,0xd5]
24 // CHECK
: msr ERXSTATUS_EL1
, x2
// encoding
: [0x42,0x54,0x18,0xd5]
25 // CHECK
: msr ERXADDR_EL1
, x3
// encoding
: [0x63,0x54,0x18,0xd5]
26 // CHECK
: msr ERXMISC0_EL1
, x4
// encoding
: [0x04,0x55,0x18,0xd5]
27 // CHECK
: msr ERXMISC1_EL1
, x5
// encoding
: [0x25,0x55,0x18,0xd5]
28 // CHECK
: msr DISR_EL1
, x6
// encoding
: [0x26,0xc1,0x18,0xd5]
29 // CHECK
: msr VDISR_EL2
, x7
// encoding
: [0x27,0xc1,0x1c,0xd5]
30 // CHECK
: msr VSESR_EL2
, x8
// encoding
: [0x68,0x52,0x1c,0xd5]
43 // CHECK
: mrs x0
, ERRSELR_EL1
// encoding
: [0x20,0x53,0x38,0xd5]
44 // CHECK
: mrs x15
, ERRSELR_EL1
// encoding
: [0x2f,0x53,0x38,0xd5]
45 // CHECK
: mrs x25
, ERRSELR_EL1
// encoding
: [0x39,0x53,0x38,0xd5]
46 // CHECK
: mrs x1
, ERXCTLR_EL1
// encoding
: [0x21,0x54,0x38,0xd5]
47 // CHECK
: mrs x2
, ERXSTATUS_EL1
// encoding
: [0x42,0x54,0x38,0xd5]
48 // CHECK
: mrs x3
, ERXADDR_EL1
// encoding
: [0x63,0x54,0x38,0xd5]
49 // CHECK
: mrs x4
, ERXMISC0_EL1
// encoding
: [0x04,0x55,0x38,0xd5]
50 // CHECK
: mrs x5
, ERXMISC1_EL1
// encoding
: [0x25,0x55,0x38,0xd5]
51 // CHECK
: mrs x6
, DISR_EL1
// encoding
: [0x26,0xc1,0x38,0xd5]
52 // CHECK
: mrs x7
, VDISR_EL2
// encoding
: [0x27,0xc1,0x3c,0xd5]
53 // CHECK
: mrs x8
, VSESR_EL2
// encoding
: [0x68,0x52,0x3c,0xd5]
57 // CHECK
: mrs x0
, ERRIDR_EL1
// encoding
: [0x00,0x53,0x38,0xd5]
58 // CHECK
: mrs x1
, ERXFR_EL1
// encoding
: [0x01,0x54,0x38,0xd5]