FETCHING INSTRUCTIONS OF A LOOP ROUTINE
First Claim
1. A method comprising:
- storing instructions fetched from a program memory in an instruction queue;
determining that an instruction to be decoded defines a beginning of a loop routine;
determining whether the instruction is stored in the instruction queue;
in response to determining that the instruction is stored in the instruction queue;
disabling fetching of instructions from the program memory,fetching instructions of the loop routine from the instruction queue, andstoring the instructions of the loop routine in an instruction register; and
in response to determining that the instruction is not stored in the instruction queue;
fetching the instruction from the program memory,storing the instruction in the instruction queue, andstoring the instruction in the instruction register.
10 Assignments
0 Petitions
Accused Products
Abstract
In one aspect, a processor is configured to store instructions fetched from a program memory in an instruction queue, determine that an instruction to be decoded defines a beginning of a loop routine, and determine whether the instruction is stored in the instruction queue. In response to determining that the instruction is stored in the instruction queue, the processor disables fetching of instructions from the program memory, fetches instructions of the loop routine from the instruction queue, and stores the instructions of the loop routine in an instruction register. In response to determining that the instruction is not stored in the instruction queue, the processor fetches the instruction from the program memory, stores the instruction in the instruction queue, and stores the instruction in the instruction register.
383 Citations
21 Claims
-
1. A method comprising:
-
storing instructions fetched from a program memory in an instruction queue; determining that an instruction to be decoded defines a beginning of a loop routine; determining whether the instruction is stored in the instruction queue; in response to determining that the instruction is stored in the instruction queue; disabling fetching of instructions from the program memory, fetching instructions of the loop routine from the instruction queue, and storing the instructions of the loop routine in an instruction register; and in response to determining that the instruction is not stored in the instruction queue; fetching the instruction from the program memory, storing the instruction in the instruction queue, and storing the instruction in the instruction register. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An apparatus comprising:
-
an instruction queue; an instruction register; and a controller configured to; store instructions fetched from a program memory in the instruction queue; determine that an instruction to be decoded defines a beginning of a loop routine; determine whether the instruction is stored in the instruction queue; in response to determining that the instruction is stored in the instruction queue; disable fetching of instructions from the program memory, fetch instructions of the loop routine from the instruction queue, and store the instructions of the loop routine in the instruction register; and in response to determining that the instruction is not stored in the instruction queue; fetch the instruction from the program memory, store the instruction in the instruction queue, and store the instruction in the instruction register. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A system comprising:
-
a program memory; and a processor configured to; store instructions fetched from the program memory in an instruction queue; determine that an instruction to be decoded defines a beginning of a loop routine; determine whether the instruction is stored in the instruction queue; in response to determining that the instruction is stored in the instruction queue; disable fetching of instructions from the program memory, fetch instructions of the loop routine from the instruction queue, and store the instructions of the loop routine in an instruction register; and in response to determining that the instruction is not stored in the instruction queue; fetch the instruction from the program memory, store the instruction in the instruction queue, and store the instruction in the instruction register. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
Specification