1 // TRBE System registers
3 // RUN
: llvm-mc
-triple aarch64
-show-encoding
< %s | FileCheck
%s
5 // Read from system register
14 // CHECK
: mrs x0
, TRBLIMITR_EL1
// encoding
: [0x00,0x9b,0x38,0xd5]
15 // CHECK
: mrs x0
, TRBPTR_EL1
// encoding
: [0x20,0x9b,0x38,0xd5]
16 // CHECK
: mrs x0
, TRBBASER_EL1
// encoding
: [0x40,0x9b,0x38,0xd5]
17 // CHECK
: mrs x0
, TRBSR_EL1
// encoding
: [0x60,0x9b,0x38,0xd5]
18 // CHECK
: mrs x0
, TRBMAR_EL1
// encoding
: [0x80,0x9b,0x38,0xd5]
19 // CHECK
: mrs x0
, TRBTRG_EL1
// encoding
: [0xc0,0x9b,0x38,0xd5]
20 // CHECK
: mrs x0
, TRBIDR_EL1
// encoding
: [0xe0,0x9b,0x38,0xd5]
22 // Write to system register
30 // CHECK
: msr TRBLIMITR_EL1
, x0
// encoding
: [0x00,0x9b,0x18,0xd5]
31 // CHECK
: msr TRBPTR_EL1
, x0
// encoding
: [0x20,0x9b,0x18,0xd5]
32 // CHECK
: msr TRBBASER_EL1
, x0
// encoding
: [0x40,0x9b,0x18,0xd5]
33 // CHECK
: msr TRBSR_EL1
, x0
// encoding
: [0x60,0x9b,0x18,0xd5]
34 // CHECK
: msr TRBMAR_EL1
, x0
// encoding
: [0x80,0x9b,0x18,0xd5]
35 // CHECK
: msr TRBTRG_EL1
, x0
// encoding
: [0xc0,0x9b,0x18,0xd5]