Visible to Intel only — GUID: iga1409765304121
Ixiasoft
Visible to Intel only — GUID: iga1409765304121
Ixiasoft
8.5.50. initda
Instruction | initialize data cache address |
Operation | Initializes the data cache line currently caching address rA + σ(IMM16) |
Assembler Syntax | initda IMM16(rA) |
Example | initda -100(r6) |
Description | If the Nios® II processor implements a direct mapped data cache, initda 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 initd, initda clears the cache line only when the addressed data is currently cached. This process comprises the following steps:
|
Usage | Use initda to skip writing dirty lines back to memory and to flush the cache line only if the addressed memory location is currently in the cache. By contrast, refer to “flushd flush data cache line”, “flushda flush data cache address”, and “initd initialize data cache line” on page 8–55 for other cache-clearing options. Use initda with caution because it does not write back dirty data. For more information on the Nios II data cache, refer to the Cache and Tightly Coupled Memory chapter of the Nios II Software Developer’s Handbook. |
Exceptions | Supervisor-only data address Fast TLB miss (data) Double TLB miss (data) MPU region violation (data) Unimplemented 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 | 0x13 |