Visible to Intel only — GUID: iga1409765304558
Ixiasoft
Visible to Intel only — GUID: iga1409765304558
Ixiasoft
8.5.49. initd
Instruction | initialize data cache line |
Operation | Initializes the data cache line associated with address rA + σ(IMM16). |
Assembler Syntax | initd IMM16(rA) |
Example | initd 0(r6) |
Description | If the Nios® II processor implements a direct mapped data cache, initd clears the data cache line without checking for (or writing) a dirty data cache line that is mapped to the specified address back to memory. Unlike initda, initd clears the cache line regardless of whether the addressed data is currently cached. This process comprises the following steps:
If the Nios® II processor core does not have a data cache, the initd instruction performs no operation. |
Usage | Use initd after processor reset and before accessing data memory to initialize the processor’s data cache. Use initd with caution because it does not write back dirty data. By contrast, refer to “flushd flush data cache line”, “flushda flush data cache address”, and “initda initialize data cache address” for other cache-clearing options. Intel recommends using initd only when the processor comes out of reset. For more information on data cache, refer to the Cache and Tightly Coupled Memory chapter of the Nios II Software Developer’s Handbook. |
Exceptions | Supervisor-only instruction |
Instruction Type | I |
Instruction Fields | A = Register index of operand rA IMM16 = 16-bit signed immediate value |
Bit Fields | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
A | 0 | IMM16 | |||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
IMM16 | 0x33 |