操作数与参数
SrcL- Reg5 address-base source
model- cache-level hint selector
simm17- signed address displacement
HL.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-HL-PRFI-Uhl.prfi.u{.l1,.l2,.l3} [SrcL, simm]| 字段 | 位宽 | 有符号性 | 架构角色 | 编码零 |
|---|---|---|---|---|
SrcL | 5 | encoding-defined | Reg5 address-base source | Encoded zero reads the architectural zero GPR. |
model | 5 | encoding-defined | cache-level hint selector | Encoded zero selects the non-binding L1 cache hint. |
simm17 | 17 | 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 |
|---|---|---|
| simm17 | 47:36 | variable |
| SrcL | 35:31 | variable |
| Constant | 30:16 | 15'b111000000101001 |
| model | 15:11 | variable |
| simm17 | 10:6 | variable |
| Constant | 5:0 | 6'b001110 |
{
"reg": [
{
"bits": 6,
"name": "6'b001110"
},
{
"bits": 5,
"name": "simm17"
},
{
"bits": 5,
"name": "model"
},
{
"bits": 15,
"name": "15'b111000000101001"
},
{
"bits": 5,
"name": "SrcL"
},
{
"bits": 12,
"name": "simm17"
}
],
"config": {
"bits": 48,
"fontsize": 13,
"hspace": 900,
"lanes": 2,
"offset": 0
}
}hl.prfi.u{.l1,.l2,.l3} [SrcL, simm]
SrcLmodelsimm17下面是该指令所有者中的 Operation;页面没有重写这段行为。
readonly func InstructionContractOperation_HL_PRFI_U() => ScalarOperationbegin return ScalarOperation_HL_PRFI_U;end;readonly func InstructionContractHandler_HL_PRFI_U() => ScalarSemanticHandlerbegin return ScalarHandler_ScalarPrefetch;end;
pure func InstructionContractAGUAction_HL_PRFI_U() => ScalarAGUActionbegin return ScalarAGU_Prefetch;end;
pure func InstructionContractAGUAddressKind_HL_PRFI_U() => ScalarAGUAddressKindbegin return ScalarAGU_Immediate;end;
pure func InstructionContractAGUSizeBytes_HL_PRFI_U() => integer {1,2,4,8}begin return 1;end;
pure func InstructionContractAGUOffsetScale_HL_PRFI_U() => integer {0..3}begin return 0;end;
pure func InstructionContractAGUUpdateMode_HL_PRFI_U() => AddressUpdateModebegin return AddressUpdate_None;end;
pure func InstructionContractAGUSignedLoad_HL_PRFI_U() => booleanbegin return FALSE;end;
pure func InstructionContractAGUPrefetchReturnsAddress_HL_PRFI_U() => booleanbegin return FALSE;end;// PTO-INSTRUCTION: {"assembly":["hl.prfi.u{.l1,.l2,.l3} [SrcL, simm]"],"block":[],"catalog_indices":[230],"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":"hl.prfi.u{.l1,.l2,.l3} [SrcL, simm]","constraints":[{"field":"model","operator":"one-of","values":[0,1,2]}],"encoding":[{"index":0,"mask":"0x00007fff003f","match":"0x00007029000e","width_bits":48}],"encoding_kind":"HL48","fields":[{"name":"SrcL","pieces":[{"instruction_lsb":31,"value_lsb":0,"width":5}],"signedness":"encoding-defined","width":5},{"name":"model","pieces":[{"instruction_lsb":11,"value_lsb":0,"width":5}],"signedness":"encoding-defined","width":5},{"name":"simm17","pieces":[{"instruction_lsb":36,"value_lsb":0,"width":12},{"instruction_lsb":6,"value_lsb":12,"width":5}],"signedness":"signed","width":17}],"form_id":"hl_prfi_u_48_be73891e376e","length_bits":48,"mnemonic":"HL.PRFI.U","semantic_family":"AGU","semantic_group":"LDA","semantic_handler":"ScalarPrefetch","semantic_summary":"HL.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":["hl.prfi.u{.l1,.l2,.l3} [SrcL, simm]"],"defaults":["Every displayed operand field is encoded explicitly; encoded zero is a value and never denotes omission.","model=0 selects L1, model=1 selects L2, and model=2 selects L3; the cache target is a non-binding performance hint."],"encoding_class":"standalone-encoded","examples":["hl.prfi.u{.l1,.l2,.l3} [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":{"SrcL":"Encoded zero reads the architectural zero GPR.","model":"Encoded zero selects the non-binding L1 cache hint.","simm17":"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.","simm17 assigns every signed 17-bit value -65536..65535; the encoded byte displacement is that value multiplied by 1.","model codes 0, 1, and 2 are assigned; codes 3..31 are reserved and raise Fault_IllegalInstruction before any scalar source read or architectural effect."],"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":"SrcL","role":"Reg5 address-base source"},{"field":"model","role":"cache-level hint selector"},{"field":"simm17","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 6 bytes."],"standalone_opcode":true,"state_effects":["Sign-extend simm17, 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 6 bytes; a rejected or faulting attempt does not retire."]},"depends_on":["PTO-BLOCK-MODEL-SCHEMA-PROFILE-ENCODING"],"id":"PTO-SCALAR-HL-PRFI-U","mnemonic":"HL.PRFI.U","summary":"HL.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-HL-PRFI-U-CACHE-MODEL-001// ndf: kind=contract level=L1 layer=scalar status=accepted// HL.PRFI.U MUST assign model 0 to L1, 1 to L2, and 2 to L3.// Model values 3 through 31 MUST reject before scalar source reads or effects.// Legal hints MUST form the encoded address without translation, memory event,// ordering edge, data-access fault, or architecturally guaranteed placement.// The effective address MUST be discarded with no destination effect.// NDF-END: PTO-HL-PRFI-U-CACHE-MODEL-001// DOC-BEGIN: decodereadonly func InstructionContractOperation_HL_PRFI_U() => ScalarOperationbegin return ScalarOperation_HL_PRFI_U;end;// DOC-END: decode// DOC-BEGIN: operationreadonly func InstructionContractHandler_HL_PRFI_U() => ScalarSemanticHandlerbegin return ScalarHandler_ScalarPrefetch;end;
pure func InstructionContractAGUAction_HL_PRFI_U() => ScalarAGUActionbegin return ScalarAGU_Prefetch;end;
pure func InstructionContractAGUAddressKind_HL_PRFI_U() => ScalarAGUAddressKindbegin return ScalarAGU_Immediate;end;
pure func InstructionContractAGUSizeBytes_HL_PRFI_U() => integer {1,2,4,8}begin return 1;end;
pure func InstructionContractAGUOffsetScale_HL_PRFI_U() => integer {0..3}begin return 0;end;
pure func InstructionContractAGUUpdateMode_HL_PRFI_U() => AddressUpdateModebegin return AddressUpdate_None;end;
pure func InstructionContractAGUSignedLoad_HL_PRFI_U() => booleanbegin return FALSE;end;
pure func InstructionContractAGUPrefetchReturnsAddress_HL_PRFI_U() => booleanbegin return FALSE;end;// DOC-END: operation
HL.PRFI.U 是一条独立的 48 位标量 AGU 指令,使用 Immediate 寻址,形成非绑定预取提示,但不执行架构内存访问。
地址路径先对 simm17 做符号扩展并乘以 1,再把位移与快照中的 SrcL 相加,结果按 2^PTO_XLEN 取模。
合法的 model 选择提示层级。该提示不执行地址翻译、权限检查、对齐检查、内存访问、内存事件、保留状态更新或排序边,也不保证缓存放置。
提示形成后丢弃地址,没有结果字段发布该地址。
SrcL 是一个 5 位字段,用来选择地址基址。model 是一个 5 位字段,用来选择预取提示层级。simm17 是一个 17 位字段,用来选择乘以 1 缩放因子之前的有符号位移。所有显式和隐式标量源都会在任何内存或目的位置影响之前完成快照,因此别名读取指令执行前的值。
合法提示不记录架构内存事件,也不改变保留状态。
所有结果或回写发布完成后,HL.PRFI.U 把 TPC 前进 6 字节;被拒绝或发生故障的尝试不会退休。
model 的 0、1 和 2 已分配;3..31 为保留值,并在读取源或发布地址之前选择 Fault_IllegalInstruction。
合法预取提示不执行架构访问,因此不会产生数据访问故障。固定位不匹配或选中的 T/U 源不可用,也会在任何影响之前被拒绝。
下面只说明如何使用本页,不增加指令行为。
hl.prfi.u{.l1,.l2,.l3} [SrcL, simm] 开始,找出已编码的地址字段。正文来自 owning ASL。拖拽或按钮只临时改变当前页面显示顺序。
HL.PRFI.U MUST assign model 0 to L1, 1 to L2, and 2 to L3. Model values 3 through 31 MUST reject before scalar source reads or effects. Legal hints MUST form the encoded address without translation, memory event, ordering edge, data-access fault, or architecturally guaranteed placement. The effective address MUST be discarded with no destination effect.
PTO-HL-PRFI-U-CACHE-MODEL-001asl/scalar/agu/HL.PRFI.U.asl6fe15a6e5827f1a335f1dae7207e0cbd02efee0c377dd00abeeef234983db5d84fe961a3b4e584d0459d7973ecb141664b53c40c84bab8c723ba8972e510d08f13 matching entries
PTO-AVS-AGU-HL-PRFI-U-ALIAS-001tests/asl/scalar/agu/HL.PRFI.U/scalar-exec-hl-prfi-u-registers-001.asl37e6a14f02641ccb7fa39bdde2e45b3aaaea47ff3b856f72e5fa54512fa5c832PTO-AVS-AGU-HL-PRFI-U-BOUND-001tests/asl/scalar/agu/HL.PRFI.U/scalar-bound-hl-prfi-u-address-001.asl2314a04dcb2a8c43d1b8a6ee6552c97fc7043b132ef1fff7a71363e5db3be638PTO-AVS-AGU-HL-PRFI-U-EXEC-001tests/asl/scalar/agu/HL.PRFI.U/scalar-exec-hl-prfi-u-direct-001.asl0e9ee3e5628e2300c4c8bc9f2b64f6563a561080c42dafcdab4930ed0f20b54fPTO-AVS-AGU-HL-PRFI-U-FAULT-001tests/asl/scalar/agu/HL.PRFI.U/scalar-fault-hl-prfi-u-precise-001.asl59a582cd66df8eedf98e4d3c483a8a589d7586c064658c90a09b3de17a907edfPTO-AVS-SCALAR-HL-PRFI-U-DECODE-001tests/asl/scalar/agu/HL.PRFI.U/scalar-decode-hl-prfi-u-canonical-001.aslfdadf44c9645068a0bf928a206edc0d59ca98a58b3f1f6ed7e1eeca77a7f534bPTO-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/HL.PRFI.U.md",
"id": "PTO-SCALAR-HL-PRFI-U",
"instruction_contract": {
"artifact": "spec/evidence/instruction-contract-closure.json",
"mnemonic": "HL.PRFI.U",
"ndf_clause": "PTO-INST-SCALAR-HL-PRFI-U"
},
"mnemonic": "HL.PRFI.U",
"readiness_subjects": [
"ADR-0029",
"ADR-0059",
"ADR-0084"
],
"semantic_tests": [
"PTO-AVS-AGU-HL-PRFI-U-ALIAS-001",
"PTO-AVS-AGU-HL-PRFI-U-BOUND-001",
"PTO-AVS-AGU-HL-PRFI-U-EXEC-001",
"PTO-AVS-AGU-HL-PRFI-U-FAULT-001"
],
"source": "asl/scalar/agu/HL.PRFI.U.asl",
"surface": "scalar",
"tests": [
"PTO-AVS-AGU-HL-PRFI-U-ALIAS-001",
"PTO-AVS-AGU-HL-PRFI-U-BOUND-001",
"PTO-AVS-AGU-HL-PRFI-U-EXEC-001",
"PTO-AVS-AGU-HL-PRFI-U-FAULT-001",
"PTO-AVS-SCALAR-HL-PRFI-U-DECODE-001"
]
}0.58.5 · 候选发布7dc8b7e5b121d2b2499a2273bebff29e2cd868126fe15a6e5827f1a335f1dae7207e0cbd02efee0c377dd00abeeef234983db5d8ec513880727193e15f89bf4a868350e68dba97c0d79f66c3cb2eb83d930c7d57asl/scalar/agu/HL.PRFI.U.aslasl/scalar/agu/HL.PRFI.U.aslasl/scalar/agu/HL.PRFI.U.asl