Performing Local Power Gating In A Processor
In an embodiment, the present invention includes an execution unit to execute instructions of a first type, a local power gate circuit coupled to the execution unit to power gate the execution unit while a second execution unit is to execute instructions of a second type, and a controller coupled to the local power gate circuit to cause it to power gate the execution unit when an instruction stream does not include the first type of instructions. Other embodiments are described and claimed.
This application is a continuation of U.S. patent application Ser. No. 15/647,355, filed Jul. 12, 2017, which is a continuation of U.S. patent application Ser. No. 14/960,887, filed Dec. 7, 2015, now U.S. Pat. No. 9,772,674, issued Sep. 26, 2017, which is a continuation of U.S. patent application Ser. No. 13/534,601, filed Jun. 27, 2012, now U.S. Pat. No. 9,229,524, issued Jan. 5, 2016, the content of which is hereby incorporated by reference.
BACKGROUNDTo aid in power management of an integrated circuit (IC) such as a multicore processor, the IC may include one or more gated cores for which power may be selectively applied and disrupted, referred to as power gating. Conventionally, power gating is used to intermittently disable or deactivate an entire core to conserve power when circuitry of the gated core is not needed. This may be referred to as placing the gated core in a sleep mode or state. However, such power saving measures are conservative and as a result power consumption of the processor, particularly as a result of leakage current losses, is still higher than optimal.
In various embodiments, dynamic local power gating (LPG) allows shutting the power for one or more specific domains inside a core of a processor while the core is running. More specifically, embodiments may enable power to certain domains of a core to be turned on and off dynamically based on usage. Embodiments may also perform this power control such that there is minimal or no effect on normal execution or performance of the core, as well as its correctness (e.g., by not introducing deadlock scenarios).
Local power gating may occur due to typical scenarios in which certain regions of the core are unutilized based on software needs. For example, a 2D engine is not used in a general processing on a graphics processing unit (GPGPU) scenario. In addition, certain processor hardware is added for high performance scenarios, while some software may not utilize that hardware. One example of this situation is one or more vector execution units that operate on vector-sized data (e.g., a vector width datum including a plurality of individual data elements).
Embodiments thus enable local power gating to take advantage of the inefficiencies of underutilized hardware to save leakage power, and either lower power consumption or provide additional headroom for a turbo frequency of operation.
Local power gating saves the leakage power of unutilized core areas by separating the power plane of different areas and logic of the core. As will be described, a local power gate can be implemented via a switch or other circuit controlled by a control logic to turn the power on and off. Thus power can be delivered by routing it to a portion of the processor's logic through a transistor or other switch (referred to herein as an embedded power gate (EPG)). This transistor, when disabled, saves the leakage of the gated logic. Embodiments may enable a gradual turn on, which may take several cycles, to avoid charge sharing and power noise injection to the functioning core. Then on power down, outputs are floating and can be gated/isolated to avoid impact on the rest of the functioning core. Furthermore, the voltage drop on the EPG may be compensated by raising the core voltage when EPGs that provide power to at least certain units of the core are on. In some situations dropping the voltage to a domain loses the data held in state saving circuits. Depending on the logic, this issue can be resolved by using reset and save/restore procedures.
In various embodiments, local power gate circuitry coupled between a voltage distribution network and a portion or domain of a semiconductor die such as a processor can be controlled to correctly achieve minimal over-voltage and therefore minimize overall power consumption when such domains are not active.
Referring now to
As seen in
In addition to EPG 30, an additional power gate, referred herein as a local power gate circuit (LPG) 40 is also present. As seen, this separate local power gate circuit may similarly receive the incoming regulated supply voltage Vcc_ungated.
Core 800 of
Each of first and second power gate circuits 30 and 40 may be implemented as one or more switching devices such as a metal oxide semiconductor field effect transistor (MOSFET) (e.g., transistor M1 shown in power gate circuit 30). In one implementation, the MOSFETs may be P-channel MOSFETs (PMOS) although other implementations may use N-channel MOSFETs (NMOS) or other such switching devices. For the circuit shown in
Referring now to
As seen in
A remaining portion of the main core circuitry 50 may similarly receive supply voltage when an active EPG cnt control signal is provided to power gate circuit 30.
Because locally gated core circuitry 55 may be routinely disabled, cross signals communicated between this portion of a core and a remainder of the core circuitry could be affected by noise or other deleterious effects of floating voltages on such cross signals when the circuit is disabled. In turn, such floating values could also cause a rush through current. To illustrate this potential concern, an inverter 52 within main core circuitry 50 is shown. This circuit could be affected by a rush-though current due to such a floating voltage. Accordingly, embodiments may provide an isolation logic 90 to logically isolate circuit 55 from the remainder of main core circuitry 50 when it is not enabled. To this end, each individual cross signal (communicated in either direction) may traverse logic circuitry such as a logic circuit 92 of isolation logic 90 that thus forces a known value of the signal provided to one or the other of circuit 55 and the remainder of main core circuitry 50. Note that this isolation logic can be AND or OR type, depending on the required isolation value. In an embodiment, isolation logic 90 is powered by EPG 30. Although shown at this high level in the embodiment of
Embodiments may include detection logic to detect upcoming usage of gated logic. Since power up takes time, embodiments may detect this usage as early as possible to prevent performance loss (which would typically involve stalling the machine until the unit is ready). In some embodiments this can be done at an early detection stage, or may be done speculatively by a predictor.
Embodiments may further include decision logic to control the policy of entering into a local power save state. In various embodiments this logic can be implemented by a timer with a watchdog or a task-based predictor. In addition, a finite state machine (FSM) logic may define and control state transitions (power on/off, etc.) and notify the power monitors that power is saved.
For purposes of illustration herein, a power domain to be controlled to be selectively enabled or disabled based on usage may be a VPU. However understand that various domains can be power gated via a local power gate. In an embodiment a VPU may include floating point execution units (two 128 bit ports) and the register file, and thus may contribute to a large portion of core leakage. As such, embodiments may contribute to substantial total core power saving with minimal performance loss.
In an embodiment, multiple LPG power states can be defined. In one embodiment, a first state, referred to as a LP0 or normal operation, is a state in which the EPG is on; a second state, referred to as a LC3, is a state in which the gated circuit is at a retention voltage. In this case, the gated circuit interface is isolated and all data is isolated (both inputs and outputs). Finally a third state, referred to as a LC6, is a state in which the gated circuit is fully power gated. In this case the interface is isolated and the local gated circuit power is off. To realize this state, a reset and save/restore of the registers may occur.
The motivation for providing an LC3 state is to provide power saving with little penalty for applications with high VPU code usage. As an example, the LC3 power up penalty may be as low as 3.2 nanoseconds (ns) (˜16 cycles at 5 GHz) while for the LC6 save and restore, the penalty can be hundreds of cycles. Note that in other implementations, by not applying local power gating to the register file, a LC3 state can be avoided, thus saving on design complexity. In some embodiments LC3 saves 70% of the gated circuit leakage when the core is at normal voltage.
In various embodiments, detection can be done during instruction decoding. As an example, a dedicated decoder may detect VPU instructions or memory instructions using a VPU register. When detected, the decoder can signal the LPG controller, which turns the power on and unlocks isolation between this gated circuitry and a remainder of the core circuitry. In some embodiments, the controller will stall the machine if the instruction passes the instruction queue and the VPU is not yet powered up. When exiting the LC6 state, the controller may also reset the logic and send an interrupt to an agent that in turn restores the contents of the VPU registers. In an embodiment, this agent may be low level system software or firmware (such as code morphing software (CMS)). Note however that the ability to take interrupts and save/restore register state could be part of any low level software. For a simple form of LPG which only uses a hardware timer to enter low power states, and which powers back up on demand, such low level software can service these interrupts. In some embodiments, providing a DBT allows a more sophisticated mechanism for learning and predicting when a given resource can be power gated in an eager manner with maximum efficiency. Note that an alternative detection method may be a power on hint provided by CMS. The hint can be provided early enough so exiting the save state will not stall the machine.
The detection logic may also identify when the pipeline is free of VPU instructions. Unlike most instructions that complete after a known number of cycles, a memory instruction may have unpredictable latency. In case of load of a VPU register with a cache miss, the memory logic (such as a miss tracker in the memory ordering system) may continue to keep signaling the LPG controller that a VPU load is in process to avoid turning off the logic before the load completes and writes to the register.
Referring now to
As further seen in
As further seen, a miss tracker 120 is also present. This tracker may maintain track of pending memory operations that implicate vector data and which are in flight (that is, a memory request has not yet been fulfilled). The presence of entries in this tracker may similarly cause an indication signal to be sent to LPG controller 130 to similarly cause timer 135 to be reset and may be released from reset only when the miss tracker is cleared. While shown with these specific detection logics, understand the scope of the present invention is not limited in this regard.
Still referring to
Decision logic of the LPG controller may be implemented in alternate algorithms. For example, a pure hardware approach or a hardware/software co-design approach could be used. In an embodiment, the pure hardware approach contains a timer and a watchdog 132 as just described. The timer counts down when no VPU instructions are in the pipeline and is reset to its initial value if a VPU instruction is in the pipeline. When the timer expires, the LPG can transient to a save state. In an embodiment there can be two controls: one for LC3 and one for LC6, each with different timer values and actions. The watchdog role is to adjust the timer value to limit performance loss on the one hand while gaining more power on the other. In an embodiment, parameters to be considered may include a maximum allowable performance loss and watchdog responsiveness (via an averaging interval).
In an embodiment the watchdog algorithm may be implemented as follows. After a predetermined interval, the performance loss can be calculated. If the loss is higher than a threshold level, the timer value can be adjusted, e.g., doubled. If instead this loss is lower than the threshold value, the timer value can be adjusted in the other direction, e.g., halved. Also in an embodiment, there can be maximum and minimum possible timer values to prevent over and under shoot.
In an embodiment the LPG controller may be configured to ensure entry into the LC0 state on reset, entering and exiting LC3/6 according to the detection and decision policy. In an embodiment, various state changes and interactions can be taken into account, as set forth in Table 1:
Table 1
Table 1 thus shows, in a first row a present state of a given functional unit, and the corresponding actions to be taken upon transition to a different power state (shown in the second to fifth row of Table 1). In an embodiment, note that the local power states LC0, LC3 and LC6 may generally correspond to and have the same operational characteristics of the core power states of an Advanced Configuration and Power Interface (ACPI) specification such as the Advanced Configuration and Power Interface Specification, revision 3.0b, Oct. 10, 2006. That is, the LC0 state may generally correspond to the state of C0, while the LC3 state may generally correspond to the C3 state, and the LC6 state may generally correspond to the C6 state, in an embodiment.
In another embodiment, core leakage power can be reduced by gating a VPU for mainstream workloads that do not use, e.g., 256b vector instructions. In an embodiment, the power gating can be done dynamically and automatically. Power will be initially off until a gated unit is needed for execution. As an example, power to a gated unit will be turned on when a 256b instruction is detected (e.g., at allocation), or when a dedicated power-up instruction (which may be a micro-operation (μop)) is fetched as part of a microcode flow. Again, power is turned off when there is no 256b instruction in the pipeline and there are no values to be maintained in the register file (e.g., all vector bits are zero). In some embodiments, control logic may provide for hysteresis on power-down to prevent frequent power-up/down cases.
In some embodiments, a dedicated μop may be provided to allow microcode to conditionally request a power-gate event inside long flows. In an embodiment, detector logic can detect three conditions to be present before turning the power off. First, no pop/instruction is present in the pipeline that uses a gated unit. Note that an out-of-order core may speculatively have many instructions in the pipeline, waiting for execution or being replayed, which can be detected via detection logic. Second, all register file vector bits (power gated bits) are known to be zero in an embodiment that does not include a save/restore mechanism and to maximize power saving by powering off the register file only when the power gated bits are all zero. This happens for workloads that do not use vector instructions, or for kernels that zero the state (e.g., using a VZEROUPPER instruction). When all gated register bits are zero, logic can be used to force a zero on read of any value. Third, a hysteresis timer may have elapsed to prevent frequent on/off scenarios to avoid an excessive turn-on timeout. Furthermore, different units may be power gated separately, for example VPU execution units may be powered off, while register file remains powered on to maintain values.
Turn-on logic can be present to enable gradually turning on power, e.g., according to multiple stages such as a first stage to turn power on (charge up transistors), which may be a short phase in the magnitude of a few tens of clocks. In this period the core stalls the thread that has the vector instruction, allowing one or more other threads to continue. Once the turn-on time has elapsed, the stall is released and the requesting thread continues. The turn-on logic may further include voltage compensation which can be used, e.g., in heavy floating-point (FP) applications, to adjust the voltage to compensate for IR drop on the power gate. This IR drop occurs in a high current situation and may arise on any FP workload. If such heavy workload is detected, execution can be throttled such that high current will not be drawn while the voltage is adjusted. Once voltage is adjusted (raised), the throttling is removed.
Note that this turn on stage can take several microseconds, during which the core may not be stalled to avoid dead-lock scenarios (as the power control unit is to receive information from various components of the core to enable completion of a voltage increase request). That is, a deadlock could occur if the core is stalled as the power control unit seeks to access core microcode before completing the voltage request.
Referring now to
As seen in
As further seen, LPG controller 275 may further be in communication with 000 logic 270. As seen, when a vector instruction is detected, 000 logic 270 can send a detection signal to in turn cause LPG controller 275 to send a request to a power gate circuitry 265 to power up the vector unit. In addition, OOO logic 270 can send a reset signal to LPG controller 275 which indicates that all vector registers are at a zero state such that LPG controller 275 can cause power gate circuitry 265 to disable the vector unit. Similarly, in a high current situation, LPG controller 275 can communicate a throttle signal to 000 logic 270 to thus throttle execution of one or more execution units. Note that this throttle of execution may not be performed for every turn-on and instead may be applied only based on the scenario (e.g., when a high current workload is detected). Finally as seen also in
As described above, utilization of different resources within the core varies over time. The functionality provided by a given resource may not be exploited by all software, and thus the resource can be subjected to being frequently unused, yet still drawing leakage power. Even when executing resource-aware software, the usage pattern is often sporadic, leaving the resource idle for large amounts of time.
Control schemes for LPG may encounter some difficulty due to the physics of power gating itself. That is, there is a defined latency between initiating a power-off and actually realizing the energy savings. There is likewise latency between initiating a power-on and the resource being ready for use (possibly stalling the pipeline and saving/restoring register context). Together these represent a switching cost. This cost defines the minimum amount of time for which the resource is to be unused in order to minimize the performance impact of stalls. These stalls can vary in length depending on the level of LPG applied, from tens to hundreds of cycles or more.
A hardware-only LPG scheme cannot know when software intends to use a resource. Hardware can decide to power gate the resource, but it will be forced to stall when an instruction that uses the resource is present in a front end unit. In this way the hardware exhibits reactive, rather than just-in-time behavior.
Hardware solutions can aim to minimize performance impact using a counter. For example, if powering off/on the VPU takes 100 cycles to go between LC6 (the lowest power level) and LC0 (fully powered-on), it can be guaranteed that any region of execution that does not use the VPU for 20,000 cycles can be forced to LC6 with less than 1% performance penalty (200 cycles for LC6 to LC0 and back). The scheme can thus count non-VPU instructions and initiate LC6 when the counter reaches 20,000. This scheme can miss many opportunities for gating when non-VPU windows of execution are 20,000 cycles or less. If all windows happen to be exactly 20,000 cycles, the scheme will always pay the 200 cycle stalling cost and save no power at all. Windows larger than 20,000 will save power only after the first 20,000 cycles.
The same situation occurs with finer-grained windows of non-VPU usage and less aggressive LPG modes. LC3, for example, may save less power than LC6 but only incur a 16 cycle stall to return to LC0. LC3 retains register bank state, and therefore consumes much less switching time. A VPU-heavy workload which has only small non-VPU regions will suffer in the same way with a counter-based LC3 scheme.
In various embodiments, the power savings of LPG can be balanced against the power cost of its controlling scheme. Aggressive use of LPG can save additional power over that offered by a hardware only scheme. To realize this aggressive LPG control, embodiments may provide a non-VPU oracle to control gating whilst minimizing stall cycles.
Embodiments can be applied to any dynamic binary translation (DBT) system, such as a hardware/software co-designed processor. In such a processor, software is executed by translating it at the basic-block level into code of a native instruction set. This translation is performed by a software layer, which executes on the core itself. The software layer is therefore a dynamic binary translator. An analogous situation is that of a Java just-in-time compiler, which translates Java bytecode into native binary code understood by the underlying machine.
In such embodiments, the binary translator can perform predictions and instruct hardware when to enter and exit LPG states. One embodiment of this prediction is by means of event tracker hardware, which serves as the example for this discussion. Another embodiment is by means of static and/or dynamic analysis of the program to determine regions of code that do not require a given resource.
Some embodiments can be implemented in a hardware/software co-design processor that provides for optimization of received code for the processor and can leverage knowledge of the units used in execution of such code to permit aggressive local power gating in accordance with an embodiment of the present invention. Referring now to
In a visible portion of memory 320, namely a first portion 330, one or more operating systems 335 and application programs 338 may be stored. This portion is termed “visible” as it can be visible to user-level code (i.e., the application program 338) and visible to the OS (both OS 535 and program 338). Depending on the type of instructions to be executed in these programs, communication may be directly with processor 305, e.g., by way of using instruction decoders present in the processor to handle such instructions.
Alternately, for various code sequences that can be optimized using translated code or for such sequences in which micro-architecture support is not provided, embodiments may use a concealed portion of the memory, namely a second portion 340, in order to provide translated code to processor 305. Specifically, as seen, both OS 335 and application program 338 may communicate with an emulation engine 345 (also referred to herein as a dynamic binary translator (DBT)), which may include a runtime execution unit including interpretation, translation and optimization mechanisms and thus can be the engine for binary translator software. Note that concealed memory 340 is not visible or accessible to the OS or application programs. Dynamic binary translator 345 may thus provide code and address information to a translation cache 348, which may include translated code that can be provided to processor 305 for execution. In one embodiment, code stored in translation cache 348 may be encrypted. This translated code may be written and optimized for the underlying micro-architecture of the processor, e.g., target ISA code.
As further seen in
The translated code created by the binary translator corresponds to the basic blocks of the source software. Each of these blocks may include one or more translations, which is a unit of a basic block including one or more instructions. In turn, each translation includes a power gate (PG) instruction which (among other duties) notifies hardware as to whether or not the remainder of the translation will use VPU instructions. In an embodiment, a PG instruction may be provided as a first instruction of each translation and can include a predictor or hint field to store a value to indicate whether the DBT anticipates that VPU state may need to be accessed during execution of the translation and a state or control field to include the requested power state for the VPU for the translation (e.g., LC0, LC3, or LC6).
Referring now to
Method 400 continues by determining whether the translation includes any instructions that use the VPU (diamond 415). Note that as described herein, the VPU is an example unit that can be subject to local power gating control. Understand however that the scope of the present invention is not limited in this regard and any of various types of logic can be locally power gated based on current and predicted use.
Still referring to
In either event, control passes to block 435 where a VPU usage history for the process under analysis can be updated. Noted that this VPU usage history can be optional in some embodiments and may be used for purposes of application-based predictions such that behavior of an entire application can be analyzed to determine whether the VPU unit is used some, not at all, or so forth to thus potentially control global behavior of the application, e.g., with the VPU enabled or disabled.
As seen, control next passes to diamond 440 where it can be determined whether the translation rarely uses the VPU. Although the scope of the present invention is not limited in this regard, in an embodiment this determination can be based on a threshold usage level. If the usage is not greater than this threshold level, control passes to block 450 where the PG instruction can be set for a deep low power state (e.g., LC6) via setting of a power gate control field of the instruction for this low power state. Otherwise control passes to block 455 where a method can wait for a next translation request. As such, a default setting of LC0 may occur.
As control is transferred between translations, hardware analyzes a sequence of these PG instructions. Whenever the prediction field differs between a translation and its predecessor, there is a flip between modes. The event tracker hardware records the address of the PG instruction that begins or ends a non-VPU region and a timestamp. When execution switches back from non-VPU to VPU mode, the event tracker records the length of the non-VPU window by subtracting the starting timestamp value from the current value. If the window size is above a window size threshold, which may be a DBT-directed threshold, the translation is considered to be a candidate for LPG, referred to herein as a success. If this window size is less than the given threshold, the translation is not considered to be a candidate for LPG, and is referred to herein as a failure. Either way, the PG address is added to a content addressable memory (CAM) array within the event tracker, together with its success/failure count. If the address already has an entry within the array, the success or failure counts within that entry are incremented as appropriate.
Referring now to
In an embodiment, the threshold is communicated from DBT to the event tracker CAM hardware via a control register. In some embodiments, the event tracker may contain several CAM arrays, with one for each LPG level. Alternatively a single array may be multiplexed between candidate levels, or a hybrid array could be used.
Periodically, DBT will collect/clear the information within the event tracker arrays (every 300,000 cycles, for example), and accumulate the information within its own internal data structures. The data maintained by DBT can be much larger than that which can fit within the event tracker hardware, and spans a much larger region of time. Thus, DBT can make more accurate decisions than a hardware-only scheme.
After collecting success/failure counts for specific PG addresses (and therefore translations), DBT can determine which translations would yield a benefit if they were to initiate a low-power VPU state. A very simple heuristic could be: any translation whose accumulated success counts within the LC3 array are more than N times the accumulated failure counts is a candidate for promotion to the LC3 power level. It is also possible to use more complex heuristics.
Referring now to
Then a loop can occur for each updated translation (namely those translations having an updated success/failure count). Specifically at diamond 635 it can be determined whether the translation is a candidate for the next LPG level. This determination can be based on the success/failure counts which take into account the most recent time epoch as well as other previous epochs as set forth in the translation history storage. If the translation is a candidate for the next LPG level, control passes to block 640 where the translation PG instruction can be updated, namely to request a next higher LPG level. In an embodiment, this can be implemented by updating the LPG control field of the PG instruction.
Otherwise if the translation is not a candidate for the next LPG level, it can be determined at diamond 645 whether the translation should be demoted to a lower LPG level. If so, control passes to block 650 where the translation PG instruction can be updated to request the next lower LPG level. Control in all cases passes to diamond 660 to determine whether there are more translations with updated statistics. If so, the loop may begin again at block 630. Otherwise, control passes to block 670 where the DBT can wait for the next timer interrupt. Although shown at this high level for the various methods of
Thus once DBT decides to promote a translation to a given power level, it modifies the PG instruction within the translated code so that in addition to hinting (via the prediction field) that the VPU is not required, it also initiates the transition into a low power state (via the requested power state field). When the translation is executed, hardware will honor the request and enter that power state unless it is already in the same or lower power state. After a brief learning period, translations that begin sufficiently large non-VPU intervals of execution can programmatically enter low power states immediately, in contrast to a counter-based scheme.
In other embodiments, the event tracker hardware may also track the last translation within a non-VPU window of execution (in addition to the first). DBT then modifies the PG instruction of the last translation to request that the VPU be powered on. In this way, the execution of the final non-VPU translation of an interval can be overlapped with powering on of the VPU, reducing or eliminating stall cycles when the next VPU instruction is reached.
Sometimes the behavior of software changes over time, and a previous low power recommendation will become inefficient. In this case DBT will begin to see high failure counts for a translation that already recommends a given power level, and can demote it by removing the low-power direction from the requested power state field of the PG instruction. Translations that are promoted or demoted too often can be placed on a blacklist as being unpredictable and not be considered for further LPG, in some embodiments.
A final operand in the PG instruction, which can be implemented as a mask field, can be used to control whether or not a translation should be tracked by the event tracker hardware at all. This operand allows DBT to filter translations that are poor LPG candidates, and thus make space in the event tracker CAM arrays for translations with more potential. This operand can also be used to filter out translations that already include a recommended power level, though in many embodiments DBT can periodically re-enable tracking to verify that its LPG predictions are performing well.
DBT can make more complex predictions based on the accumulated knowledge it gains from the event tracker hardware. Over time it may become apparent that a particular process (e.g., as indicated by the value of the CR3 register) does not use a given resource at all. In this case DBT may invert the LPG logic such that all translations will recommend an aggressive low power state (such as LC6) by default, and instead only power on the resource when necessary. This mode can be associated with the source process, such that a context switch (CR3 write) back to that process can immediately use the correct LPG policy.
Using an embodiment of the present invention, even a basic software-directed LPG scheme (without the process-specific optimizations) can provide improvement in power savings over a hardware-only scheme.
Embodiments may be implemented in many different system types. Referring now to
Still referring to
Furthermore, chipset 790 includes an interface 792 to couple chipset 790 with a high performance graphics engine 738, by a P-P interconnect 739. In turn, chipset 790 may be coupled to a first bus 716 via an interface 796. As shown in
Embodiments may be implemented in code and may be stored on a non-transitory storage medium having stored thereon instructions which can be used to program a system to perform the instructions. The storage medium may include, but is not limited to, any type of disk including floppy disks, optical disks, solid state drives (SSDs), compact disk read-only memories (CD-ROMs), compact disk rewritables (CD-RWs), and magneto-optical disks, semiconductor devices such as read-only memories (ROMs), random access memories (RAMs) such as dynamic random access memories (DRAMs), static random access memories (SRAMs), erasable programmable read-only memories (EPROMs), flash memories, electrically erasable programmable read-only memories (EEPROMs), magnetic or optical cards, or any other type of media suitable for storing electronic instructions.
While the present invention has been described with respect to a limited number of embodiments, those skilled in the art will appreciate numerous modifications and variations therefrom. It is intended that the appended claims cover all such modifications and variations as fall within the true spirit and scope of this present invention.
Claims
1. (canceled)
2. A system comprising:
- a processor including: a first core comprising: an instruction fetch unit to fetch instructions; a decoder to decode the instructions; a first execution unit to execute at least one of the decoded instructions; and a second execution unit to execute at least one single instruction multiple data (SIMD) operation of at least another one of the decoded instructions; a power controller coupled to the first core, wherein the power controller is to cause: the second execution unit to be provided with a retention voltage in a first low power state when the first core is active and the second execution unit is unutilized; and the second execution unit to be powered off in a second low power state when the second execution unit is unutilized; a second core; and an integrated memory controller; and
- a system memory coupled to the processor.
3. The system of claim 2, further comprising a data storage device.
4. The system of claim 2, further comprising an audio output device.
5. The system of claim 2, further comprising an audio input device.
6. The system of claim 2, wherein the system comprises a smart phone.
7. The system of claim 2, further comprising a switch coupled to the second execution unit to provide a supply voltage to the second execution unit.
8. The system of claim 7, wherein the power controller is to cause the switch to power off the second execution unit in the second low power state when the second execution unit is to be utilized less than a threshold level.
9. The system of claim 7, wherein the power controller is to cause the switch to power off the second execution unit in the second low power state when a pipeline of the processor does not have at least one instruction to execute on the second execution unit.
10. The system of claim 2, wherein the second execution unit comprises a single instruction multiple data (SIMD) processor.
11. The system of claim 10, wherein the second execution unit further comprises a floating point execution unit.
12. The system of claim 2, further comprising a first local power gate circuit coupled to the second execution unit to power gate the second execution unit.
13. The system of claim 12, wherein the first local power gate circuit is to power gate the second execution unit while the first execution unit is to execute one or more instructions.
14. A system comprising:
- means for processing including: first core means comprising: instruction fetch means for fetching instructions; decoder means for decoding the instructions; first execution means for executing at least one of the decoded instructions; and second execution means for executing at least one single instruction multiple data (SIMD) operation of at least another one of the decoded instructions; power control means coupled to the first core means, wherein the power control means is to cause: the second execution means to be provided with a retention voltage in a first low power state when the first core means is active and the second execution means is unutilized; and the second execution means to be powered off in a second low power state when the second execution means is unutilized; second core means; and integrated memory controller means; and
- system memory means coupled to the means for processing.
15. The system of claim 14, further comprising data storage means.
16. The system of claim 14, further comprising audio output means.
17. The system of claim 14, further comprising audio input means.
18. At least one computer readable storage medium comprising instructions that when executed enable a system to:
- provide a second execution unit of a first core of a processor of the system with a retention voltage in a first low power state when the first core is active and the second execution unit is unutilized, the first core comprising an instruction fetch unit to fetch instructions, a decoder to decode the instructions, a first execution unit to execute at least one of the decoded instructions, and the second execution unit to execute at least one single instruction multiple data (SIMD) operation of at least another one of the decoded instructions, the processor further comprising a second core and an integrated memory controller, and the system further comprising a system memory coupled to the processor; and
- power off the second execution unit in a second low power state when the second execution unit is unutilized.
19. The at least one computer readable storage medium of claim 18, further comprising instructions that when executed enable the system to determine whether the second execution unit is to be utilized less than a threshold level.
20. The at least one computer readable storage medium of claim 19, when the second execution unit is to be utilized less than the threshold level, to cause the second execution unit to enter the second low power state.
21. The at least one computer readable storage medium of claim 18, further comprising instructions that when executed enable the system to determine whether a pipeline of the processor does not have at least one instruction to execute on the second execution unit and in response thereto cause the second execution unit to enter the second low power state.
Type: Application
Filed: Dec 21, 2017
Publication Date: May 10, 2018
Inventors: Nadav Bonen (Ofer), Ron Gabor (Hertzliya), Zeev Sperber (Zichron Yackov), Vjekoslav Svilan (Sunnyvale, CA), David N. Mackintosh (Mountain View, CA), Jose A. Baiocchi Paredes (Santa Clara, CA), Naveen Kumar (San Jose, CA), Shantanu Gupta (San Jose, CA)
Application Number: 15/849,838