操作数与参数
simm12- 12-bit signed bundle target displacement
uimm5- unsigned return-address displacement
Atomically retires the old block, installs a direct-call BARG, and writes the independent return target to ra.
PTO-BLOCK-BSTART-CALLBSTART.CALL <br_label>, <rt_label>, ->ra| 字段 | 位宽 | 有符号性 | 架构角色 | 编码零 |
|---|---|---|---|---|
simm12 | 12 | signed | 12-bit signed bundle target displacement | Encoded zero supplies a zero displacement or zero immediate value. |
uimm5 | 5 | unsigned | unsigned return-address displacement | Encoded zero supplies a zero displacement or zero immediate value. |
Loading WaveDrom diagram… The encoding table and WaveJSON remain available below.
| Decoded item | Bit range | Value |
|---|---|---|
| Constant | 31:27 | 5'b01010 |
| uimm5 | 26:22 | variable |
| Constant | 21:16 | 6'b010110 |
| simm12 | 15:4 | variable |
| Constant | 3:0 | 4'b0010 |
{
"reg": [
{
"bits": 4,
"name": "4'b0010"
},
{
"bits": 12,
"name": "simm12"
},
{
"bits": 6,
"name": "6'b010110"
},
{
"bits": 5,
"name": "uimm5"
},
{
"bits": 5,
"name": "5'b01010"
}
],
"config": {
"bits": 32,
"fontsize": 13,
"hspace": 900,
"lanes": 1,
"offset": 0
}
}BSTART.CALL <br_label>, <rt_label>, ->ra
simm12uimm5Decode 与 Operation 均直接来自指令所有者,并按执行阶段分开显示。
readonly func InstructionContractMatches_BSTART_CALL(operation: CommandOperation) => booleanbegin return (operation == CommandOperation_bstart_call_32_9404418d1ae5);end;readonly func InstructionContractHandler_BSTART_CALL() => CommandSemanticHandlerbegin return CommandHandler_ExecuteBundleStart;end;
readonly func InstructionContractTransfer_BSTART_CALL() => BundleTransferbegin return BundleTransfer_Call;end;
pure func InstructionContractWritesReturnAddress_BSTART_CALL() => booleanbegin return TRUE;end;// PTO-INSTRUCTION: {"assembly":["BSTART.CALL <br_label>, <rt_label>, ->ra"],"block":[],"catalog_indices":[15],"catalog_records":[{"asm":"BSTART.CALL <br_label>, <rt_label>, ->ra","constraints":[],"encoding":[{"index":0,"mask":"0xf83f000f","match":"0x50160002","width_bits":32}],"encoding_kind":"L32","fields":[{"name":"simm12","pieces":[{"instruction_lsb":4,"value_lsb":0,"width":12}],"signedness":"signed","width":12},{"name":"uimm5","pieces":[{"instruction_lsb":22,"value_lsb":0,"width":5}],"signedness":"unsigned","width":5}],"form_id":"bstart_call_32_9404418d1ae5","length_bits":32,"mnemonic":"BSTART.CALL","semantic_family":"BBD","semantic_group":"BSTART","semantic_handler":"ExecuteBundleStart","semantic_summary":"Atomically retires the old block, installs a direct-call BARG, and writes the independent return target to ra.","status":"accepted"}],"classification":["execution"],"contract":{"block_composition":["none"],"canonical_assembly":["BSTART.CALL <br_label>, <rt_label>, ->ra"],"defaults":["simm12 and uimm5 are both present; encoded zero is a real zero displacement for that field."],"encoding_class":"standalone-encoded","examples":["BSTART.CALL <br_label>, <rt_label>, ->ra"],"exceptions":["An odd call target raises Fault_InstructionPC before retiring-block effects.","Decode, applicability, target, or retiring-commit failure preserves ra and the retiring BARG and installs no candidate BARG."],"field_contracts":{},"field_zero_meanings":{"simm12":"Encoded zero supplies a zero displacement or zero immediate value.","uimm5":"Encoded zero supplies a zero displacement or zero immediate value."},"legality":["All bit patterns not excluded by the form decode are assigned by this instruction contract."],"memory_effects":["Any memory effects of the retiring block complete before the call BARG and ra are published; BSTART.CALL itself performs no memory access."],"operands":[{"field":"simm12","role":"12-bit signed bundle target displacement"},{"field":"uimm5","role":"unsigned return-address displacement"}],"ordering":["Validate both targets, successfully commit the retiring block, then atomically install the new STD BARG and write ra."],"standalone_opcode":true,"state_effects":["Installs BARG.BPC=P, BlockType=STD, BPCN=call_target, TYPE=DIRECT, TAKEN=1, and writes return_target to ra.","The call target is selected only when the new block later commits."]},"depends_on":["PTO-BLOCK-MODEL-SCHEMA-PROFILE-ENCODING"],"id":"PTO-BLOCK-BSTART-CALL","mnemonic":"BSTART.CALL","summary":"Atomically retires the old block, installs a direct-call BARG, and writes the independent return target to ra.","surface":"block"}// PTO-REVIEW: {"review_method":"formal-definition-read","outcome":"FORMAL-COMPLETE","reviewed_fields":["assembly","encoding","defaults","operation","state","memory","ordering","faults","reserved"]}// NDF-BEGIN: PTO-BSTART-CALL-DECISION-BINDING-001// ndf: kind=contract level=L1 layer=block status=accepted// BSTART.CALL 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-BSTART-CALL-DECISION-BINDING-001// DOC-BEGIN: decodereadonly func InstructionContractMatches_BSTART_CALL(operation: CommandOperation) => booleanbegin return (operation == CommandOperation_bstart_call_32_9404418d1ae5);end;// DOC-END: decode// DOC-BEGIN: operationreadonly func InstructionContractHandler_BSTART_CALL() => CommandSemanticHandlerbegin return CommandHandler_ExecuteBundleStart;end;
readonly func InstructionContractTransfer_BSTART_CALL() => BundleTransferbegin return BundleTransfer_Call;end;
pure func InstructionContractWritesReturnAddress_BSTART_CALL() => booleanbegin return TRUE;end;// DOC-END: operation
BSTART.CALL 是 CALL 形式的 32 位 Block 起始命令。它建立待处理 Block 的身份和选择参数;真正执行 Block body 并提交结果的是完成后的整个 Block,而不是起始命令本身。
起始命令之后的 header 命令按顺序执行;BSTOP 或下一条 BSTART 是验证并退休完整 Block 的边界。当前所有者给出以下确切组成检查表:
none任何有效前序 Block 成功退休后,该命令初始化新的待处理 BARG 或操作描述符,并从顺序 PC 继续执行 header。仅仅成功解码起始命令,不会让 Block 目的结果或内存结果变得可见。 只有起始形式适用、目标检查和前序 Block 退休全部成功后,返回地址结果才会发布。
simm12 提供编码偏移或加数;其确切分配域仍以下方生成契约为准。uimm5 提供编码偏移或加数;其确切分配域仍以下方生成契约为准。对适用性和目标检查而言,起始状态转换与前序 Block 退休是全有或全无的。起始命令成功后,后续完成边界会在任何 body 结果提交前验证完整组成。
保留选择器、无效目标、完成后的组成错误或前序退休失败,都会在新 Block 或 body 影响之前被拒绝。
以下为示例性示例,仅用于说明当前所有者,不替代其定义。
BSTART.CALL <br_label>, <rt_label>, ->ra假设前序 Block 退休和目标检查成功,BSTART.CALL <br_label>, <rt_label>, ->ra 会打开待处理的 BSTART.CALL 形式;后续 header/body 命令仍是暂定状态,直到 BSTOP 或下一条 BSTART 验证完整组成。
正文来自 owning ASL。拖拽或按钮只临时改变当前页面显示顺序。
BSTART.CALL 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-BSTART-CALL-DECISION-BINDING-001asl/block/execution/BSTART.CALL.asl6f7a737c4a18660892bf07c4d98a170551b89b1c4be625b822311fbd48cb1c09fc757a6d78b0f81ba8537aac4392ad48c2f5139eb17b654dc804db9cc6b6587414 matching entries
PTO-AVS-BLOCK-BSTART-CALL-ATOMIC-001tests/asl/block/execution/BSTART.CALL/block-state-bstart-call-atomic-001.asl22a6c785f8ec01dfcf8b1b559d5c6cc1464f2c6c5d767d46756194fba2493433PTO-AVS-BLOCK-BSTART-CALL-DECODE-001tests/asl/block/execution/BSTART.CALL/block-decode-bstart-call-canonical-001.asl6593ffab34da459057a8d7e49d7a44ea9cd31bc7de4a2d622f0625fc847dbeabPTO-AVS-BLOCK-BSTART-CALL-FUSED-FORMS-001tests/asl/block/execution/BSTART.CALL/block-bound-bstart-call-fused-forms-001.aslab001227f0d9f974e11ecdfefc173ea09f986660ccebaf685a70a716f6532ea4PTO-AVS-BLOCK-BSTART-CALL-ROLLBACK-001tests/asl/block/execution/BSTART.CALL/block-fault-bstart-call-rollback-001.asldc892599471500b5c9122a755832d9d82c7c8b9d7050373c01172da726f4e21dPTO-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-0032…
ADR-0032docs/status/decisions/0032-bundle-command-totality-and-profile-boundaries.mde1f91826817343c0977a565a91e495a15397b83fa2af227124f225821ffa54aeLoading ADR-0052…
ADR-0052docs/status/decisions/0052-direct-tile-and-bundle-catalog-closure.md5fdb38bf480e37affe5075f93b35a57d32803018c986bfe05160f188a19ccaf6Loading ADR-0055…
ADR-0055docs/status/decisions/0055-complete-bundle-bior-schema-and-defaults.mdd84224ee1980cb16a6c4efb6ce3c5c2649d5db27002e7e6429850da189a2cdffLoading ADR-0059…
ADR-0059docs/status/decisions/0059-mnemonic-field-encoding-closure.mdf18d13f735cfaf9f2803c754c5818f4af33d1cc42c489f0d9ce060b07bb3a196Loading ADR-0077…
ADR-0077docs/status/decisions/0077-block-start-and-extension-reservations.md20e19c71c2c967447a115e353f5e3673fc14276dabbcf9a96922f54507536973{
"classification": [
"execution"
],
"documentation": "docs/block/execution/BSTART.CALL.md",
"id": "PTO-BLOCK-BSTART-CALL",
"instruction_contract": {
"artifact": "spec/evidence/instruction-contract-closure.json",
"mnemonic": "BSTART.CALL",
"ndf_clause": "PTO-INST-BLOCK-BSTART-CALL"
},
"mnemonic": "BSTART.CALL",
"readiness_subjects": [
"ADR-0032",
"ADR-0052",
"ADR-0055",
"ADR-0059",
"ADR-0077"
],
"semantic_tests": [
"PTO-AVS-BLOCK-BSTART-CALL-ATOMIC-001",
"PTO-AVS-BLOCK-BSTART-CALL-FUSED-FORMS-001",
"PTO-AVS-BLOCK-BSTART-CALL-ROLLBACK-001"
],
"source": "asl/block/execution/BSTART.CALL.asl",
"surface": "block",
"tests": [
"PTO-AVS-BLOCK-BSTART-CALL-ATOMIC-001",
"PTO-AVS-BLOCK-BSTART-CALL-DECODE-001",
"PTO-AVS-BLOCK-BSTART-CALL-FUSED-FORMS-001",
"PTO-AVS-BLOCK-BSTART-CALL-ROLLBACK-001"
]
}0.58.5 · 候选发布7dc8b7e5b121d2b2499a2273bebff29e2cd868126f7a737c4a18660892bf07c4d98a170551b89b1c4be625b822311fbd48cb1c0992582c17f97800b73aa6fc4344665e81400d3ef4af7084ca34f968ffa9bb0877asl/block/execution/BSTART.CALL.aslasl/block/execution/BSTART.CALL.aslasl/block/execution/BSTART.CALL.asl