操作数与参数
RST_Type- return-stack record type
ACRC requests context close and marks the final scalar position of the active SYS block.
PTO-SCALAR-ACRCacrc rst_type| 字段 | 位宽 | 有符号性 | 架构角色 | 编码零 |
|---|---|---|---|---|
RST_Type | 4 | encoding-defined | return-stack record type | Encoded zero selects value zero of the return-stack record type. |
Loading WaveDrom diagram… The encoding table and WaveJSON remain available below.
| Decoded item | Bit range | Value |
|---|---|---|
| Constant | 31:24 | 8'b00000000 |
| RST_Type | 23:20 | variable |
| Constant | 19:0 | 20'b00000011000000101011 |
{
"reg": [
{
"bits": 20,
"name": "20'b00000011000000101011"
},
{
"bits": 4,
"name": "RST_Type"
},
{
"bits": 8,
"name": "8'b00000000"
}
],
"config": {
"bits": 32,
"fontsize": 13,
"hspace": 900,
"lanes": 1,
"offset": 0
}
}acrc rst_type
RST_Type下面是该指令所有者中的 Operation;页面没有重写这段行为。
readonly func InstructionContractOperation_ACRC() => ScalarOperationbegin return ScalarOperation_ACRC;end;readonly func InstructionContractHandler_ACRC() => ScalarSemanticHandlerbegin return ScalarHandler_ArchitectureCloseRequest;end;
pure func InstructionContractRequiresSystemBlock_ACRC() => booleanbegin return TRUE;end;
pure func InstructionContractRequestWidth_ACRC() => integer {4}begin return 4;end;
pure func InstructionContractIsTerminalScalar_ACRC() => booleanbegin return TRUE;end;// PTO-INSTRUCTION: {"assembly":["acrc rst_type"],"block":[],"catalog_indices":[0],"catalog_records":[{"asm":"acrc rst_type","constraints":[],"encoding":[{"index":0,"mask":"0xff0fffff","match":"0x0000302b","width_bits":32}],"encoding_kind":"L32","fields":[{"name":"RST_Type","pieces":[{"instruction_lsb":20,"value_lsb":0,"width":4}],"signedness":"encoding-defined","width":4}],"form_id":"acrc_32_a9c0e33f9904","length_bits":32,"mnemonic":"ACRC","semantic_family":"SYS","semantic_group":"SYS","semantic_handler":"ArchitectureCloseRequest","semantic_summary":"ACRC requests context close and marks the final scalar position of the active SYS block.","status":"accepted"}],"classification":["sys"],"contract":{"block_composition":["ACRC executes as one scalar operation in the body of an active SYS block."],"canonical_assembly":["acrc rst_type"],"defaults":["Every displayed operand is encoded explicitly. Encoded zero is an assigned value and never denotes omission."],"encoding_class":"standalone-encoded","examples":["acrc rst_type"],"exceptions":["Invalid block placement raises Illegal Block Exception before encoded-field legality or effects.","A reserved encoding or rejected access raises Illegal Instruction before destination, queue, system-state, or TPC effects."],"field_contracts":{},"field_zero_meanings":{"RST_Type":"Encoded zero selects value zero of the return-stack record type."},"legality":["Every fixed bit and explicit field constraint is checked before operation semantics.","All four-bit request values are encoded; manager routing and current-ACR permission determine instruction-local acceptance."],"memory_effects":["none"],"operands":[{"field":"RST_Type","role":"return-stack record type"}],"ordering":["Preflight request routing before setting the terminal marker or entering the service-request trap.","On permission success, set the SYS terminal marker before trap entry so recovery preserves the final-position rule."],"standalone_opcode":true,"state_effects":["A permitted request publishes the service-request trap, request type, and architecture-request epoch.","After recovery, only BSTOP or a following BSTART may commit the block; another instruction raises Illegal Block Exception before effects."]},"depends_on":["PTO-SCALAR-MODEL-SYS-SEMANTICS"],"id":"PTO-SCALAR-ACRC","mnemonic":"ACRC","summary":"ACRC requests context close and marks the final scalar position of the active SYS block.","surface":"scalar"}// PTO-REVIEW: {"review_method":"formal-definition-read","outcome":"FORMAL-COMPLETE","reviewed_fields":["assembly","encoding","defaults","operation","state","memory","ordering","faults","reserved"]}// NDF-BEGIN: PTO-ACRC-DECISION-BINDING-001// ndf: kind=contract level=L1 layer=scalar status=accepted// ACRC MUST implement the mnemonic-local canonical assembly, encoded// legality, defaults, state and memory effects, ordering, and fault boundaries// declared in this owner. The operation region below is the executable binding// for every accepted decision that names this mnemonic.// NDF-END: PTO-ACRC-DECISION-BINDING-001// DOC-BEGIN: decodereadonly func InstructionContractOperation_ACRC() => ScalarOperationbegin return ScalarOperation_ACRC;end;// DOC-END: decode// DOC-BEGIN: operationreadonly func InstructionContractHandler_ACRC() => ScalarSemanticHandlerbegin return ScalarHandler_ArchitectureCloseRequest;end;
pure func InstructionContractRequiresSystemBlock_ACRC() => booleanbegin return TRUE;end;
pure func InstructionContractRequestWidth_ACRC() => integer {4}begin return 4;end;
pure func InstructionContractIsTerminalScalar_ACRC() => booleanbegin return TRUE;end;// DOC-END: operation
ACRC 请求关闭架构上下文,并把活动 SYS 块标为终结。
ASL DOC 区域选择 ScalarHandler_ArchitectureCloseRequest。读取源或改变系统状态之前,必须先检查位置和编码合法性。
该指令占用活动 SYS 块体中的一个标量操作位置。
RST_Type 承载返回栈记录类型。
编码零是已分配的字段值,从不表示省略操作数。
获准的关闭请求会发布服务请求陷阱和请求类型、递增请求纪元,并在进入陷阱前把 SYS 块标为终结。
恢复后只有 BSTOP 或后续 BSTART 可以提交;其他指令会在产生效果前被拒绝。
改变终结标记之前,必须先确认路由和当前 ACR 权限。
无效的 SYS 块位置会在字段检查之前被拒绝。保留编码或访问拒绝除普通陷阱包络外,不产生目的地、队列、系统状态或 TPC 效果。
该写法示例只用于说明;确切合法性与效果仍由下方生成契约定义。
可从 acrc rst_type 开始,先沿编码字段完成预检,再继续查看所选系统效果。
正文来自 owning ASL。拖拽或按钮只临时改变当前页面显示顺序。
ACRC MUST implement the mnemonic-local canonical assembly, encoded legality, defaults, state and memory effects, ordering, and fault boundaries declared in this owner. The operation region below is the executable binding for every accepted decision that names this mnemonic.
PTO-ACRC-DECISION-BINDING-001asl/scalar/sys/ACRC.asl1f76f4efc0440797fb02adb3677f8a5372dbf5689cc67071c1fa67c5ced30404404aa35bffe6631e9f6e75e80b5002c555096f9c7beaa96f40c60ee12acb3d4317 matching entries
PTO-AVS-SCALAR-ACRC-DECODE-001tests/asl/scalar/sys/ACRC/scalar-decode-acrc-canonical-001.asl85b793059aa3ad80115667a74d5bd44077ad15d9156592ef905c7412c9920beaPTO-AVS-SYS-ACRC-EXEC-001tests/asl/scalar/sys/ACRC/scalar-exec-acrc-direct-001.asl0f32dcc3737fa312e259d7390ce83e27951d718aab3b3e1515253f1a26b5da3bPTO-AVS-SYS-ACRC-PLACE-001tests/asl/scalar/sys/ACRC/scalar-fault-acrc-place-001.aslaaa1a29c89e3d71763b118f5ea28fb4bc931ab437968df2356bc843655e91a3aPTO-AVS-SYS-ACRC-REQUEST-001tests/asl/scalar/sys/ACRC/scalar-fault-acrc-request-001.asl8de41025a3e17e34e77ba549965d2d4d6572f84eb6bb973edb41964cf56af13bPTO-AVS-SYS-ACRC-RING0-001tests/asl/scalar/sys/ACRC/scalar-fault-acrc-ring0-001.asl260249d503d902c2253a14d50f803e2ec8d78ae6704c0471ca9138f046a320a1PTO-AVS-SYS-ACRC-RING1-001tests/asl/scalar/sys/ACRC/scalar-fault-acrc-ring1-001.asl8a74cd3ce819dc236fff17088100ac05d7a16b728f4d9a6ed60d6cc8880efe68PTO-AVS-SYS-ACRC-TERMINAL-001tests/asl/scalar/sys/ACRC/scalar-state-acrc-terminal-001.asl2e87b499941cbd9392f4821e3116c2133f98049ed79a629f48e5bdc71371c07aPTO-EVIDENCE-RELEASE-TRACEABILITYPTO-EVIDENCE-RELEASE-TRACEABILITYspec/evidence/release-traceability-readiness.jsonc7327021d39dc67ac5564bc55073b3870a397d79ac8d9648284d56e33bc14a3ePTO-EVIDENCE-INSTRUCTION-CONTRACT-CLOSUREPTO-EVIDENCE-INSTRUCTION-CONTRACT-CLOSUREspec/evidence/instruction-contract-closure.json3ef2bb62421c79dff8fa77a1c7983923b523244b8090812883ef81286ca8106aPTO-EVIDENCE-ARCHITECTURE-READINESSPTO-EVIDENCE-ARCHITECTURE-READINESSspec/evidence/architecture-readiness.json4b0b85199101251bea744e0f3591cc31906909dc80d5ab651c417a936036a004PTO-EVIDENCE-RELEASE-GATE-READINESSPTO-EVIDENCE-RELEASE-GATE-READINESSspec/evidence/release-gate-readiness.jsona0f4d2b6920c08981ea55fd8ef820708a40d4feb5402c5150e8e9ab532d84ce0PTO-EVIDENCE-RELEASE-MANIFESTPTO-EVIDENCE-RELEASE-MANIFESTspec/release-manifest.json1a64c109ed7a90351c41e2a418b3c0ebaf8ad975838986d2101385186b85c0d8Loading ADR-0012…
ADR-0012docs/status/decisions/0012-acrc-service-request.mda3425f91b4ad335b3ab6430114e51fa3de91008e00ace0688ffb4f02208fae90Loading ADR-0018…
ADR-0018docs/status/decisions/0018-pto-v0-trap-disposition.mdce33454ffd2a595425ebece5954c9990ea2b9c4890008ad700599f767d7b9716Loading ADR-0031…
ADR-0031docs/status/decisions/0031-scalar-sys-totality-and-profile-boundaries.md5680b3516be6c28a1ccb198c99f5efb66317c65330f6d87434173024d2795a7dLoading ADR-0059…
ADR-0059docs/status/decisions/0059-mnemonic-field-encoding-closure.mdf18d13f735cfaf9f2803c754c5818f4af33d1cc42c489f0d9ce060b07bb3a196Loading ADR-0084…
ADR-0084docs/status/decisions/0084-scalar-system-and-queue-operations.mde068992fa81e2c4ac46e492391a2f784141d68e041bf0b9e0586c37217d1e08c{
"classification": [
"sys"
],
"documentation": "docs/scalar/sys/ACRC.md",
"id": "PTO-SCALAR-ACRC",
"instruction_contract": {
"artifact": "spec/evidence/instruction-contract-closure.json",
"mnemonic": "ACRC",
"ndf_clause": "PTO-INST-SCALAR-ACRC"
},
"mnemonic": "ACRC",
"readiness_subjects": [
"ADR-0012",
"ADR-0018",
"ADR-0031",
"ADR-0059",
"ADR-0084"
],
"semantic_tests": [
"PTO-AVS-SYS-ACRC-EXEC-001",
"PTO-AVS-SYS-ACRC-PLACE-001",
"PTO-AVS-SYS-ACRC-REQUEST-001",
"PTO-AVS-SYS-ACRC-RING0-001",
"PTO-AVS-SYS-ACRC-RING1-001",
"PTO-AVS-SYS-ACRC-TERMINAL-001"
],
"source": "asl/scalar/sys/ACRC.asl",
"surface": "scalar",
"tests": [
"PTO-AVS-SCALAR-ACRC-DECODE-001",
"PTO-AVS-SYS-ACRC-EXEC-001",
"PTO-AVS-SYS-ACRC-PLACE-001",
"PTO-AVS-SYS-ACRC-REQUEST-001",
"PTO-AVS-SYS-ACRC-RING0-001",
"PTO-AVS-SYS-ACRC-RING1-001",
"PTO-AVS-SYS-ACRC-TERMINAL-001"
]
}0.58.5 · 候选发布7dc8b7e5b121d2b2499a2273bebff29e2cd868121f76f4efc0440797fb02adb3677f8a5372dbf5689cc67071c1fa67c5ced30404e519b02565f821b972fff070afd70cb8eec7665c0d43081307c7244a1ebffa6fasl/scalar/sys/ACRC.aslasl/scalar/sys/ACRC.aslasl/scalar/sys/ACRC.asl