Operands and parameters
SrcL- left absolute GPR source
shamt- shift amount
simm24- 24-bit signed immediate or displacement
HL.SETC.ORI - Combine scalar comparison results and update the bundle commit condition.
PTO-SCALAR-HL-SETC-ORIhl.setc.ori SrcL, simm| Field | Bits | Signedness | Architectural role | Encoded zero |
|---|---|---|---|---|
SrcL | 5 | encoding-defined | left absolute GPR source | Encoded zero names the architectural zero GPR. |
shamt | 5 | encoding-defined | shift amount | Encoded zero performs no shift. |
simm24 | 24 | signed | 24-bit signed immediate or displacement | Encoded zero supplies numeric zero for the 24-bit signed immediate or displacement. |
Loading WaveDrom diagram… The encoding table and WaveJSON remain available below.
| Decoded item | Bit range | Value |
|---|---|---|
| simm24 | 47:36 | variable |
| SrcL | 35:31 | variable |
| Constant | 30:28 | 3'b011 |
| shamt | 27:23 | variable |
| Constant | 22:16 | 7'b1110101 |
| simm24 | 15:4 | variable |
| Constant | 3:0 | 4'b1110 |
{
"reg": [
{
"bits": 4,
"name": "4'b1110"
},
{
"bits": 12,
"name": "simm24"
},
{
"bits": 7,
"name": "7'b1110101"
},
{
"bits": 5,
"name": "shamt"
},
{
"bits": 3,
"name": "3'b011"
},
{
"bits": 5,
"name": "SrcL"
},
{
"bits": 12,
"name": "simm24"
}
],
"config": {
"bits": 48,
"fontsize": 13,
"hspace": 900,
"lanes": 2,
"offset": 0
}
}hl.setc.ori SrcL, simm
SrcLshamtsimm24This Operation comes directly from the instruction owner; the page does not rewrite its behavior.
readonly func InstructionContractOperation_HL_SETC_ORI() => ScalarOperationbegin return ScalarOperation_HL_SETC_ORI;end;readonly func InstructionContractHandler_HL_SETC_ORI() => ScalarSemanticHandlerbegin return ScalarHandler_ExecuteSetCommitLogical;end;
pure func InstructionContractCombinesWithOR_HL_SETC_ORI() => booleanbegin return TRUE;end;
pure func InstructionContractCommitLogicalValue_HL_SETC_ORI( left: Word, right: Word) => Wordbegin if InstructionContractCombinesWithOR_HL_SETC_ORI() then return left OR right; end; return left AND right;end;// PTO-INSTRUCTION: {"assembly":["hl.setc.ori SrcL, simm"],"block":[],"catalog_indices":[266],"catalog_records":[{"asm":"hl.setc.ori SrcL, simm","constraints":[],"encoding":[{"index":0,"mask":"0x0000707f000f","match":"0x00003075000e","width_bits":48}],"encoding_kind":"HL48","fields":[{"name":"SrcL","pieces":[{"instruction_lsb":31,"value_lsb":0,"width":5}],"signedness":"encoding-defined","width":5},{"name":"shamt","pieces":[{"instruction_lsb":23,"value_lsb":0,"width":5}],"signedness":"encoding-defined","width":5},{"name":"simm24","pieces":[{"instruction_lsb":36,"value_lsb":0,"width":12},{"instruction_lsb":4,"value_lsb":12,"width":12}],"signedness":"signed","width":24}],"form_id":"hl_setc_ori_48_137bce8aeb04","length_bits":48,"mnemonic":"HL.SETC.ORI","semantic_family":"BRU","semantic_group":"BRU","semantic_handler":"ExecuteSetCommitLogical","semantic_summary":"HL.SETC.ORI - Combine scalar comparison results 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":["hl.setc.ori SrcL, simm"],"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":["hl.setc.ori SrcL, simm"],"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.","shamt":"Encoded zero performs no shift.","simm24":"Encoded zero supplies numeric zero for the 24-bit signed immediate or displacement."},"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":"shamt","role":"shift amount"},{"field":"simm24","role":"24-bit signed immediate or displacement"}],"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 HL.SETC.ORI'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-HL-SETC-ORI","mnemonic":"HL.SETC.ORI","summary":"HL.SETC.ORI - Combine scalar comparison results 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-HL-SETC-ORI-CONDITIONAL-SETTER-001// ndf: kind=contract level=L1 layer=scalar status=accepted// HL.SETC.ORI 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-HL-SETC-ORI-CONDITIONAL-SETTER-001// DOC-BEGIN: decodereadonly func InstructionContractOperation_HL_SETC_ORI() => ScalarOperationbegin return ScalarOperation_HL_SETC_ORI;end;// DOC-END: decode// DOC-BEGIN: operationreadonly func InstructionContractHandler_HL_SETC_ORI() => ScalarSemanticHandlerbegin return ScalarHandler_ExecuteSetCommitLogical;end;
pure func InstructionContractCombinesWithOR_HL_SETC_ORI() => booleanbegin return TRUE;end;
pure func InstructionContractCommitLogicalValue_HL_SETC_ORI( left: Word, right: Word) => Wordbegin if InstructionContractCombinesWithOR_HL_SETC_ORI() then return left OR right; end; return left AND right;end;// DOC-END: operation
HL.SETC.ORI derives a bitwise-OR condition and publishes it as the current Conditional bundle commit decision.
After placement and single-setter checks, the instruction snapshots its operands and applies bitwise OR.
The decoded immediate is logically shifted left by shamt before the condition is evaluated.
Zero selects a false commit condition; any nonzero combined value selects true.
SrcL supplies the left scalar source.shamt supplies the encoded shift amount.simm24 supplies a signed encoded immediate.The canonical condition is written atomically to _CommitArgument and BARG.TAKEN, and the condition-set marker becomes true.
On success, HL.SETC.ORI advances TPC by 6 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.
hl.setc.ori SrcL, simm 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.
HL.SETC.ORI 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-HL-SETC-ORI-CONDITIONAL-SETTER-001asl/scalar/bru/HL.SETC.ORI.aslf2b1f907cd09103c8fcec7b4e6270f8ab75787a34d32b4466bd7cdabe050bd85c51c250b5df7fc6c2aa6606f4d2cdd6a5540f8ba6fd91fa11db4231da7de537511 matching entries
PTO-AVS-BRU-HL-SETC-ORI-BOUND-001tests/asl/scalar/bru/HL.SETC.ORI/scalar-bound-hl-setc-ori-fields-001.aslbb1b3d63d0a4ad6dc4e8021a348372707f5d7a0d5f424bdb5191fbf916e8e29fPTO-AVS-BRU-HL-SETC-ORI-EXEC-001tests/asl/scalar/bru/HL.SETC.ORI/scalar-exec-hl-setc-ori-direct-001.asl96aae5bb0c5f4884df10bf7668858ecf50a59ee0becb114cfab8ff2f3a196f7dPTO-AVS-SCALAR-HL-SETC-ORI-DECODE-001tests/asl/scalar/bru/HL.SETC.ORI/scalar-decode-hl-setc-ori-canonical-001.asl4b33afc0423252e8922bf679bb0bfde1b327e25c174d1adb5a5af22bc0c10d65PTO-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/HL.SETC.ORI.md",
"id": "PTO-SCALAR-HL-SETC-ORI",
"instruction_contract": {
"artifact": "spec/evidence/instruction-contract-closure.json",
"mnemonic": "HL.SETC.ORI",
"ndf_clause": "PTO-INST-SCALAR-HL-SETC-ORI"
},
"mnemonic": "HL.SETC.ORI",
"readiness_subjects": [
"ADR-0027",
"ADR-0059",
"ADR-0084"
],
"semantic_tests": [
"PTO-AVS-BRU-HL-SETC-ORI-BOUND-001",
"PTO-AVS-BRU-HL-SETC-ORI-EXEC-001"
],
"source": "asl/scalar/bru/HL.SETC.ORI.asl",
"surface": "scalar",
"tests": [
"PTO-AVS-BRU-HL-SETC-ORI-BOUND-001",
"PTO-AVS-BRU-HL-SETC-ORI-EXEC-001",
"PTO-AVS-SCALAR-HL-SETC-ORI-DECODE-001"
]
}0.58.5 · Release candidate7dc8b7e5b121d2b2499a2273bebff29e2cd86812f2b1f907cd09103c8fcec7b4e6270f8ab75787a34d32b4466bd7cdabe050bd85892e3c3072d8891c39f7f774e38c59c598fbe6132b2fedae3348d290410985a3asl/scalar/bru/HL.SETC.ORI.aslasl/scalar/bru/HL.SETC.ORI.aslasl/scalar/bru/HL.SETC.ORI.asl