Patent ID: 11861367
Assignee: TEXAS INSTRUMENTS INCORPORATED
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A device comprising:
an instruction memory operable to store instructions that includes a first instruction specifying a pre-fetch threshold value;
a fetch unit coupled to the instruction memory operable to receive the instructions, wherein the fetch unit includes storage cells configured as a pre-fetch buffer; and
a set of pipeline stages coupled to the fetch unit, wherein the set of pipeline stages includes a decode unit coupled to an execution unit, and wherein the fetch unit is operable to:
receive the first instruction from the instruction memory;
provide the first instruction to the decode unit;
receive the pre-fetch threshold value from the execution unit;
control a number of the storage cells configured as the pre-fetch buffer based on the pre-fetch threshold value;
prefetch a subset of the instructions from the instruction memory; and
store the subset of the instructions in the pre-fetch buffer.