Operands and parameters
SrcL- left absolute GPR source
SrcR- right absolute GPR source
SrcRType- right-source modifier selector
SETC.GEU - Compare scalar operands and update the bundle commit condition.
PTO-SCALAR-SETC-GEUsetc.geu SrcL, SrcR<{.sw, .uw}>| Field | Bits | Signedness | Architectural role | Encoded zero |
|---|---|---|---|---|
SrcL | 5 | encoding-defined | left absolute GPR source | Encoded zero names the architectural zero GPR. |
SrcR | 5 | encoding-defined | right absolute GPR source | Encoded zero names the architectural zero GPR. |
SrcRType | 2 | encoding-defined | right-source modifier selector | Encoded zero selects value zero of the right-source modifier selector. |
Loading WaveDrom diagram… The encoding table and WaveJSON remain available below.
| Decoded item | Bit range | Value |
|---|---|---|
| Constant | 31:27 | 5'b00000 |
| SrcRType | 26:25 | variable |
| SrcR | 24:20 | variable |
| SrcL | 19:15 | variable |
| Constant | 14:0 | 15'b111000001100101 |
{
"reg": [
{
"bits": 15,
"name": "15'b111000001100101"
},
{
"bits": 5,
"name": "SrcL"
},
{
"bits": 5,
"name": "SrcR"
},
{
"bits": 2,
"name": "SrcRType"
},
{
"bits": 5,
"name": "5'b00000"
}
],
"config": {
"bits": 32,
"fontsize": 13,
"hspace": 900,
"lanes": 1,
"offset": 0
}
}setc.geu SrcL, SrcR<{.sw, .uw}>
SrcLSrcRSrcRTypeThis Operation comes directly from the instruction owner; the page does not rewrite its behavior.
readonly func InstructionContractOperation_SETC_GEU() => ScalarOperationbegin return ScalarOperation_SETC_GEU;end;readonly func InstructionContractHandler_SETC_GEU() => ScalarSemanticHandlerbegin return ScalarHandler_ExecuteSetCommit;end;
pure func InstructionContractCondition_SETC_GEU() => ScalarConditionbegin return ScalarCondition_GEU;end;
pure func InstructionContractCommitResult_SETC_GEU( left: Word, right: Word) => booleanbegin return ConditionHolds( InstructionContractCondition_SETC_GEU(), left, right);end;// PTO-INSTRUCTION: {"assembly":["setc.geu SrcL, SrcR<{.sw, .uw}>"],"block":[],"catalog_indices":[404],"catalog_records":[{"asm":"setc.geu SrcL, SrcR<{.sw, .uw}>","constraints":[],"encoding":[{"index":0,"mask":"0xf8007fff","match":"0x00007065","width_bits":32}],"encoding_kind":"L32","fields":[{"name":"SrcL","pieces":[{"instruction_lsb":15,"value_lsb":0,"width":5}],"signedness":"encoding-defined","width":5},{"name":"SrcR","pieces":[{"instruction_lsb":20,"value_lsb":0,"width":5}],"signedness":"encoding-defined","width":5},{"name":"SrcRType","pieces":[{"instruction_lsb":25,"value_lsb":0,"width":2}],"signedness":"encoding-defined","width":2}],"form_id":"setc_geu_32_494f1f79099e","length_bits":32,"mnemonic":"SETC.GEU","semantic_family":"BRU","semantic_group":"BRU","semantic_handler":"ExecuteSetCommit","semantic_summary":"SETC.GEU - Compare scalar operands and update the bundle commit condition.","status":"accepted"}],"classification":["bru"],"contract":{"block_composition":["Applicable only in the body of an active block whose BARG.TYPE is Conditional. Across the entire SETC condition-setting family, at most one occurrence may complete successfully in that block."],"canonical_assembly":["setc.geu SrcL, SrcR<{.sw, .uw}>"],"defaults":["The selected assembly form determines which fields are present; every present field carries its encoded value and no encoded zero means omission."],"encoding_class":"standalone-encoded","examples":["setc.geu SrcL, SrcR<{.sw, .uw}>"],"exceptions":["Wrong block placement or a second successful SETC condition setter raises Illegal Block Exception before scalar source readiness or any architectural or pending-block effect.","A fixed-bit mismatch or unavailable selected relative source raises Fault_IllegalInstruction before commit state, BARG, queues, or TPC effects."],"field_contracts":{},"field_zero_meanings":{"SrcL":"Encoded zero names the architectural zero GPR.","SrcR":"Encoded zero names the architectural zero GPR.","SrcRType":"Encoded zero selects value zero of the right-source modifier selector."},"legality":["All SETC condition setters share one block-private successful-occurrence marker; a failed first occurrence does not consume it."],"memory_effects":["none"],"operands":[{"field":"SrcL","role":"left absolute GPR source"},{"field":"SrcR","role":"right absolute GPR source"},{"field":"SrcRType","role":"right-source modifier selector"}],"ordering":["Check Conditional-block applicability and the shared occurrence marker before scalar source readiness or reads.","Snapshot all sources, compute the canonical zero-or-one condition, then atomically update the commit argument, BARG.TAKEN, and the occurrence marker."],"standalone_opcode":true,"state_effects":["Compute SETC.GEU's local comparison or logical condition from source snapshots and canonicalize it to zero or one.","Atomically write that value to the commit argument and BARG.TAKEN, then mark the block condition as set. Preserve BARG.BPC, BARG.BPCN, BARG.BlockType, and BARG.TYPE.","No memory, reservation, descriptor, numeric-status, or destination-register effect occurs. Successful execution advances TPC by the encoded instruction length."]},"depends_on":["PTO-BLOCK-MODEL-SCHEMA-PROFILE-ENCODING"],"id":"PTO-SCALAR-SETC-GEU","mnemonic":"SETC.GEU","summary":"SETC.GEU - Compare scalar operands and update the bundle commit condition.","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-GEU-CONDITIONAL-SETTER-001// ndf: kind=contract level=L1 layer=scalar status=accepted// SETC.GEU MUST be applicable only in one active Conditional block.// Across all SETC condition setters, only the first successful occurrence in// that block may snapshot sources and atomically update CommitArgument and// BARG.TAKEN. A rejected occurrence MUST NOT consume the shared marker.// NDF-END: PTO-SETC-GEU-CONDITIONAL-SETTER-001// DOC-BEGIN: decodereadonly func InstructionContractOperation_SETC_GEU() => ScalarOperationbegin return ScalarOperation_SETC_GEU;end;// DOC-END: decode// DOC-BEGIN: operationreadonly func InstructionContractHandler_SETC_GEU() => ScalarSemanticHandlerbegin return ScalarHandler_ExecuteSetCommit;end;
pure func InstructionContractCondition_SETC_GEU() => ScalarConditionbegin return ScalarCondition_GEU;end;
pure func InstructionContractCommitResult_SETC_GEU( left: Word, right: Word) => booleanbegin return ConditionHolds( InstructionContractCondition_SETC_GEU(), left, right);end;// DOC-END: operation
SETC.GEU evaluates unsigned greater-than-or-equal and publishes the result as the current Conditional bundle commit decision.
Placement and the single-setter rule are checked before source readiness or reads.
The snapshotted operands are evaluated for unsigned greater-than-or-equal and canonicalized to XLEN one or zero.
SrcL supplies the left scalar source.SrcR supplies the right scalar source.SrcRType selects the right-source transformation.The canonical condition is written atomically to _CommitArgument and BARG.TAKEN, and the condition-set marker becomes true.
On success, SETC.GEU advances TPC by 4 bytes. It has no scalar destination and no memory or reservation effect.
The instruction is valid only in the applicable Conditional bundle context, and only one successful condition setter may occur.
Wrong placement or a repeated setter raises an Illegal Block Exception before source reads; encoding or unavailable-source failures raise Fault_IllegalInstruction before commit or TPC effects.
This example illustrates the current owner and does not create a second semantic definition.
setc.geu SrcL, SrcR<{.sw, .uw}> evaluates the described condition, writes the canonical decision to commit state, and advances TPC only after that update.
Bodies come from owning ASL. Dragging or buttons change only this page-session view order.
SETC.GEU MUST be applicable only in one active Conditional block. Across all SETC condition setters, only the first successful occurrence in that block may snapshot sources and atomically update CommitArgument and BARG.TAKEN. A rejected occurrence MUST NOT consume the shared marker.
PTO-SETC-GEU-CONDITIONAL-SETTER-001asl/scalar/bru/SETC.GEU.asl9b6fdd87f0ac34026ebdf16c28e1f8763fe2b219271dd4275a6e5406ce67d9cb19d343508fd9dd2b26801e88c3a1cb5f1bcf6215bad60eea27dcfcef7df7d13211 matching entries
PTO-AVS-BRU-SETC-GEU-BOUND-001tests/asl/scalar/bru/SETC.GEU/scalar-bound-setc-geu-fields-001.asl6eccbeb7939bd9a9b9eab88ee04af24aecd474799959356d13bb6f192401b8d7PTO-AVS-BRU-SETC-GEU-EXEC-001tests/asl/scalar/bru/SETC.GEU/scalar-exec-setc-geu-direct-001.aslc8a780563e28d9acb73a6574c54af1a5d11556dac6fa435ee5736657e20818e0PTO-AVS-SCALAR-SETC-GEU-DECODE-001tests/asl/scalar/bru/SETC.GEU/scalar-decode-setc-geu-canonical-001.asl7535e46ae01caee5f0645ef8838ba9f62a7cee15f99854e974857a82ae306ed2PTO-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-0027…
ADR-0027docs/status/decisions/0027-scalar-bru-totality-and-target-legality.md9289112d250e31f4222dcd27d20bda791be7a1b57764af7ed9b187e767b7acedLoading 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": [
"bru"
],
"documentation": "docs/scalar/bru/SETC.GEU.md",
"id": "PTO-SCALAR-SETC-GEU",
"instruction_contract": {
"artifact": "spec/evidence/instruction-contract-closure.json",
"mnemonic": "SETC.GEU",
"ndf_clause": "PTO-INST-SCALAR-SETC-GEU"
},
"mnemonic": "SETC.GEU",
"readiness_subjects": [
"ADR-0027",
"ADR-0059",
"ADR-0084"
],
"semantic_tests": [
"PTO-AVS-BRU-SETC-GEU-BOUND-001",
"PTO-AVS-BRU-SETC-GEU-EXEC-001"
],
"source": "asl/scalar/bru/SETC.GEU.asl",
"surface": "scalar",
"tests": [
"PTO-AVS-BRU-SETC-GEU-BOUND-001",
"PTO-AVS-BRU-SETC-GEU-EXEC-001",
"PTO-AVS-SCALAR-SETC-GEU-DECODE-001"
]
}0.58.5 · Release candidate7dc8b7e5b121d2b2499a2273bebff29e2cd868129b6fdd87f0ac34026ebdf16c28e1f8763fe2b219271dd4275a6e5406ce67d9cb6b892d4d4b3f97de544ba92283d79dc45899e53f62b1564bd72fb10f5ad9ee47asl/scalar/bru/SETC.GEU.aslasl/scalar/bru/SETC.GEU.aslasl/scalar/bru/SETC.GEU.asl