Claims
- 1. In a processor including a plurality of control registers that store flags configured according to various conditions in the processor, an apparatus that controls power consumed by a floating point unit (FPU) in a processor, comprising:
- instruction issue circuitry that controls issuance of a series of processor instructions;
- execution pipeline circuitry coupled to the instruction issue circuitry that indicates the various conditions according to which the flags are configured; and
- serialization logic coupled to the control registers and to the instruction issue circuitry, the serialization logic configuring the flags to indicate that the FPU is not required by a plurality of instructions in the series, wherein when the serialization logic detects an instruction in the series that requires execution of a subsequent instruction that requires the FPU, the serialization logic configures the flags to indicate that the FPU is required, wherein, when the flags are configured to indicate that the FPU is not required, a clock signal to the FPU is disabled by power conservation logic coupled to the instruction issue circuit.
- 2. The apparatus of claim 1, wherein the serialization logic observes an opcode of an instruction issued by the instruction issue circuitry and determines whether the instruction requires the FPU.
- 3. In a processor including a floating point unit (FPU), a method for reducing power consumed by the FPU, comprising the steps of:
- sensing the state of an emulation flag bit in a control register of the processor, an active state of the emulation flag bit indicating that the FPU is required;
- sensing the state of a task switch bit in the control register, an active state of the task switch bit indicating that the processor is switching tasks;
- disabling a clock to the FPU when the emulation flag bit is active; and
- determining when the execution of an instruction that does not require the FPU requires the execution of an instruction that does require the FPU and in response, enabling the clock to the FPU.
- 4. The method of claim 3, further comprising the step of disabling the clock to the FPU when the task switch bit is active.
Parent Case Info
This is a continuation of application Ser. No. 08/579,080, filed Dec. 22, 1995, now U.S. Pat. No. 5,726,921.
US Referenced Citations (5)
Continuations (1)
|
Number |
Date |
Country |
Parent |
579080 |
Dec 1995 |
|