Visible to Intel only — GUID: iga1409765305213
Ixiasoft
Visible to Intel only — GUID: iga1409765305213
Ixiasoft
8.5.45. flushd
Instruction | flush data cache line |
Operation | Flushes the data cache line associated with address rA + σ(IMM16). |
Assembler Syntax | flushd IMM16(rA) |
Example | flushd -100(r6) |
Description | If the Nios® II processor implements a direct mapped data cache, flushd writes the data cache line that is mapped to the specified address back to memory if the line is dirty, and then clears the data cache line. Unlike flushda, flushd writes the dirty data back to memory even when the addressed data is not currently in the cache. This process comprises the following steps:
|
Usage | Use flushd to write dirty lines back to memory even if the addressed memory location is not in the cache, and then flush the cache line. By contrast, refer to “flushda flush data cache address”, “initd initialize data cache line”, and “initda initialize data cache address” for other cache-clearing options. For more information on data cache, refer to the Cache and Tightly Coupled Memory chapter of the Nios II Software Developer’s Handbook. |
Exceptions | None |
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 | 0x3b |