Method for scheduling a flag generating instruction and a subsequent instruction by executing the flag generating instruction in a microprocessor
First Claim
1. A method, performed by a microprocessor, for executing a flag generating instruction, the method comprising:
- (a) translating the flag generating instruction into at least a first instruction and a second instruction;
(b) the first instruction generating intermediate flag generation data upon execution of the first instruction; and
(c) the second instruction, utilizing the intermediate flag generation data, generating a plurality of flags upon execution of the second instruction.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for scheduling a flag generating instruction and a subsequent instruction. The subsequent instruction has a data dependency on the flag generating instruction. The flag generating instruction is translated into first and second instructions. The subsequent instruction is translated into at least a third instruction. The first instruction, when executed, generates a result and intermediate flag generation data. The second instruction, when executed, generates a plurality of flags. The first instruction is scheduled to execute before the second and third instructions. The second instruction is scheduled to execute before the third instruction if the third instruction has a data dependency on the second instruction, otherwise the third instruction may be scheduled to execute before the second instruction.
27 Citations
19 Claims
-
1. A method, performed by a microprocessor, for executing a flag generating instruction, the method comprising:
-
(a) translating the flag generating instruction into at least a first instruction and a second instruction; (b) the first instruction generating intermediate flag generation data upon execution of the first instruction; and (c) the second instruction, utilizing the intermediate flag generation data, generating a plurality of flags upon execution of the second instruction. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method, performed by a microprocessor, for scheduling a flag generating instruction and a subsequent instruction, the subsequent instruction having a data dependency on the flag generating instruction, the method comprising:
-
(a) translating the flag generating instruction into a first instruction and a second instruction, the first instruction, when executed, generating intermediate flag generation data, the second instruction, when executed, utilizing the intermediate flag generation data, generating a plurality of flags; (b) translating the subsequent instruction into at least a third instruction; (c) scheduling the first instruction to execute before the second and third instructions; and (d) scheduling the second instruction to execute before the third instruction if the third instruction has a data dependency on the second instruction. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A method, performed by a microprocessor, for scheduling a flag generating instruction and a subsequent instruction, the subsequent instruction having a data dependency on the flag generating instruction, the method comprising:
-
(a) translating the flag generating instruction into a first instruction and a second instruction, the first instruction, when executed, generating intermediate flag generation data, the second instruction, when executed, utilizing the intermediate flag generation data, generating a plurality of flags; (b) translating the subsequent instruction into at least a third instruction; (c) scheduling the first instruction to execute before the second and third instructions; (d) scheduling the second instruction to execute before the third instruction if the third instruction has a data dependency on the second instruction; and (e) otherwise, scheduling the third instruction to execute before the second instruction. - View Dependent Claims (15, 16, 17, 18, 19)
-
Specification