操作数与参数
SrcL- Reg5 source: R0..R23, T#1..T#4, or U#1..U#4
DC.CSW completes the data-cache clean-by-set/way scope token maintenance operation synchronously.
PTO-SCALAR-DC-CSWdc.csw SrcL| 字段 | 位宽 | 有符号性 | 架构角色 | 编码零 |
|---|---|---|---|---|
SrcL | 5 | encoding-defined | Reg5 source: R0..R23, T#1..T#4, or U#1..U#4 | Encoded zero names the architectural zero GPR. |
Loading WaveDrom diagram… The encoding table and WaveJSON remain available below.
| Decoded item | Bit range | Value |
|---|---|---|
| Constant | 31:20 | 12'b000000000101 |
| SrcL | 19:15 | variable |
| Constant | 14:0 | 15'b110000000101011 |
{
"reg": [
{
"bits": 15,
"name": "15'b110000000101011"
},
{
"bits": 5,
"name": "SrcL"
},
{
"bits": 12,
"name": "12'b000000000101"
}
],
"config": {
"bits": 32,
"fontsize": 13,
"hspace": 900,
"lanes": 1,
"offset": 0
}
}dc.csw SrcL
SrcL下面是该指令所有者中的 Operation;页面没有重写这段行为。
readonly func InstructionContractOperation_DC_CSW() => ScalarOperationbegin return ScalarOperation_DC_CSW;end;readonly func InstructionContractHandler_DC_CSW() => ScalarSemanticHandlerbegin return ScalarHandler_ExecuteMaintenance;end;
pure func InstructionContractRequiresSystemBlock_DC_CSW() => booleanbegin return TRUE;end;
pure func InstructionContractMaintenanceOperation_DC_CSW() => MaintenanceOperationbegin return Maintenance_DC_CSW;end;
pure func InstructionContractMaintenanceUsesOperand_DC_CSW() => booleanbegin return TRUE;end;
pure func InstructionContractMaintenanceRequiresRootRing_DC_CSW() => booleanbegin return FALSE;end;// PTO-INSTRUCTION: {"assembly":["dc.csw SrcL"],"block":[],"catalog_indices":[75],"catalog_records":[{"asm":"dc.csw SrcL","constraints":[],"encoding":[{"index":0,"mask":"0xfff07fff","match":"0x0050602b","width_bits":32}],"encoding_kind":"L32","fields":[{"name":"SrcL","pieces":[{"instruction_lsb":15,"value_lsb":0,"width":5}],"signedness":"encoding-defined","width":5}],"form_id":"dc_csw_32_2719115a9246","length_bits":32,"mnemonic":"DC.CSW","semantic_family":"SYS","semantic_group":"SYS","semantic_handler":"ExecuteMaintenance","semantic_summary":"DC.CSW completes the data-cache clean-by-set/way scope token maintenance operation synchronously.","status":"accepted"}],"classification":["sys"],"contract":{"block_composition":["DC.CSW executes as one scalar operation in the body of an active SYS block."],"canonical_assembly":["dc.csw SrcL"],"defaults":["Every displayed operand is encoded explicitly. Encoded zero is an assigned value and never denotes omission."],"encoding_class":"standalone-encoded","examples":["dc.csw SrcL"],"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":{"SrcL":"Encoded zero names the architectural zero GPR."},"legality":["Every fixed bit and explicit field constraint is checked before operation semantics.","Cache maintenance is a local synchronous hint completion at every ACR."],"memory_effects":["No ordinary scalar memory access is performed; success records the operation and operand and advances the selected maintenance epoch."],"operands":[{"field":"SrcL","role":"Reg5 source: R0..R23, T#1..T#4, or U#1..U#4"}],"ordering":["Check block placement and encoded legality before source reads or architectural effects.","Snapshot every scalar source before the selected system effect, then advance TPC only after success."],"standalone_opcode":true,"state_effects":["Success records Maintenance_DC_CSW and its exact operand token.","Success advances exactly one data-cache, instruction-cache, bundle-cache, or TLB epoch and then advances TPC."]},"depends_on":["PTO-SCALAR-MODEL-SYS-SEMANTICS"],"id":"PTO-SCALAR-DC-CSW","mnemonic":"DC.CSW","summary":"DC.CSW completes the data-cache clean-by-set/way scope token maintenance operation synchronously.","surface":"scalar"}// PTO-REVIEW: {"review_method":"formal-definition-read","outcome":"FORMAL-COMPLETE","reviewed_fields":["assembly","encoding","defaults","operation","state","memory","ordering","faults","reserved"]}// DOC-BEGIN: decodereadonly func InstructionContractOperation_DC_CSW() => ScalarOperationbegin return ScalarOperation_DC_CSW;end;// DOC-END: decode// DOC-BEGIN: operationreadonly func InstructionContractHandler_DC_CSW() => ScalarSemanticHandlerbegin return ScalarHandler_ExecuteMaintenance;end;
pure func InstructionContractRequiresSystemBlock_DC_CSW() => booleanbegin return TRUE;end;
pure func InstructionContractMaintenanceOperation_DC_CSW() => MaintenanceOperationbegin return Maintenance_DC_CSW;end;
pure func InstructionContractMaintenanceUsesOperand_DC_CSW() => booleanbegin return TRUE;end;
pure func InstructionContractMaintenanceRequiresRootRing_DC_CSW() => booleanbegin return FALSE;end;// DOC-END: operation
DC.CSW 同步完成所分配的缓存或地址翻译维护请求,并记录精确操作令牌。
ASL DOC 区域选择 ScalarHandler_ExecuteMaintenance。读取源或改变系统状态之前,必须先检查位置和编码合法性。
该指令占用活动 SYS 块体中的一个标量操作位置。
SrcL 承载 Reg5 源:R0..R23、T#1..T#4 或 U#1..U#4。
编码零是已分配的字段值,从不表示省略操作数。
成功时,维护记录接收 Maintenance_DC_CSW 和精确捕获的操作数令牌。
选中的缓存或 TLB 纪元恰好递增一次,然后 TPC 前进;该操作是同步完成的本地提示。
缓存维护在每个 ACR 都是同步本地提示,并不定义额外的实现缓存内容。
无效的 SYS 块位置会在字段检查之前被拒绝。保留编码或访问拒绝除普通陷阱包络外,不产生目的地、队列、系统状态或 TPC 效果。
该写法示例只用于说明;确切合法性与效果仍由下方生成契约定义。
可从 dc.csw SrcL 开始,先沿编码字段完成预检,再继续查看所选系统效果。
正文来自 owning ASL。拖拽或按钮只临时改变当前页面显示顺序。
No NDF clause is attached to this unit.
13 matching entries
PTO-AVS-SCALAR-DC-CSW-DECODE-001tests/asl/scalar/sys/DC.CSW/scalar-decode-dc-csw-canonical-001.asl34f9c8df705ae881ea02694a756f22779282441f48e8e9903f266e80f6a7b686PTO-AVS-SYS-DC-CSW-EXEC-001tests/asl/scalar/sys/DC.CSW/scalar-exec-dc-csw-direct-001.asl34ef33f2d897e4c84469287b838e2212760a2abac82d59465fee5cd6d417c087PTO-AVS-SYS-DC-CSW-PLACE-001tests/asl/scalar/sys/DC.CSW/scalar-fault-dc-csw-place-001.aslded20193971dbb29ba0b0db68a8a0d3915279bb232ee421c4b6e9b6cea2cd5fePTO-AVS-SYS-DC-CSW-TSRC-001tests/asl/scalar/sys/DC.CSW/scalar-exec-dc-csw-tsrc-001.asl7271c7f06aafe56ce05eca3951278d99294d0f807eef32c04037241247ac466ePTO-AVS-SYS-DC-CSW-USRC-001tests/asl/scalar/sys/DC.CSW/scalar-exec-dc-csw-usrc-001.aslb26c8819f2768689317297caecd3b6b071a3c46d93a8cc464de1bed794968320PTO-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.mdf18d13f735cfaf9f2803c754c5818f4af33d1cc42c489f0d9ce060b07bb3a196{
"classification": [
"sys"
],
"documentation": "docs/scalar/sys/DC.CSW.md",
"id": "PTO-SCALAR-DC-CSW",
"instruction_contract": {
"artifact": "spec/evidence/instruction-contract-closure.json",
"mnemonic": "DC.CSW",
"ndf_clause": "PTO-INST-SCALAR-DC-CSW"
},
"mnemonic": "DC.CSW",
"readiness_subjects": [
"ADR-0018",
"ADR-0031",
"ADR-0059"
],
"semantic_tests": [
"PTO-AVS-SYS-DC-CSW-EXEC-001",
"PTO-AVS-SYS-DC-CSW-PLACE-001",
"PTO-AVS-SYS-DC-CSW-TSRC-001",
"PTO-AVS-SYS-DC-CSW-USRC-001"
],
"source": "asl/scalar/sys/DC.CSW.asl",
"surface": "scalar",
"tests": [
"PTO-AVS-SCALAR-DC-CSW-DECODE-001",
"PTO-AVS-SYS-DC-CSW-EXEC-001",
"PTO-AVS-SYS-DC-CSW-PLACE-001",
"PTO-AVS-SYS-DC-CSW-TSRC-001",
"PTO-AVS-SYS-DC-CSW-USRC-001"
]
}0.58.5 · 候选发布7dc8b7e5b121d2b2499a2273bebff29e2cd86812471b8d7feebb1bc0f3808ff7d89bfca8f48cd39545538ebe018ef89e2f7af7806e6f1a48365ed69516d1ec19da28770201aa9d690e4ff37d6307a93ada3413fbasl/scalar/sys/DC.CSW.aslasl/scalar/sys/DC.CSW.asl