← Home

RCWMASK_EL1

Read Check Write Instruction Mask (EL1)

Contains the mask used by RCW instructions.

Configuration

This register is present only when FEAT_THE is implemented and FEAT_AA64 is implemented. Otherwise, direct accesses to RCWMASK_EL1 are UNDEFINED.

RCWMASK_EL1 is a 128-bit register that can also be accessed as a 64-bit value. If it is accessed as a 64-bit register, accesses read and write bits [63:0] and do not modify bits [127:64].

Attributes

RCWMASK_EL1 is a:

Field descriptions

When FEAT_D128 is implemented:

12712612512412312212112011911811711611511411311211111010910810710610510410310210110099989796
RCWMASK
9594939291908988878685848382818079787776757473727170696867666564
RCWMASK
6362616059585756555453525150494847464544434241403938373635343332
RCWMASK
313029282726252423222120191817161514131211109876543210
RCWMASK

RCWMASK, bits [127:0]:

Mask used to decide which bit-fields are writable to the 128-bit Descriptor by RCW or RCWS instructions.

If RCWMASK_EL1 is indirectly read by 128-bit variants of RCW or RCWS instructions:

If RCWMASK_EL1 is indirectly read by 64-bit variants of RCW or RCWS instructions:

RCWMASK_EL1 register bits {126:125, 120:119, 114, 107:101, 90:64, 52, 49:18, 0} are RES0.

If FEAT_S1POE is not implemented, RCWMASK_EL1 register bits {124:121} are RES0.

If FEAT_MEC is not implemented, RCWMASK_EL1[108] is RES0.

The reset behavior of this field is:

Otherwise:

6362616059585756555453525150494847464544434241403938373635343332
313029282726252423222120191817161514131211109876543210
RCWMASK
RCWMASK

RCWMASK, bits [63:0]:

Mask used to decide which bit-fields are writable to the 64-bit Descriptor by RCW or RCWS Instructions.

The Effective value of RCWMASK[n] is the same as RCWMASK_EL1[n], except as follows:

RCWMASK_EL1 register bits {52, 49:18, 0} are RES0.

The reset behavior of this field is:

Access Instructions

Accesses to this register use the following encodings in the System register encoding space:

MRS <Xt>, RCWMASK_EL1

(op0 = 0b11, op1 = 0b000, CRn = 0b1101, CRm = 0b0000, op2 = 0b110)

if !(IsFeatureImplemented(FEAT_THE) && IsFeatureImplemented(FEAT_AA64)) then Undefined(); elsif HaveEL(EL3) && !(EffectivelyAtEL0InHost() || EffectivelyAtEL0NotInHost() || PSTATE.EL == EL3) && EL3SDDUndefPriority() && SCR_EL3().RCWMASKEn == '0' then Undefined(); elsif PSTATE.EL == EL0 then Undefined(); elsif PSTATE.EL == EL1 then if EL2Enabled() && IsFeatureImplemented(FEAT_FGT) && (!HaveEL(EL3) || SCR_EL3().FGTEn == '1') && HFGRTR_EL2().nRCWMASK_EL1 == '0' then AArch64_SystemAccessTrap(EL2, 0x18); elsif HaveEL(EL3) && SCR_EL3().RCWMASKEn == '0' then if EL3SDDUndef() then Undefined(); else AArch64_SystemAccessTrap(EL3, 0x18); end; else X{64}(t) = RCWMASK_EL1()[63:0]; end; elsif PSTATE.EL == EL2 then if HaveEL(EL3) && SCR_EL3().RCWMASKEn == '0' then if EL3SDDUndef() then Undefined(); else AArch64_SystemAccessTrap(EL3, 0x18); end; else X{64}(t) = RCWMASK_EL1()[63:0]; end; elsif PSTATE.EL == EL3 then X{64}(t) = RCWMASK_EL1()[63:0]; end;

MSR RCWMASK_EL1, <Xt>

(op0 = 0b11, op1 = 0b000, CRn = 0b1101, CRm = 0b0000, op2 = 0b110)

if !(IsFeatureImplemented(FEAT_THE) && IsFeatureImplemented(FEAT_AA64)) then Undefined(); elsif HaveEL(EL3) && !(EffectivelyAtEL0InHost() || EffectivelyAtEL0NotInHost() || PSTATE.EL == EL3) && EL3SDDUndefPriority() && SCR_EL3().RCWMASKEn == '0' then Undefined(); elsif PSTATE.EL == EL0 then Undefined(); elsif PSTATE.EL == EL1 then if EL2Enabled() && IsFeatureImplemented(FEAT_FGT) && (!HaveEL(EL3) || SCR_EL3().FGTEn == '1') && HFGWTR_EL2().nRCWMASK_EL1 == '0' then AArch64_SystemAccessTrap(EL2, 0x18); elsif HaveEL(EL3) && SCR_EL3().RCWMASKEn == '0' then if EL3SDDUndef() then Undefined(); else AArch64_SystemAccessTrap(EL3, 0x18); end; else RCWMASK_EL1()[63:0] = X{64}(t); end; elsif PSTATE.EL == EL2 then if HaveEL(EL3) && SCR_EL3().RCWMASKEn == '0' then if EL3SDDUndef() then Undefined(); else AArch64_SystemAccessTrap(EL3, 0x18); end; else RCWMASK_EL1()[63:0] = X{64}(t); end; elsif PSTATE.EL == EL3 then RCWMASK_EL1()[63:0] = X{64}(t); end;

When FEAT_D128 is implemented:

MRRS <Xt>, <Xt+1>, RCWMASK_EL1

(op0 = 0b11, op1 = 0b000, CRn = 0b1101, CRm = 0b0000, op2 = 0b110)

if !(IsFeatureImplemented(FEAT_THE) && IsFeatureImplemented(FEAT_AA64)) then Undefined(); elsif HaveEL(EL3) && !(EffectivelyAtEL0InHost() || EffectivelyAtEL0NotInHost() || PSTATE.EL == EL3) && EL3SDDUndefPriority() && SCR_EL3().RCWMASKEn == '0' then Undefined(); elsif HaveEL(EL3) && !(EffectivelyAtEL0InHost() || EffectivelyAtEL0NotInHost() || PSTATE.EL == EL3) && EL3SDDUndefPriority() && SCR_EL3().D128En == '0' then Undefined(); elsif PSTATE.EL == EL0 then Undefined(); elsif PSTATE.EL == EL1 then if EL2Enabled() && IsFeatureImplemented(FEAT_FGT) && (!HaveEL(EL3) || SCR_EL3().FGTEn == '1') && HFGRTR_EL2().nRCWMASK_EL1 == '0' then AArch64_SystemAccessTrap(EL2, 0x14); elsif EL2Enabled() && (!IsHCRXEL2Enabled() || HCRX_EL2().D128En == '0') then AArch64_SystemAccessTrap(EL2, 0x14); elsif HaveEL(EL3) && SCR_EL3().RCWMASKEn == '0' then if EL3SDDUndef() then Undefined(); else AArch64_SystemAccessTrap(EL3, 0x14); end; elsif HaveEL(EL3) && SCR_EL3().D128En == '0' then if EL3SDDUndef() then Undefined(); else AArch64_SystemAccessTrap(EL3, 0x14); end; else X{128}(t, t2) = RCWMASK_EL1()[127:0]; end; elsif PSTATE.EL == EL2 then if HaveEL(EL3) && SCR_EL3().RCWMASKEn == '0' then if EL3SDDUndef() then Undefined(); else AArch64_SystemAccessTrap(EL3, 0x14); end; elsif HaveEL(EL3) && SCR_EL3().D128En == '0' then if EL3SDDUndef() then Undefined(); else AArch64_SystemAccessTrap(EL3, 0x14); end; else X{128}(t, t2) = RCWMASK_EL1()[127:0]; end; elsif PSTATE.EL == EL3 then X{128}(t, t2) = RCWMASK_EL1()[127:0]; end;

When FEAT_D128 is implemented:

MSRR RCWMASK_EL1, <Xt>, <Xt+1>

(op0 = 0b11, op1 = 0b000, CRn = 0b1101, CRm = 0b0000, op2 = 0b110)

if !(IsFeatureImplemented(FEAT_THE) && IsFeatureImplemented(FEAT_AA64)) then Undefined(); elsif HaveEL(EL3) && !(EffectivelyAtEL0InHost() || EffectivelyAtEL0NotInHost() || PSTATE.EL == EL3) && EL3SDDUndefPriority() && SCR_EL3().RCWMASKEn == '0' then Undefined(); elsif HaveEL(EL3) && !(EffectivelyAtEL0InHost() || EffectivelyAtEL0NotInHost() || PSTATE.EL == EL3) && EL3SDDUndefPriority() && SCR_EL3().D128En == '0' then Undefined(); elsif PSTATE.EL == EL0 then Undefined(); elsif PSTATE.EL == EL1 then if EL2Enabled() && IsFeatureImplemented(FEAT_FGT) && (!HaveEL(EL3) || SCR_EL3().FGTEn == '1') && HFGWTR_EL2().nRCWMASK_EL1 == '0' then AArch64_SystemAccessTrap(EL2, 0x14); elsif EL2Enabled() && (!IsHCRXEL2Enabled() || HCRX_EL2().D128En == '0') then AArch64_SystemAccessTrap(EL2, 0x14); elsif HaveEL(EL3) && SCR_EL3().RCWMASKEn == '0' then if EL3SDDUndef() then Undefined(); else AArch64_SystemAccessTrap(EL3, 0x14); end; elsif HaveEL(EL3) && SCR_EL3().D128En == '0' then if EL3SDDUndef() then Undefined(); else AArch64_SystemAccessTrap(EL3, 0x14); end; else RCWMASK_EL1()[127:0] = X{128}(t, t2); end; elsif PSTATE.EL == EL2 then if HaveEL(EL3) && SCR_EL3().RCWMASKEn == '0' then if EL3SDDUndef() then Undefined(); else AArch64_SystemAccessTrap(EL3, 0x14); end; elsif HaveEL(EL3) && SCR_EL3().D128En == '0' then if EL3SDDUndef() then Undefined(); else AArch64_SystemAccessTrap(EL3, 0x14); end; else RCWMASK_EL1()[127:0] = X{128}(t, t2); end; elsif PSTATE.EL == EL3 then RCWMASK_EL1()[127:0] = X{128}(t, t2); end;


Version 2026.06 — Copyright © 2010-2026 Arm Limited or its affiliates.

This site is provided as a community resource and is NOT affiliated with nor endorsed by Arm Limited.