Operands and parameters
SrcL- Reg5 source: R0..R23, T#1..T#4, or U#1..U#4
SETC.TGT snapshots SrcL into BARG.BPCN for the active Standard or Floating block.
PTO-SCALAR-SETC-TGTsetc.tgt SrcL| Field | Bits | Signedness | Architectural role | Encoded zero |
|---|---|---|---|---|
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'b000000000000 |
| SrcL | 19:15 | variable |
| Constant | 14:0 | 15'b100000000111011 |
{
"reg": [
{
"bits": 15,
"name": "15'b100000000111011"
},
{
"bits": 5,
"name": "SrcL"
},
{
"bits": 12,
"name": "12'b000000000000"
}
],
"config": {
"bits": 32,
"fontsize": 13,
"hspace": 900,
"lanes": 1,
"offset": 0
}
}setc.tgt SrcL
SrcLThis Operation comes directly from the instruction owner; the page does not rewrite its behavior.
readonly func InstructionContractOperation_SETC_TGT() => ScalarOperationbegin return ScalarOperation_SETC_TGT;end;readonly func InstructionContractHandler_SETC_TGT() => ScalarSemanticHandlerbegin return ScalarHandler_SetCommitTarget;end;
pure func InstructionContractRequiresSystemBlock_SETC_TGT() => booleanbegin return FALSE;end;
pure func InstructionContractRequiresCommitTargetBlock_SETC_TGT() => booleanbegin return TRUE;end;
pure func InstructionContractWritesBARGBPCN_SETC_TGT() => booleanbegin return TRUE;end;// PTO-INSTRUCTION: {"assembly":["setc.tgt SrcL"],"block":[],"catalog_indices":[414],"catalog_records":[{"asm":"setc.tgt SrcL","constraints":[],"encoding":[{"index":0,"mask":"0xfff07fff","match":"0x0000403b","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":"setc_tgt_32_c02656d3a2b8","length_bits":32,"mnemonic":"SETC.TGT","semantic_family":"SYS","semantic_group":"SYS","semantic_handler":"SetCommitTarget","semantic_summary":"SETC.TGT snapshots SrcL into BARG.BPCN for the active Standard or Floating block.","status":"accepted"}],"classification":["sys"],"contract":{"block_composition":["SETC.TGT is legal in the body of an active Standard or Floating block and is not a SYS-block instruction."],"canonical_assembly":["setc.tgt SrcL"],"defaults":["Every displayed operand is encoded explicitly. Encoded zero is an assigned value and never denotes omission."],"encoding_class":"standalone-encoded","examples":["setc.tgt 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 available Reg5 source selector is assigned; block applicability is checked before the source read."],"memory_effects":["none"],"operands":[{"field":"SrcL","role":"Reg5 source: R0..R23, T#1..T#4, or U#1..U#4"}],"ordering":["Check block applicability, snapshot SrcL, write BARG.BPCN, and then advance TPC."],"standalone_opcode":true,"state_effects":["Replace only BARG.BPCN with the complete XLEN source; preserve BPC, BlockType, TYPE, TAKEN, and all other block state."]},"depends_on":["PTO-BLOCK-MODEL-STATE-BARG"],"id":"PTO-SCALAR-SETC-TGT","mnemonic":"SETC.TGT","summary":"SETC.TGT snapshots SrcL into BARG.BPCN for the active Standard or Floating 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-SETC-TGT-ADR-CONTRACT-001// ndf: kind=contract level=L1 layer=scalar status=accepted// Decisions: ADR-0026.// SETC.TGT MUST snapshot its complete scalar source into the applicable// active block BARG.BPCN only after placement and source readiness checks.// Rejection MUST preserve the prior target and pending-block state.// NDF-END: PTO-SETC-TGT-ADR-CONTRACT-001// DOC-BEGIN: decodereadonly func InstructionContractOperation_SETC_TGT() => ScalarOperationbegin return ScalarOperation_SETC_TGT;end;// DOC-END: decode// DOC-BEGIN: operationreadonly func InstructionContractHandler_SETC_TGT() => ScalarSemanticHandlerbegin return ScalarHandler_SetCommitTarget;end;
pure func InstructionContractRequiresSystemBlock_SETC_TGT() => booleanbegin return FALSE;end;
pure func InstructionContractRequiresCommitTargetBlock_SETC_TGT() => booleanbegin return TRUE;end;
pure func InstructionContractWritesBARGBPCN_SETC_TGT() => booleanbegin return TRUE;end;// DOC-END: operation
SETC.TGT captures a scalar source into the active block's BARG.BPCN commit target.
The ASL DOC region selects ScalarHandler_SetCommitTarget. Placement and encoded legality are checked before sources or system state can change.
The instruction occupies one scalar operation position in an active Standard or Floating block and is not legal in a SYS block.
SrcL carries the Reg5 source: R0..R23, T#1..T#4, or U#1..U#4.
Encoded zero is an assigned field value, never an omitted operand.
The snapshotted source replaces only BARG.BPCN; every other BARG and block-control field is preserved.
Block applicability is checked before reading SrcL, and TPC advances only after the new target is stored.
The operation is assigned only in an active Standard or Floating block.
An inactive body or any block kind other than Standard or Floating raises Illegal Block Exception before reading SrcL or changing BARG or TPC.
This spelling example is illustrative; exact legality and effects remain in the generated contract below.
Start with setc.tgt SrcL in an active Standard or Floating block and trace the source snapshot before the BARG update.
Bodies come from owning ASL. Dragging or buttons change only this page-session view order.
Decisions: ADR-0026. SETC.TGT MUST snapshot its complete scalar source into the applicable active block BARG.BPCN only after placement and source readiness checks. Rejection MUST preserve the prior target and pending-block state.
PTO-SETC-TGT-ADR-CONTRACT-001asl/scalar/sys/SETC.TGT.asl2f5d4d79d1c6feae968340552cc6cb48cda6b853188eb94a6ce0f4918b8b14af96f41422129e0ffe8e3c17f19af3a691bf63ad1b9b69861b1d897ffee34118ff18 matching entries
PTO-AVS-SCALAR-SETC-TGT-DECODE-001tests/asl/scalar/sys/SETC.TGT/scalar-decode-setc-tgt-canonical-001.asl4ac44bafb38b920f95f5436da620aad06e47d86dd5e68b3284d33d3ade8903c1PTO-AVS-SYS-SETC-TGT-EXEC-001tests/asl/scalar/sys/SETC.TGT/scalar-exec-setc-tgt-direct-001.asl2d387856e385c58ed227ca2822fad1f391c7462b2844bb520e2662ebc50a7774PTO-AVS-SYS-SETC-TGT-FLOAT-001tests/asl/scalar/sys/SETC.TGT/scalar-exec-setc-tgt-floating-001.asl05a2c6c6b5086896b7716cc659f82a28beb135a9dab33a508b27a19c1a8cffd3PTO-AVS-SYS-SETC-TGT-PLACE-001tests/asl/scalar/sys/SETC.TGT/scalar-fault-setc-tgt-place-001.asl620762609dd70aaa4f30d7cd617e1de43926f37ffd8c3f5ebc08e6d9dba7afadPTO-AVS-SYS-SETC-TGT-SOURCE-001tests/asl/scalar/sys/SETC.TGT/scalar-fault-setc-tgt-source-001.asl4d3ac2d2987fb921fb315c1f9d62c416c713b23e1389b3a870ccd38a6678e2d2PTO-AVS-SYS-SETC-TGT-SYSTEM-001tests/asl/scalar/sys/SETC.TGT/scalar-fault-setc-tgt-system-001.asl4a60388515a494eb43016e148ded018aa617591441a9590ccd5eb567c140d241PTO-AVS-SYS-SETC-TGT-TSRC-001tests/asl/scalar/sys/SETC.TGT/scalar-exec-setc-tgt-tsrc-001.aslf00e125142808b83607f5442d9348f866d42c29b608cf758f251dce2829b7c1fPTO-AVS-SYS-SETC-TGT-USRC-001tests/asl/scalar/sys/SETC.TGT/scalar-exec-setc-tgt-usrc-001.asl656dcd83654d0769e768c408c8302e636a1af9f8ad02941f4cdd227d1525e43bPTO-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-0061…
ADR-0061docs/status/decisions/0061-barg-bpcn-commit-state.mda18e0fbedde0c150c0234b126fef7bf43d9503080ee42e7896ac21e494da4d83Loading ADR-0084…
ADR-0084docs/status/decisions/0084-scalar-system-and-queue-operations.mde068992fa81e2c4ac46e492391a2f784141d68e041bf0b9e0586c37217d1e08c{
"classification": [
"sys"
],
"documentation": "docs/scalar/sys/SETC.TGT.md",
"id": "PTO-SCALAR-SETC-TGT",
"instruction_contract": {
"artifact": "spec/evidence/instruction-contract-closure.json",
"mnemonic": "SETC.TGT",
"ndf_clause": "PTO-INST-SCALAR-SETC-TGT"
},
"mnemonic": "SETC.TGT",
"readiness_subjects": [
"ADR-0018",
"ADR-0031",
"ADR-0059",
"ADR-0061",
"ADR-0084"
],
"semantic_tests": [
"PTO-AVS-SYS-SETC-TGT-EXEC-001",
"PTO-AVS-SYS-SETC-TGT-FLOAT-001",
"PTO-AVS-SYS-SETC-TGT-PLACE-001",
"PTO-AVS-SYS-SETC-TGT-SOURCE-001",
"PTO-AVS-SYS-SETC-TGT-SYSTEM-001",
"PTO-AVS-SYS-SETC-TGT-TSRC-001",
"PTO-AVS-SYS-SETC-TGT-USRC-001"
],
"source": "asl/scalar/sys/SETC.TGT.asl",
"surface": "scalar",
"tests": [
"PTO-AVS-SCALAR-SETC-TGT-DECODE-001",
"PTO-AVS-SYS-SETC-TGT-EXEC-001",
"PTO-AVS-SYS-SETC-TGT-FLOAT-001",
"PTO-AVS-SYS-SETC-TGT-PLACE-001",
"PTO-AVS-SYS-SETC-TGT-SOURCE-001",
"PTO-AVS-SYS-SETC-TGT-SYSTEM-001",
"PTO-AVS-SYS-SETC-TGT-TSRC-001",
"PTO-AVS-SYS-SETC-TGT-USRC-001"
]
}0.58.5 · Release candidate7dc8b7e5b121d2b2499a2273bebff29e2cd868122f5d4d79d1c6feae968340552cc6cb48cda6b853188eb94a6ce0f4918b8b14afdfc2f9def7bff804442b80f599740f6b089a19467b30f37d739a1522f51ef568asl/scalar/sys/SETC.TGT.aslasl/scalar/sys/SETC.TGT.aslasl/scalar/sys/SETC.TGT.asl