PTO-SCALAR-MODEL-TYPES-OPERANDS
PTO-SCALAR-MODEL-TYPES-OPERANDSASL pseudocode
The complete ASL owner is shown directly below.
// PTO-UNIT: {"id":"PTO-SCALAR-MODEL-TYPES-OPERANDS","surface":"scalar","classification":["model","types","operands"],"depends_on":["PTO-SCALAR-MODEL-TYPES-OPERATIONS","PTO-ARCH-PROGRAMMING-MODEL-SCALAR-REGISTERS"]}// PTO-REQ-SCALAR-OPERAND-001: one-level Reg5 source and destination behavior.
// Reg5 codes 0..23 select absolute GPRs. Codes 24..27 select T#1..T#4// and codes 28..31 select U#1..U#4. Queue index zero is the newest value.readonly func ScalarSourceSelectorLegal(selector: Reg5Selector) => booleanbegin if selector < PTO_ABSOLUTE_GPR_COUNT then return TRUE; elsif selector < 28 then return TemporaryQueueSourceAvailable( TRUE, (selector - 24) as TemporaryQueueIndex); else return TemporaryQueueSourceAvailable( FALSE, (selector - 28) as TemporaryQueueIndex); end;end;
readonly func ScalarDestinationSelectorLegal(selector: Reg5Selector) => booleanbegin return TRUE;end;
readonly func ScalarImplicitSourceOperandsLegal( operation: ScalarOperation) => booleanbegin case operation of when ScalarOperation_C_SDI, ScalarOperation_C_SLLI, ScalarOperation_C_SRLI => return TemporaryQueueSourceAvailable(TRUE, 0); when ScalarOperation_C_SWI => return TemporaryQueueSourceAvailable(TRUE, 0); otherwise => return TRUE; end;end;
readonly func ReadScalarRegisterOperand(selector: Reg5Selector) => Wordbegin if selector < PTO_ABSOLUTE_GPR_COUNT then return ReadGPR(selector as GPRIndex); elsif selector < 28 then return ReadTemporaryQueue(TRUE, (selector - 24) as TemporaryQueueIndex); else return ReadTemporaryQueue(FALSE, (selector - 28) as TemporaryQueueIndex); end;end;
// B.IOR uses only absolute GPR selectors. Shared operations apply one encoded// selector to each PE's private register file rather than sharing a value// resolved by the PE that happened to dispatch the block.readonly func ReadPEAbsoluteGPROperand(pe: MemoryAgentId, selector: Reg5Selector) => Wordbegin assert selector < PTO_ABSOLUTE_GPR_COUNT; return ReadPEGPR(pe, selector as GPRIndex);end;
func WriteScalarDestination(selector: Reg5Selector, value: Word)begin if selector < PTO_ABSOLUTE_GPR_COUNT then WriteGPR(selector as GPRIndex, value); elsif selector == 30 then PushTemporaryQueue(FALSE, value); elsif selector == 31 then PushTemporaryQueue(TRUE, value); end; // Destination selectors 24..29 are non-writing encodings. Codes 30 and 31 // are the encoded ->u and ->t queue-push destinations respectively.end;
func WriteCompressedTResult(value: Word)begin PushTemporaryQueue(TRUE, value);end;
Architecture behavior
This internal model unit is documented through its normative ASL/NDF owners and validation evidence; it has no reader-guide migration target.
NDF clauses
Bodies come from owning ASL. Dragging or buttons change only this page-session view order.
No NDF clause is attached to this unit.
Evidence index
6 matching entries
Executable evidence1
PTO-SCALAR-MODEL-TYPES-OPERANDS compiles as an independent normative unit
- surfaceSCALAR
- ownerPTO-SCALAR-MODEL-TYPES-OPERANDS
- categorySTATIC-INVARIANT
- case001
Show exact test source
Sources and references
- Complete stable ID
PTO-AVS-SCALAR-MODEL-TYPES-OPERANDS-STATIC-001- Path
tests/asl/scalar/model/types/operands/scalar-static-operands-contract-001.asl- Kind / role
- static-invariant
- Pass condition
- the complete model and this unit's static invariant compile
- SHA-256
50309ed5f605efa5bf4f2ae949c3378d493d5591a2e7867cf3b3f7c13c1bde6a
Commit-scoped evidence5
spec/evidence/release-traceability-readiness.json · closed
PTO-EVIDENCE-RELEASE-TRACEABILITYSources and references
- Complete stable ID
PTO-EVIDENCE-RELEASE-TRACEABILITY- Path
spec/evidence/release-traceability-readiness.json- Kind / role
- ASL/NDF/documentation/AVS traceability
- SHA-256
c7327021d39dc67ac5564bc55073b3870a397d79ac8d9648284d56e33bc14a3e
spec/evidence/instruction-contract-closure.json · closed
PTO-EVIDENCE-INSTRUCTION-CONTRACT-CLOSURESources and references
- Complete stable ID
PTO-EVIDENCE-INSTRUCTION-CONTRACT-CLOSURE- Path
spec/evidence/instruction-contract-closure.json- Kind / role
- mnemonic and encoding contract closure
- SHA-256
3ef2bb62421c79dff8fa77a1c7983923b523244b8090812883ef81286ca8106a
spec/evidence/architecture-readiness.json · open
PTO-EVIDENCE-ARCHITECTURE-READINESSSources and references
- Complete stable ID
PTO-EVIDENCE-ARCHITECTURE-READINESS- Path
spec/evidence/architecture-readiness.json- Kind / role
- architecture maturity and blockers
- SHA-256
4b0b85199101251bea744e0f3591cc31906909dc80d5ab651c417a936036a004
spec/evidence/release-gate-readiness.json · ready-for-exact-head-verification
PTO-EVIDENCE-RELEASE-GATE-READINESSSources and references
- Complete stable ID
PTO-EVIDENCE-RELEASE-GATE-READINESS- Path
spec/evidence/release-gate-readiness.json- Kind / role
- exact-head gate readiness
- SHA-256
a0f4d2b6920c08981ea55fd8ef820708a40d4feb5402c5150e8e9ab532d84ce0
spec/release-manifest.json · draft
PTO-EVIDENCE-RELEASE-MANIFESTSources and references
- Complete stable ID
PTO-EVIDENCE-RELEASE-MANIFEST- Path
spec/release-manifest.json- Kind / role
- release content and encoding fingerprints
- SHA-256
1a64c109ed7a90351c41e2a418b3c0ebaf8ad975838986d2101385186b85c0d8
Unit metadata
Open 4 generated metadata fields
Open generated traceability record
{
"classification": [
"model",
"types",
"operands"
],
"documentation": "docs/scalar/model/types/operands.md",
"id": "PTO-SCALAR-MODEL-TYPES-OPERANDS",
"mnemonic": null,
"readiness_subjects": [],
"semantic_tests": [],
"source": "asl/scalar/model/types/operands.asl",
"surface": "scalar",
"tests": [
"PTO-AVS-SCALAR-MODEL-TYPES-OPERANDS-STATIC-001"
]
}Sources and release identity
Show commit, paths, hashes, version, and canonical owners
- Release
0.58.5· Release candidate- Commit
7dc8b7e5b121d2b2499a2273bebff29e2cd86812- Original ASL
- asl/scalar/model/types/operands.asl
- ASL SHA-256
f1bfb9a3ea9012c6895705aa0ce14c20eb17976bf0a98b1f31290786bd0c5fcb- Generated documentation
- docs/scalar/model/types/operands.md · embedded in this page
- Documentation SHA-256
dbe5436afc2eecd8c5045770c3b4c9df49a27aae7c1473ab274299e086592fef
Exact owners
- ASL PTO-SCALAR-MODEL-TYPES-OPERANDS
asl/scalar/model/types/operands.asl