Optimization of instruction group execution through hardware resource management policies
First Claim
Patent Images
1. A method implemented in a computing device, the method comprising:
- fetching an instruction of an instruction group for execution by a processor having an associated hardware resource;
applying a first hardware resource management policy to the fetched instruction of the instruction group to produce a first execution context, the first resource management policy being a pessimistic policy that assumes based on at least one of theoretical information or historical information that the given instruction group will execute in a substantially sub-optimal manner such that greater than a preselected level of at least one error will occur during execution of the given instruction group;
receiving a previously selected hardware resource management policy associated with the instruction, the previously selected hardware resource management policy having been selected based on at least one of theoretical information or historical information as being likely to provide a substantially optimum execution of the instruction group when the processor has a predefined execution context;
applying the previously selected hardware resource management policy to the associated hardware resource if a predetermined similarity exists between the first execution context of the processor and the predefined execution context when the hardware resource management policy associated with the instruction was selected; and
selecting one policy of the previously selected hardware resource management policy and the second hardware resource management policy in response to comparing the first and predefined execution contexts.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments include a device and a method. In an embodiment, a method applies a first resource management strategy to a first resource associated with a first processor and executes an instruction block in a first processor. The method also applies a second resource management strategy to a second resource of a similar type as the first resource and executes the instruction block in a second processor. The method further selects a resource management strategy likely to provide a substantially optimum execution of the instruction group from the first resource management strategy and the second resource management strategy.
110 Citations
15 Claims
-
1. A method implemented in a computing device, the method comprising:
-
fetching an instruction of an instruction group for execution by a processor having an associated hardware resource; applying a first hardware resource management policy to the fetched instruction of the instruction group to produce a first execution context, the first resource management policy being a pessimistic policy that assumes based on at least one of theoretical information or historical information that the given instruction group will execute in a substantially sub-optimal manner such that greater than a preselected level of at least one error will occur during execution of the given instruction group; receiving a previously selected hardware resource management policy associated with the instruction, the previously selected hardware resource management policy having been selected based on at least one of theoretical information or historical information as being likely to provide a substantially optimum execution of the instruction group when the processor has a predefined execution context; applying the previously selected hardware resource management policy to the associated hardware resource if a predetermined similarity exists between the first execution context of the processor and the predefined execution context when the hardware resource management policy associated with the instruction was selected; and selecting one policy of the previously selected hardware resource management policy and the second hardware resource management policy in response to comparing the first and predefined execution contexts. - View Dependent Claims (2, 3, 10, 11, 12, 13, 14, 15)
-
-
4. A computing device comprising:
-
means, including an electronic device, for receiving an instruction of an instruction group for execution by a processor having an associated hardware resource; means for applying a first hardware resource management policy to the fetched instruction of the instruction group to produce a first execution context, the first resource management policy being a pessimistic policy that assumes based on at least one of theoretical information or historical information that the given instruction group will execute in a substantially sub-optimal manner such that greater than a preselected level of at least one error will occur during execution of the given instruction group; means for receiving a previously selected hardware resource management policy associated with the instruction, the previously selected hardware resource management policy having been selected based on at least one of theoretical information or historical information as being likely to provide a substantially optimum execution of the instruction group when the processor has a predefined execution context; means for applying the previously selected resource management policy to the associated hardware resource if a predetermined similarity exists between the execution context of the processor and the predefined execution context existing when the selected resource management policy was selected; and means for selecting one policy of the previously selected hardware resource management policy and the second hardware resource management policy in response to comparing the first and predefined execution contexts. - View Dependent Claims (5, 6)
-
-
7. A computer-readable recordable type medium comprising:
-
(a) program instructions operable to perform a process in a computing device, the process comprising; (i) applying an instruction of an instruction group for execution by a processor having an associated hardware resource; (ii) applying a first hardware resource management policy to the fetched instruction of the instruction group to produce a first execution context, the first resource management policy being a pessimistic policy that assumes based on at least one of theoretical information or historical information that the given instruction group will execute in a substantially sub-optimal manner such that greater than a preselected level of at least one error will occur during execution of the given instruction group; (iii) receiving a previously selected hardware resource management policy associated with the instruction, the previously selected hardware resource management policy having been selected based on at least one of theoretical information or historical information as being likely to provide a substantially optimum execution of the instruction group when the processor has a predefined execution context; (iv) comparing the first execution context of the processor and the predefined execution context to determine if a predetermined correlation exists between the first execution context and the predefined execution context; and (v) applying the previously selected resource management policy to the associated hardware resource if the predetermined correlation exists between a present execution context of the processor and the predefined execution context; and (b) a computer-readable recordable type medium bearing the program instructions. - View Dependent Claims (8, 9)
-
Specification