Operands and parameters
RegDst- ignored encoded alias field
SrcL- Reg5 address-base source
simm12- signed address displacement
PRFI.U snapshots its scalar sources, forms its encoded address, and issues a non-binding 1-byte-granularity prefetch hint with no destination effect.
PTO-SCALAR-PRFI-Uprfi.u [SrcL, simm]| Field | Bits | Signedness | Architectural role | Encoded zero |
|---|---|---|---|---|
RegDst | 5 | encoding-defined | ignored encoded alias field | Encoded zero is the canonical ignored alias value and names no destination. |
SrcL | 5 | encoding-defined | Reg5 address-base source | Encoded zero reads the architectural zero GPR. |
simm12 | 12 | signed | signed address displacement | Encoded zero supplies a zero displacement; it does not denote omission. |
Loading WaveDrom diagram… The encoding table and WaveJSON remain available below.
| Decoded item | Bit range | Value |
|---|---|---|
| simm12 | 31:20 | variable |
| SrcL | 19:15 | variable |
| Constant | 14:12 | 3'b111 |
| RegDst | 11:7 | variable |
| Constant | 6:0 | 7'b0101001 |
{
"reg": [
{
"bits": 7,
"name": "7'b0101001"
},
{
"bits": 5,
"name": "RegDst"
},
{
"bits": 3,
"name": "3'b111"
},
{
"bits": 5,
"name": "SrcL"
},
{
"bits": 12,
"name": "simm12"
}
],
"config": {
"bits": 32,
"fontsize": 13,
"hspace": 900,
"lanes": 1,
"offset": 0
}
}prfi.u [SrcL, simm]
RegDstSrcLsimm12This Operation comes directly from the instruction owner; the page does not rewrite its behavior.
readonly func InstructionContractOperation_PRFI_U() => ScalarOperationbegin return ScalarOperation_PRFI_U;end;readonly func InstructionContractHandler_PRFI_U() => ScalarSemanticHandlerbegin return ScalarHandler_ScalarPrefetch;end;
pure func InstructionContractAGUAction_PRFI_U() => ScalarAGUActionbegin return ScalarAGU_Prefetch;end;
pure func InstructionContractAGUAddressKind_PRFI_U() => ScalarAGUAddressKindbegin return ScalarAGU_Immediate;end;
pure func InstructionContractAGUSizeBytes_PRFI_U() => integer {1,2,4,8}begin return 1;end;
pure func InstructionContractAGUOffsetScale_PRFI_U() => integer {0..3}begin return 0;end;
pure func InstructionContractAGUUpdateMode_PRFI_U() => AddressUpdateModebegin return AddressUpdate_None;end;
pure func InstructionContractAGUSignedLoad_PRFI_U() => booleanbegin return FALSE;end;
pure func InstructionContractAGUPrefetchReturnsAddress_PRFI_U() => booleanbegin return FALSE;end;// PTO-INSTRUCTION: {"assembly":["prfi.u [SrcL, simm]"],"block":[],"catalog_indices":[371],"catalog_records":[{"agu":{"action":"Prefetch","address_kind":"Immediate","offset_scale":0,"prefetch_returns_address":false,"signed_load":false,"size_bytes":1,"update_mode":"None"},"asm":"prfi.u [SrcL, simm]","constraints":[],"encoding":[{"index":0,"mask":"0x0000707f","match":"0x00007029","width_bits":32}],"encoding_kind":"L32","fields":[{"name":"RegDst","pieces":[{"instruction_lsb":7,"value_lsb":0,"width":5}],"signedness":"encoding-defined","width":5},{"name":"SrcL","pieces":[{"instruction_lsb":15,"value_lsb":0,"width":5}],"signedness":"encoding-defined","width":5},{"name":"simm12","pieces":[{"instruction_lsb":20,"value_lsb":0,"width":12}],"signedness":"signed","width":12}],"form_id":"prfi_u_32_167b42882547","length_bits":32,"mnemonic":"PRFI.U","semantic_family":"AGU","semantic_group":"LDA/UNSCALED","semantic_handler":"ScalarPrefetch","semantic_summary":"PRFI.U snapshots its scalar sources, forms its encoded address, and issues a non-binding 1-byte-granularity prefetch hint with no destination effect.","status":"accepted"}],"classification":["agu"],"contract":{"block_composition":["none"],"canonical_assembly":["prfi.u [SrcL, simm]"],"defaults":["Every displayed operand field is encoded explicitly; encoded zero is a value and never denotes omission."],"encoding_class":"standalone-encoded","examples":["prfi.u [SrcL, simm]"],"exceptions":["A fixed-bit mismatch, reserved field value, or unavailable selected T/U source raises Fault_IllegalInstruction before instruction effects.","A legal prefetch model cannot raise a data-access fault. A reserved model rejects before source reads and before optional address publication."],"field_contracts":{},"field_zero_meanings":{"RegDst":"Encoded zero is the canonical ignored alias value and names no destination.","SrcL":"Encoded zero reads the architectural zero GPR.","simm12":"Encoded zero supplies a zero displacement; it does not denote omission."},"legality":["Every encoded Reg5 source uses the complete domain: codes 0..23 select absolute GPRs, codes 24..27 select T#1..T#4, and codes 28..31 select U#1..U#4 without consumption.","Every encoded RegDst value is an assigned non-writing alias. Canonical assembly uses zero and does not expose a destination.","simm12 assigns every signed 12-bit value -2048..2047; the encoded byte displacement is that value multiplied by 1."],"memory_effects":["The 1-byte-granularity hint performs no architectural translation, permission or alignment check, memory access, memory event, reservation update, ordering edge, or cache-placement guarantee."],"operands":[{"field":"RegDst","role":"ignored encoded alias field"},{"field":"SrcL","role":"Reg5 address-base source"},{"field":"simm12","role":"signed address displacement"}],"ordering":["Snapshot all explicit and implicit scalar sources before destination or memory effects; duplicate and source/destination aliases observe pre-instruction values.","For a legal model, form the hint, publish the optional address result, and then advance TPC by 4 bytes."],"standalone_opcode":true,"state_effects":["Sign-extend simm12, multiply it by 1, and add it modulo 2^PTO_XLEN to the SrcL base.","Discard the formed address after issuing the non-binding hint; no encoded field publishes a result.","Successful execution advances TPC by 4 bytes; a rejected or faulting attempt does not retire."]},"depends_on":["PTO-BLOCK-MODEL-SCHEMA-PROFILE-ENCODING"],"id":"PTO-SCALAR-PRFI-U","mnemonic":"PRFI.U","summary":"PRFI.U snapshots its scalar sources, forms its encoded address, and issues a non-binding 1-byte-granularity prefetch hint with no destination effect.","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-PRFI-U-NONFAULTING-HINT-001// ndf: kind=contract level=L1 layer=scalar status=accepted// PRFI.U MUST sign-extend its unscaled 12-bit byte displacement and form one// non-faulting L1 hint address. Every encoded RegDst value is a non-writing// alias, with no translation, memory event, ordering edge, or destination effect.// NDF-END: PTO-PRFI-U-NONFAULTING-HINT-001// DOC-BEGIN: decodereadonly func InstructionContractOperation_PRFI_U() => ScalarOperationbegin return ScalarOperation_PRFI_U;end;// DOC-END: decode// DOC-BEGIN: operationreadonly func InstructionContractHandler_PRFI_U() => ScalarSemanticHandlerbegin return ScalarHandler_ScalarPrefetch;end;
pure func InstructionContractAGUAction_PRFI_U() => ScalarAGUActionbegin return ScalarAGU_Prefetch;end;
pure func InstructionContractAGUAddressKind_PRFI_U() => ScalarAGUAddressKindbegin return ScalarAGU_Immediate;end;
pure func InstructionContractAGUSizeBytes_PRFI_U() => integer {1,2,4,8}begin return 1;end;
pure func InstructionContractAGUOffsetScale_PRFI_U() => integer {0..3}begin return 0;end;
pure func InstructionContractAGUUpdateMode_PRFI_U() => AddressUpdateModebegin return AddressUpdate_None;end;
pure func InstructionContractAGUSignedLoad_PRFI_U() => booleanbegin return FALSE;end;
pure func InstructionContractAGUPrefetchReturnsAddress_PRFI_U() => booleanbegin return FALSE;end;// DOC-END: operation
PRFI.U is a standalone 32-bit AGU instruction that forms a signed-immediate address and issues a non-binding prefetch hint with no destination effect.
PRFI.U sign-extends simm12 from its complete -2048..2047 domain, uses it without scaling, and adds the displacement modulo 2^PTO_XLEN to the snapshotted SrcL base.
The formed address is a non-binding one-byte-granularity prefetch hint; legal execution performs no architectural translation, memory access, memory event, reservation update, ordering edge, or cache-placement guarantee.
No encoded destination publishes the hint address, and the instruction performs no base-register update.
SrcL supplies the base; simm12 supplies the signed displacement. Every encoded Reg5 source among SrcL uses codes 0..23 for GPRs, 24..27 for T#1..T#4, and 28..31 for U#1..U#4 without consumption.RegDst is an ignored alias; every RegDst code is an assigned non-writing alias.simm12 assigns every signed value from -2048 through 2047; encoded zero is a zero displacement, not omission.All explicit and implicit scalar sources are snapshotted before memory or destination effects, so aliases observe pre-instruction values.
A legal hint produces no memory event, reservation change, or destination write and advances TPC by 4 bytes.
A legal prefetch does not perform data alignment, translation, permission, or bounded-memory checks and therefore cannot raise a data-access fault.
A reserved prefetch model rejects before source reads and before any optional address publication.
A fixed-bit mismatch, reserved field value, or unavailable selected T/U source raises Fault_IllegalInstruction before instruction effects.
This example demonstrates the address calculation only; exact behavior remains in the current ASL and instruction contract.
With base 0x100 and signed immediate 2, the formed hint address is 0x102; it is issued only as a non-binding hint and causes no architectural memory or destination effect.
Bodies come from owning ASL. Dragging or buttons change only this page-session view order.
PRFI.U MUST sign-extend its unscaled 12-bit byte displacement and form one non-faulting L1 hint address. Every encoded RegDst value is a non-writing alias, with no translation, memory event, ordering edge, or destination effect.
PTO-PRFI-U-NONFAULTING-HINT-001asl/scalar/agu/PRFI.U.asldb1f30b3b92c819ef8897cba8d68b356d68227a964aa4fe634b9c4a53d2d157a45ddafc8061526c2e40891cc474f544a6da68f3b03e7bbb2f026dba496a26b4613 matching entries
PTO-AVS-AGU-PRFI-U-ALIAS-001tests/asl/scalar/agu/PRFI.U/scalar-exec-prfi-u-registers-001.aslde61c65ddca3c298e0ec00160514b30d36c97886fdbe117ff10d8a2832c039c4PTO-AVS-AGU-PRFI-U-BOUND-001tests/asl/scalar/agu/PRFI.U/scalar-bound-prfi-u-address-001.asl2b769cd6bb7a86c34826886d835c8d566c37c35e5650602520f70e3dedaa4fb1PTO-AVS-AGU-PRFI-U-EXEC-001tests/asl/scalar/agu/PRFI.U/scalar-exec-prfi-u-direct-001.asl328cb7e4736028267a10b7a78f5b64304d7ddc661740b9d220ba970e1d614591PTO-AVS-AGU-PRFI-U-FAULT-001tests/asl/scalar/agu/PRFI.U/scalar-fault-prfi-u-precise-001.asl11c95d752262f8b50f56b0cf7de51856c4802466461884f39c0cfada05b2a9c9PTO-AVS-SCALAR-PRFI-U-DECODE-001tests/asl/scalar/agu/PRFI.U/scalar-decode-prfi-u-canonical-001.asl4c81fffdb7b8ab20951524d6c13dfbbf025dfb82acf008ebdcb2d8eb5556f579PTO-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-0029…
ADR-0029docs/status/decisions/0029-scalar-agu-totality-and-restart.md778e7bc53a5ae6487c051d66d0f84b6d697d6302628716bf5c745166ce982eefLoading 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": [
"agu"
],
"documentation": "docs/scalar/agu/PRFI.U.md",
"id": "PTO-SCALAR-PRFI-U",
"instruction_contract": {
"artifact": "spec/evidence/instruction-contract-closure.json",
"mnemonic": "PRFI.U",
"ndf_clause": "PTO-INST-SCALAR-PRFI-U"
},
"mnemonic": "PRFI.U",
"readiness_subjects": [
"ADR-0029",
"ADR-0059",
"ADR-0084"
],
"semantic_tests": [
"PTO-AVS-AGU-PRFI-U-ALIAS-001",
"PTO-AVS-AGU-PRFI-U-BOUND-001",
"PTO-AVS-AGU-PRFI-U-EXEC-001",
"PTO-AVS-AGU-PRFI-U-FAULT-001"
],
"source": "asl/scalar/agu/PRFI.U.asl",
"surface": "scalar",
"tests": [
"PTO-AVS-AGU-PRFI-U-ALIAS-001",
"PTO-AVS-AGU-PRFI-U-BOUND-001",
"PTO-AVS-AGU-PRFI-U-EXEC-001",
"PTO-AVS-AGU-PRFI-U-FAULT-001",
"PTO-AVS-SCALAR-PRFI-U-DECODE-001"
]
}0.58.5 · Release candidate7dc8b7e5b121d2b2499a2273bebff29e2cd86812db1f30b3b92c819ef8897cba8d68b356d68227a964aa4fe634b9c4a53d2d157abef820be59acf03650712baeaf48a54fbfd48bfa2e3638e986cf175237abf25basl/scalar/agu/PRFI.U.aslasl/scalar/agu/PRFI.U.aslasl/scalar/agu/PRFI.U.asl