SYS

System instruction. For more information, see Op0 equals 0b01, cache maintenance, TLB maintenance, and address translation instructions for the encodings of System instructions.

This instruction is used by the aliases AT, BRB, CFP, COSP, CPP, DC, DVP, GCSPOPCX, GCSPOPX, GCSPUSHM, GCSPUSHX, GCSSS1, IC, TLBI, and TRCIT.

313029282726252423222120191817161514131211109876543210
1101010100001op1CRnCRmop2Rt
L

SYS #<op1>, <Cn>, <Cm>, #<op2>{, <Xt>}

AArch64.CheckSystemAccess('01', op1, CRn, CRm, op2, Rt, L); integer t = UInt(Rt); integer sys_op1 = UInt(op1); integer sys_op2 = UInt(op2); integer sys_crn = UInt(CRn); integer sys_crm = UInt(CRm);

Assembler Symbols

<op1>

Is a 3-bit unsigned immediate, in the range 0 to 7, encoded in the "op1" field.

<Cn>

Is a name 'Cn', with 'n' in the range 0 to 15, encoded in the "CRn" field.

<Cm>

Is a name 'Cm', with 'm' in the range 0 to 15, encoded in the "CRm" field.

<op2>

Is a 3-bit unsigned immediate, in the range 0 to 7, encoded in the "op2" field.

<Xt>

Is the 64-bit name of the optional general-purpose source register, defaulting to '11111', encoded in the "Rt" field.

Alias Conditions

AliasIs preferred when
ATCRn == '0111' && CRm IN {'100x'} && SysOp(op1, '0111', CRm, op2) == Sys_AT
BRBop1 == '001' && CRn == '0111' && CRm == '0010' && SysOp('001', '0111', '0010', op2) == Sys_BRB
CFPop1 == '011' && CRn == '0111' && CRm == '0011' && op2 == '100'
COSPop1 == '011' && CRn == '0111' && CRm == '0011' && op2 == '110'
CPPop1 == '011' && CRn == '0111' && CRm == '0011' && op2 == '111'
DCCRn == '0111' && SysOp(op1, '0111', CRm, op2) == Sys_DC
DVPop1 == '011' && CRn == '0111' && CRm == '0011' && op2 == '101'
GCSPOPCXop1 == '000' && CRn == '0111' && CRm == '0111' && op2 == '101'
GCSPOPXop1 == '000' && CRn == '0111' && CRm == '0111' && op2 == '110'
GCSPUSHMop1 == '011' && CRn == '0111' && CRm == '0111' && op2 == '000'
GCSPUSHXop1 == '000' && CRn == '0111' && CRm == '0111' && op2 == '100'
GCSSS1op1 == '011' && CRn == '0111' && CRm == '0111' && op2 == '010'
ICCRn == '0111' && SysOp(op1, '0111', CRm, op2) == Sys_IC
TLBICRn IN {'100x'} && SysOp(op1, CRn, CRm, op2) == Sys_TLBI
TRCITop1 == '011' && CRn == '0111' && CRm == '0010' && op2 == '111'

Operation

AArch64.SysInstr(1, sys_op1, sys_crn, sys_crm, sys_op2, t);


Internal version only: aarchmrs v2023-12_rel, pseudocode v2023-12_rel, sve v2023-12_rel ; Build timestamp: 2023-12-15T16:46

Copyright © 2010-2023 Arm Limited or its affiliates. All rights reserved. This document is Non-Confidential.