操作数与参数
RRA_Type- return-address record type
ACRE atomically commits the active SYS block and recovers one validated architecture context.
PTO-SCALAR-ACREacre rra_type| 字段 | 位宽 | 有符号性 | 架构角色 | 编码零 |
|---|---|---|---|---|
RRA_Type | 4 | encoding-defined | return-address record type | Encoded zero selects value zero of the return-address record type. |
Loading WaveDrom diagram… The encoding table and WaveJSON remain available below.
| Decoded item | Bit range | Value |
|---|---|---|
| Constant | 31:24 | 8'b00000001 |
| RRA_Type | 23:20 | variable |
| Constant | 19:0 | 20'b00000011000000101011 |
{
"reg": [
{
"bits": 20,
"name": "20'b00000011000000101011"
},
{
"bits": 4,
"name": "RRA_Type"
},
{
"bits": 8,
"name": "8'b00000001"
}
],
"config": {
"bits": 32,
"fontsize": 13,
"hspace": 900,
"lanes": 1,
"offset": 0
}
}acre rra_type
RRA_Type下面是该指令所有者中的 Operation;页面没有重写这段行为。
readonly func InstructionContractOperation_ACRE() => ScalarOperationbegin return ScalarOperation_ACRE;end;readonly func InstructionContractHandler_ACRE() => ScalarSemanticHandlerbegin return ScalarHandler_ArchitectureEnterRequest;end;
pure func InstructionContractRequiresSystemBlock_ACRE() => booleanbegin return TRUE;end;
pure func InstructionContractRequestTypeLegal_ACRE( request_type: bits(4)) => booleanbegin return request_type == '0000' || request_type == '0001';end;
pure func InstructionContractIsImplicitBlockStop_ACRE() => booleanbegin return TRUE;end;// PTO-INSTRUCTION: {"assembly":["acre rra_type"],"block":[],"catalog_indices":[1],"catalog_records":[{"asm":"acre rra_type","constraints":[{"field":"RRA_Type","operator":"one-of","values":[0,1]}],"encoding":[{"index":0,"mask":"0xff0fffff","match":"0x0100302b","width_bits":32}],"encoding_kind":"L32","fields":[{"name":"RRA_Type","pieces":[{"instruction_lsb":20,"value_lsb":0,"width":4}],"signedness":"encoding-defined","width":4}],"form_id":"acre_32_54b80944d32d","length_bits":32,"mnemonic":"ACRE","semantic_family":"SYS","semantic_group":"SYS","semantic_handler":"ArchitectureEnterRequest","semantic_summary":"ACRE atomically commits the active SYS block and recovers one validated architecture context.","status":"accepted"}],"classification":["sys"],"contract":{"block_composition":["ACRE executes as one scalar operation in the body of an active SYS block."],"canonical_assembly":["acre rra_type"],"defaults":["Every displayed operand is encoded explicitly. Encoded zero is an assigned value and never denotes omission."],"encoding_class":"standalone-encoded","examples":["acre rra_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":{"RRA_Type":"Encoded zero selects value zero of the return-address record type."},"legality":["Request values 0 and 1 are exact aliases; values 2 through 15 are reserved.","ACRE is the implicit stop and terminating scalar instruction of the active SYS block."],"memory_effects":["none"],"operands":[{"field":"RRA_Type","role":"return-address record type"}],"ordering":["Validate the complete recovery context without mutation before committing the current SYS block.","Commit the block successfully, then consume and restore the saved context atomically."],"standalone_opcode":true,"state_effects":["On success, retire the SYS block, restore the complete validated context, consume its validity, record the request type, and increment the request epoch.","Failed validation or commit preserves the saved context and performs no partial recovery."]},"depends_on":["PTO-SCALAR-MODEL-SYS-SEMANTICS"],"id":"PTO-SCALAR-ACRE","mnemonic":"ACRE","summary":"ACRE atomically commits the active SYS block and recovers one validated architecture context.","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-ACRE-IMPLICIT-STOP-001// ndf: kind=contract level=L1 layer=scalar status=accepted// ACRE MUST be the terminating scalar operation of an active SYS block and// MUST act as that block's implicit stop. Request values zero and one are// aliases; values two through fifteen MUST reject before recovery effects.// ACRE MUST validate recovery without mutation, commit the SYS block, and only// then consume and restore the complete saved context atomically.// NDF-END: PTO-ACRE-IMPLICIT-STOP-001// DOC-BEGIN: decodereadonly func InstructionContractOperation_ACRE() => ScalarOperationbegin return ScalarOperation_ACRE;end;// DOC-END: decode// DOC-BEGIN: operationreadonly func InstructionContractHandler_ACRE() => ScalarSemanticHandlerbegin return ScalarHandler_ArchitectureEnterRequest;end;
pure func InstructionContractRequiresSystemBlock_ACRE() => booleanbegin return TRUE;end;
pure func InstructionContractRequestTypeLegal_ACRE( request_type: bits(4)) => booleanbegin return request_type == '0000' || request_type == '0001';end;
pure func InstructionContractIsImplicitBlockStop_ACRE() => booleanbegin return TRUE;end;// DOC-END: operation
ACRE 提交活动 SYS 块,并原子恢复一个已验证的架构上下文。
ASL DOC 区域选择 ScalarHandler_ArchitectureEnterRequest。读取源或改变系统状态之前,必须先检查位置和编码合法性。
该指令占用活动 SYS 块体中的一个标量操作位置。
RRA_Type 承载返回地址记录类型。
编码零是已分配的字段值,从不表示省略操作数。
完整的已保存上下文先在不修改状态的情况下验证;活动 SYS 块提交后,恢复再原子消费并还原该上下文。
验证或块提交失败时,已保存上下文保持有效,也不会暴露部分恢复。
请求值 0 与 1 是别名;值 2 到 15 为保留值。
无效的 SYS 块位置会在字段检查之前被拒绝。保留编码或访问拒绝除普通陷阱包络外,不产生目的地、队列、系统状态或 TPC 效果。
该写法示例只用于说明;确切合法性与效果仍由下方生成契约定义。
可从 acre rra_type 开始,先沿编码字段完成预检,再继续查看所选系统效果。
正文来自 owning ASL。拖拽或按钮只临时改变当前页面显示顺序。
ACRE MUST be the terminating scalar operation of an active SYS block and MUST act as that block's implicit stop. Request values zero and one are aliases; values two through fifteen MUST reject before recovery effects. ACRE MUST validate recovery without mutation, commit the SYS block, and only then consume and restore the complete saved context atomically.
PTO-ACRE-IMPLICIT-STOP-001asl/scalar/sys/ACRE.asle457586f6e7b145d5a6b1ba7fc85236ab60b89eb6af9d0713dae16d5ac988c147a4b8b9684fb91e093b1685a811a486d7560a2fa43c6b20389f075094e97002517 matching entries
PTO-AVS-SCALAR-ACRE-DECODE-001tests/asl/scalar/sys/ACRE/scalar-decode-acre-canonical-001.asl7b85bb2d1db956a92ef471c162a5b724e9849dda74abcd4211211c6800661c5cPTO-AVS-SYS-ACRE-ALIAS-001tests/asl/scalar/sys/ACRE/scalar-exec-acre-alias-001.asl5231e3e76e99b10712d447b100ed37bb2e2c81cb1e5c0b891f9e479115ef8bdcPTO-AVS-SYS-ACRE-COMMIT-001tests/asl/scalar/sys/ACRE/scalar-fault-acre-commit-001.asl42109c0856330a52430f7d318b667ffdbefc10fe373689ff3d8438e4a6c4f5fePTO-AVS-SYS-ACRE-CONTEXT-001tests/asl/scalar/sys/ACRE/scalar-fault-acre-context-001.asl837acf81d7cb00bf5f93fc34514134632e5b44a5905eb59d8279eea6ac5dcdb3PTO-AVS-SYS-ACRE-EXEC-001tests/asl/scalar/sys/ACRE/scalar-exec-acre-direct-001.asla3fbfbebe0137ccca5fd94ebde24f0d9b3c1a809fa4295cfe7ff2df7aea7f510PTO-AVS-SYS-ACRE-MISSING-001tests/asl/scalar/sys/ACRE/scalar-fault-acre-missing-001.asl76269b3c2e7f2d9ca8e430476a658eda0a62d6515f4b00b9c7c56f33ff4519d3PTO-AVS-SYS-ACRE-PLACE-001tests/asl/scalar/sys/ACRE/scalar-fault-acre-place-001.asl13c23e68ec6ed30fe92aaf9095ba421769be0a899dce8984e3255d151411f77bPTO-AVS-SYS-ACRE-RSVD-001tests/asl/scalar/sys/ACRE/scalar-fault-acre-reserved-001.asl860d658ac90d9086699267e2f43b5121f60d350013ad77ed8c56d3ce13e4c81ePTO-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-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/ACRE.md",
"id": "PTO-SCALAR-ACRE",
"instruction_contract": {
"artifact": "spec/evidence/instruction-contract-closure.json",
"mnemonic": "ACRE",
"ndf_clause": "PTO-INST-SCALAR-ACRE"
},
"mnemonic": "ACRE",
"readiness_subjects": [
"ADR-0018",
"ADR-0031",
"ADR-0059",
"ADR-0084"
],
"semantic_tests": [
"PTO-AVS-SYS-ACRE-ALIAS-001",
"PTO-AVS-SYS-ACRE-COMMIT-001",
"PTO-AVS-SYS-ACRE-CONTEXT-001",
"PTO-AVS-SYS-ACRE-EXEC-001",
"PTO-AVS-SYS-ACRE-MISSING-001",
"PTO-AVS-SYS-ACRE-PLACE-001",
"PTO-AVS-SYS-ACRE-RSVD-001"
],
"source": "asl/scalar/sys/ACRE.asl",
"surface": "scalar",
"tests": [
"PTO-AVS-SCALAR-ACRE-DECODE-001",
"PTO-AVS-SYS-ACRE-ALIAS-001",
"PTO-AVS-SYS-ACRE-COMMIT-001",
"PTO-AVS-SYS-ACRE-CONTEXT-001",
"PTO-AVS-SYS-ACRE-EXEC-001",
"PTO-AVS-SYS-ACRE-MISSING-001",
"PTO-AVS-SYS-ACRE-PLACE-001",
"PTO-AVS-SYS-ACRE-RSVD-001"
]
}0.58.5 · 候选发布7dc8b7e5b121d2b2499a2273bebff29e2cd86812e457586f6e7b145d5a6b1ba7fc85236ab60b89eb6af9d0713dae16d5ac988c14c7b24b6a0e8a8126cdce854147cf824936f238822c02b3001f708efcd49d6acdasl/scalar/sys/ACRE.aslasl/scalar/sys/ACRE.aslasl/scalar/sys/ACRE.asl