| CPC G06F 21/556 (2013.01) [G06F 9/30047 (2013.01); G06F 9/3858 (2023.08); G06F 21/54 (2013.01); G06F 21/552 (2013.01); G06F 21/79 (2013.01)] | 20 Claims |

|
1. A processor comprising:
an instruction cache;
a fetch unit to fetch instructions and store a set of fetched instructions in the instruction cache, wherein the set of fetched instructions includes a plurality of cache flush instructions, wherein each of the plurality of cache flush instructions, if executed by the processor, is configured to flush at least one cache line from the at least one cache associated with the processor;
a microcode read-only memory (ROM) to store micro-instructions, including a first set of micro-instructions for performing the cache flush instruction;
a microcode patch random-access memory (RAM) to supply a second set of micro-instructions corresponding to a cache write back instruction;
a decoding unit to receive the second set of micro-instructions from the microcode patch RAM, instead of the first set of micro-instructions from the microcode ROM, even when an incoming instruction received by the instruction cache comprises the cache flush instruction; and
an execution unit to execute the second set of micro-instructions corresponding to the cache write back instruction, resulting in an automatic mapping of the plurality of cache flush instructions into a respective cache write back instruction.
|