SYSTEM, APPARATUS AND METHOD FOR PROCESSOR POWER LICENSE CONTROL - Patent application

By employing dynamic power management and pre-granting frequency licenses, the energy efficiency and performance of computing devices are enhanced, addressing the increased power demands and inefficiencies in modern integrated circuits.

JP7553182B2Active Publication Date: 2024-09-18INTEL CORP
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2021556770
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2019-03-28
Filing Date
2020-03-18
Publication Date
2024-09-18
Estimated Expiration
2040-03-18

AI Technical Summary

Technical Problem

The increasing power demands and inefficiencies in computing devices due to advances in semiconductor processing and logic design have led to a critical need for improved energy efficiency and conservation, particularly in integrated circuits used in various computing systems.

Method used

Implementing power management techniques such as dynamic power licensing, configurable thermal design power levels, and pre-granting of frequency licenses to processor cores, allowing for fine-grained control over voltage and performance, thereby reducing the need for higher power levels and minimizing performance overhead.

Benefits of technology

This approach enhances energy efficiency by reducing the number of requests for higher power levels, avoiding performance throttling, and ensuring deterministic execution of workloads, even with high-power consuming instructions, thus improving performance per watt and reducing latency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007553182000004
    Figure 0007553182000004
  • Figure 0007553182000012
    Figure 0007553182000012
  • Figure 0007553182000009
    Figure 0007553182000009
Patent Text Reader

Abstract

In one embodiment, the processor includes a current protection controller that receives instruction width information and instruction type information associated with one or more instructions stored in an instruction queue before execution of the one or more instructions by the execution circuitry, determines a power license level for the core based on the corresponding instruction width information and instruction type information, generates a license request for the core corresponding to the power license level, and communicates the request to a power controller if the one or more instructions are non-speculative and defers communication of the request if at least one of the one or more instructions is speculative. Other embodiments are described and claimed.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present embodiment relates to power management of a processor. [Background technology]

[0002] Advances in semiconductor processing and logic design have allowed an increase in the amount of logic that can reside on an integrated circuit device. As a result, computer system configurations have evolved from a single or multiple integrated circuits in a system to multiple hardware threads, multiple cores, multiple devices, and / or complete systems on individual integrated circuits. In addition, as the density of integrated circuits has increased, the power demands on computing systems (from embedded systems to servers) have also increased. Furthermore, software inefficiencies and hardware demands have also resulted in increased energy consumption of computing devices. In fact, several studies have shown that computing devices consume a significant percentage of the total power supply for a country, such as the United States. As a result, there is a critical need for energy efficiency and conservation associated with integrated circuits. Servers, desktop computers, notebooks, Ultrabooks, TM These needs will increase as devices such as tablets, mobile phones, processors, embedded systems, etc. become more and more prevalent (from traditional computers, automobiles, and televisions to biotechnology). [Brief description of the drawings]

[0003] [Figure 1] FIG. 1 is a block diagram of a portion of a system according to one embodiment of the present invention. [Diagram 2] FIG. 2 is a block diagram of a processor according to one embodiment of the invention. [Diagram 3] FIG. 3 is a block diagram of a multi-domain processor in accordance with another embodiment of the present invention. [Figure 4]FIG. 4 illustrates one embodiment of a processor that includes multiple cores. [Diagram 5] FIG. 5 is a block diagram of the micro-architecture of a processor core according to one embodiment of the present invention. [Figure 6] FIG. 6 is a block diagram of the micro-architecture of a processor core according to another embodiment. [Figure 7] FIG. 7 is a block diagram of the micro-architecture of a processor core according to yet another embodiment. [Figure 8] FIG. 8 is a block diagram of the micro-architecture of a processor core according to yet another embodiment. [Figure 9] FIG. 9 is a block diagram of a processor according to another embodiment of the present invention. [Figure 10] FIG. 10 is a block diagram of an exemplary SoC in accordance with one embodiment of the present invention. [Figure 11] FIG. 11 is a block diagram of another example SoC according to one embodiment of the present invention. [Figure 12] FIG. 12 is a block diagram of an exemplary system that can be used with embodiments. [Figure 13] FIG. 13 is a block diagram of another example system that may be used with embodiments. [Figure 14] FIG. 14 is a block diagram of a representative computer system. [Figure 15] FIG. 15 is a block diagram of a system according to one embodiment of the present invention. [Figure 16] FIG. 16 is a block diagram illustrating an IP core development system used to fabricate integrated circuits for performing operations according to one embodiment. [Figure 17] FIG. 17 is a block diagram of a processor according to one embodiment of the present invention. [Figure 18] FIG. 18 is a block diagram of a processor according to one embodiment of the present invention. [Figure 19]FIG. 19 is a block diagram of a processor core according to one embodiment of the invention. [Figure 20] FIG. 20 is a block diagram of configuration storage, which may reside in a processor's register alias table or other out of order engine. [Figure 21] FIG. 21 is a block diagram of a portion of a processor according to one embodiment. [Figure 22] FIG. 22 is a flow chart of a processor power management technique according to one embodiment. [Diagram 23] FIG. 23 is another flow diagram of a processor power management technique according to one embodiment. [Figure 24] FIG. 24 is a flowchart of a method according to another embodiment of the present invention. [Diagram 25] FIG. 25 is a flowchart of a method according to another embodiment of the present invention. [Figure 26] FIG. 26 is a block diagram of a processor according to one embodiment of the present invention. [Figure 27] FIG. 27 is a flowchart of a method according to another embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0004] In various embodiments, the processor is configured with a power management circuit for dynamically determining during processor operation the appropriate power license level to grant to a processing core or other processing circuit in response to a request from a license grant received from these agents. Generally, a request for an increased power license level may be made when the core encounters a higher power consuming instruction, including certain wide instructions such as vector-based instructions. Embodiments allow certain such wide instructions, including memory access instructions for vector widths, to be executed at a lower license level, reducing the number of requests for a higher license level. Additionally, embodiments may configure the core to postpone requests for licenses for instructions of a speculative nature. In this manner, some quantity of the higher power license is not requested, reducing the impact on processor performance.

[0005] Additionally, embodiments may further provide a configurable power consumption level per core, such as a thermal design power (TDP) level. In this manner, in conjunction with scheduling a workload to one or more cores, an indication of the power consumption characteristics of the workload may be identified from the scheduler to the power controller, allowing the configurable TDP level for the core to be set, for example, to a lower level. In this manner, a pre-grant of a frequency license for operation of the workload at a guaranteed operating frequency may occur. As a result, the overhead of performing license negotiation between the core and the power controller is avoided, reducing the latency of the workload execution.

[0006] Although the following embodiments are described in the context of energy conservation and efficiency in a particular integrated circuit, such as in a computing platform or processor, other embodiments are applicable for other types of integrated circuits and logic devices. Similar techniques and teachings of the embodiments described herein may also be applied to other types of circuits or semiconductor devices that can benefit from better energy efficiency and energy conservation. For example, the disclosed embodiments are not limited to any particular type of computer system. That is, the disclosed embodiments can be used in many different system types ranging from server computers (e.g., tower, rack, blade, microserver, etc.), communication systems, storage systems, desktop computers of any configuration, laptops, notebooks, and tablet computers (including 2:1 tablets, phablets, etc.), and also in other devices such as handheld devices, systems on chips (SoC), and embedded applications. Some examples of handheld devices include mobile phones such as smartphones, Internet protocol devices, digital cameras, personal digital assistants (PDAs), and handheld PCs. Embedded applications may typically include microcontrollers, digital signal processors (DSPs), network computers (NetPCs), set-top boxes, network hubs, wide area network (WAN) switches, wearable devices, or any other system capable of performing the functions and operations taught below. Additionally, embodiments may be implemented in mobile terminals with standard voice capabilities, such as mobile phones, smartphones, and phablets, and / or in non-mobile terminals without standard wireless voice capabilities, such as many wearables, tablets, notebooks, desktops, microservers, servers, etc.Additionally, the apparatus, methods, and systems described herein are not limited to physical computing devices, but may also relate to software optimization for energy savings and energy efficiency. As will become readily apparent in the following description, the method, apparatus, and system embodiments described herein (whether relating to hardware, firmware, software, or a combination thereof) are critical to the future of "green technology," such as for power savings and energy efficiency in products that encompass a large portion of the U.S. economy.

[0007] Referring now to Figure 1, a block diagram of a portion of a system is shown in accordance with one embodiment of the present invention. As shown in Figure 1, system 100 may include various components, including a processor 110, which as shown is a multi-core processor. Processor 110 may be connected to a power supply 150 via an external voltage regulator 160. The external voltage regulator may perform a first voltage conversion to provide a primary regulated voltage for processor 110.

[0008] As can be seen, the processor 110 may be a single die processor including multiple cores 120a-120n. Additionally, each core may be associated with an integrated voltage regulator (IVR) 125a-125n that receives a primary regulated voltage and generates an operating voltage that is supplied to one or more agents of the processor associated with the IVR. Thus, an IVR implementation may be provided to allow fine-grained control over the voltage, and therefore power and performance, of each individual core. Thus, each core may operate at an independent voltage and frequency, allowing for great flexibility and providing a wide range of opportunities to balance power consumption with performance. In some embodiments, the use of multiple IVRs allows for grouping of components into separate power planes, such that power is controlled and supplied by the IVR to only those components within the group. During power management, a given power plane of an IVR may be powered down or off when the processor is placed into a predefined low power state. Meanwhile, another power plane of another IVR remains active or fully powered.

[0009] Still referring to FIG. 1, additional components may be present within the processor, including an input / output interface 132, another interface 134, and an integrated memory controller 136. As can be seen, each of these components may be powered by another integrated voltage regulator 125x. In one embodiment, the interface 132 may enable operation with an Intel® Quick Path Interconnect (QPI) interconnect, which provides a point-to-point (PtP) link in a cache coherent protocol that includes multiple layers, including a physical layer, a link layer, and a protocol layer. In turn, the interface 134 may be connected to a Peripheral Component Interconnect Express (PCIe TM) protocol.

[0010] Also shown is a power control unit (PCU) 138, which may include hardware, software, and / or firmware for performing power management operations with respect to processor 110. As can be seen, PCU 138 provides control information to external voltage regulator 160 via a digital interface to cause the voltage regulator to generate an appropriate regulated voltage. PCU 138 also provides control information to IVR 125 via another digital interface to control the generated operating voltage (or disable the corresponding IVR in a low power mode). In various embodiments, PCU 138 may include various power management logic units to perform hardware-based power management. Such power management may be fully processor-controlled (e.g., by various processor hardware and may be triggered by workload and / or power, thermal, or other processor constraints) and / or power management may be performed in response to an external source (such as a platform or administrative power management source or system software).

[0011] 1 illustrates an implementation in which PCU 138 is a separate processing engine (which may be implemented as a microcontroller), it should be understood that in some cases, in addition to or instead of a dedicated power controller, each core may include or be associated with a power control agent to independently and more autonomously control power consumption. In some cases, a hierarchical power management architecture may be provided, in which PCU 138 communicates with a corresponding power management agent associated with each of cores 120.

[0012] One power management logic unit included in the PCU 138 may be a licensing circuit that may receive an incoming request for a power license and provide licensing to a given core 120 for execution at a given power level based at least in part on one or more budgets. Additionally, the licensing circuit may further provide pre-grant of a frequency license for execution of a workload to a given core 124 based on scheduling information that results in setting a configurable TDP value per core, as described herein.

[0013] Although not shown for ease of explanation, it should be understood that there may be additional components within processor 110, such as additional control circuitry, and other components, such as internal memory, e.g., one or more levels of a cache memory hierarchy, etc. Additionally, although the implementation of FIG. 1 is shown with one integrated voltage regulator, embodiments are not so limited.

[0014] It is noted that the power management techniques described herein are independent of and may be complementary to an operating system (OS)-based power management mechanism (OPSM). In accordance with one exemplary OSPM technique, a processor may operate in various performance states or levels, so-called P-states, i.e., P0 through PN. In general, the P1 performance state may correspond to the highest guaranteed performance state that may be requested by the OS. The embodiments described herein may enable dynamic changes to the guaranteed frequency of the P1 performance state based on various inputs and processor operating parameters. In addition to this P1 state, the OS may request an even higher performance state, i.e., a P0 state. This P0 state may thus be an opportunistic or turbo mode state in which the processor hardware may configure the processor, or at least a portion thereof, to operate at a higher frequency than the guaranteed frequency if power and / or thermal budgets are available. In many implementations, a processor may include multiple so-called bin frequencies above the P1 guaranteed maximum frequency that exceed the maximum peak frequency of a particular processor, and are fused or otherwise written into the processor during manufacturing. In addition, according to one OSPM mechanism, the processor can operate in various power states or levels. With respect to power states, the OSPM mechanism can specify different power consumption states, commonly referred to as C-states, C0, C1-Cn states. When a core is active, it operates in C0 state, and when the core is idle, it may be placed in a core low power state. The core low power states are also referred to as core non-zero C-states (e.g., C1-C6 states), with each C-state being at a lower power consumption level (so that C6 is a deeper low power state than C1, etc.).

[0015] It should be understood that many different types of power management techniques may be used individually or in combination in different embodiments. As a representative example, a power controller may control a processor to be power managed by some form of dynamic voltage frequency scaling (DVFS), where the operating voltage and / or operating frequency of one or more cores or other processor logic may be dynamically controlled to reduce power consumption in certain circumstances. In one embodiment, DVFS may be implemented using Enhanced Intel SpeedStep™ technology available from Intel Corporation, Santa Clara, Calif., to provide optimal performance at the lowest power consumption levels. TM In another example, DVFS may be implemented using Intel Turbost technology. TM Techniques may be used to allow one or more cores or other computer engines to operate at frequencies higher than a guaranteed operating frequency based on conditions (e.g., workload and availability).

[0016] Another power management technique that may be used in certain examples is dynamic swapping of workloads between different computing engines. For example, a processor may include asymmetric cores or other processor engines that operate at different power consumption levels, such that in power-constrained situations, one or more workloads may be dynamically switched to run on a lower power core or other computing engine. Another exemplary power management technique is hardware duty cycling (HDC), which may periodically enable and disable cores and / or other computing engines according to a duty cycle, such that one or more cores may be deactivated during inactive periods of the duty cycle and activated during active periods of the duty cycle. Although described with these specific examples, it should be understood that many other power management techniques may be used in certain embodiments.

[0017] Embodiments may be implemented in processors for a variety of markets, including server processors, desktop processors, mobile processors, etc. Referring now to Figure 2, a block diagram of a processor is shown in accordance with one embodiment of the present invention. As shown in Figure 2, a processor 200 includes multiple cores 210. a -210 n 2. In one embodiment, each such core may be an independent power domain and may be configured to move in and out of an active state and / or a maximum performance state based on the workload. The various cores may be connected via interconnect 215 to a system agent 220 that includes various components. As can be seen, system agent 220 may include a shared cache 230, which may be a last level cache. In addition, system agent 220 may include an integrated memory controller 240 for communicating with a system memory (not shown in FIG. 2), for example, via a memory bus. System agent 220 also includes various interfaces 250 and a power control unit 255, which may include logic for performing the power management techniques described herein. Licensing circuitry 258 may grant power licenses to cores 210 based on license requests for non-speculative instruction execution. Licensing circuitry 258 may further provide pre-grant of frequency licenses of guaranteed operating frequencies for a given core 210 to execute a particular workload based on a configurable TDP value per core, as described herein.

[0018] In addition, Interface 250 a -250 n may provide connections to various off-chip components such as peripherals, mass storage devices, etc. While the embodiment of Figure 2 is illustrated with this particular implementation, the scope of the invention is not limited in this respect.

[0019] Referring now to FIG. 3, a block diagram of a multi-domain processor in accordance with another embodiment of the present invention is shown. As shown in the embodiment of FIG. 3, a processor 300 includes multiple domains. Specifically, a core domain 310 includes multiple cores 3100-3100. n , graphics domain 320 may include one or more graphics engines, and system agent domain 350 may further be present. In some embodiments, system agent domain 350 may run at a frequency independent of the core domains and may remain powered on at all times to handle power control events and power management, such that domains 310 and 320 may be controlled to dynamically enter and exit higher and lower power states. Each of domains 310 and 320 may operate at different voltages and / or powers. Although shown with only three domains, it should be noted that the scope of the invention is not limited in this respect and additional domains may be present in other embodiments. For example, there may be multiple core domains each including at least one core.

[0020] Typically, each core 310 may further include a lower level cache, in addition to various execution units and additional processing elements. In turn, the various cores communicate with each other and with the last level caches (LLCs) 3400-340. n In various embodiments, LLC 340 may be shared between the cores and the graphics engine, as well as between various media processing circuits. As can be seen, ring interconnect 330 thus couples the cores together and provides interconnection between the cores, graphics domain 320, and system agent circuitry 350. In one embodiment, interconnect 330 may be part of the core domain; however, in other embodiments, the ring interconnect may be its own domain.

[0021] As can be further seen, system agent domain 350 can include a display controller 352 that can provide control and interfacing for an associated display. As can be further seen, system agent domain 350 can include a power control unit 355 that can include logic for performing power management techniques described herein. In the illustrated embodiment, power control unit 355 includes a licensing circuit 359 for performing power licensing in response to requests for non-speculative instruction execution, as described herein, and pre-granting of frequency licenses for workload execution per core TDP value.

[0022] 3, the processor 300 may further include an integrated memory controller (IMC) 370 that may provide an interface to system memory, such as dynamic random access memory (DRAM). To allow interconnection between the processor and other circuits, a number of interfaces 3800-380 may be provided. n For example, in one embodiment, there may be at least one direct media interface (DMI) and one or more PCIe TM An interface may be provided for the QPI interface. Additionally, one or more QPI interfaces may be provided to provide communication between other agents, such as additional processors or other circuitry. While shown at this high level in the embodiment of FIG. 3, it should be understood that the scope of the invention is not limited in this respect.

[0023] Referring to Figure 4, one embodiment of a processor including multiple cores is shown. Processor 400 may include any processor or processing device, such as a microprocessor, embedded processor, digital signal processor (DSP), network processor, handheld processor, application processor, co-processor, system on chip (SoC), or other device that executes code. Processor 400, in one embodiment, includes at least two cores, cores 401 and 402, which may include asymmetric or symmetric cores (the illustrated embodiment). However, processor 400 may include any number of processing elements, which may be symmetric or asymmetric.

[0024] In one embodiment, a processing element refers to hardware or logic for supporting a software thread. Examples of hardware processing elements include thread units, thread slots, threads, process units, contexts, context units, logical processors, hardware threads, cores, and / or any other element capable of holding state for a processor, such as execution state or architectural state. In other words, a processing element, in one embodiment, refers to any hardware that can be independently associated with code, such as a software thread, an operating system, an application, or other code. A physical processor typically refers to an integrated circuit, which potentially contains any number of other processing elements, such as cores or hardware threads.

[0025] A core often refers to logic located on an integrated circuit that can maintain independent architectural states, where each independently maintained architectural state is associated with at least some dedicated execution resources. In contrast to a core, a hardware thread typically refers to any logic located on an integrated circuit that can maintain independent architectural states, where the independently maintained architectural states share access to the execution resources. As can be seen, the lines between the nomenclature of a hardware thread and a core overlap when certain resources are shared and other resources are dedicated to architectural state. Note that often, cores and hardware threads are viewed by the operating system as individual logical processors, where the operating system can schedule operations individually on each logical processor.

[0026] The physical processor 400 includes two cores, as shown in FIG. 4: core 401 and core 402. Here, cores 401 and 402 are considered to be symmetric cores, i.e., cores having the same configuration, functional units, and / or logic. In another embodiment, core 401 includes an out-of-order processor core, and core 402 includes an in-order processor core. However, cores 401 and 402 can be individually selected from any type of core, such as a native core, a software-managed core, a core adapted to execute a native instruction set architecture (ISA), a core adapted to execute a translated ISA, a co-designed core, or other known core. However, for further discussion, the functional units shown in core 401 are described in more detail below, as the units in core 402 operate in a similar manner.

[0027] As shown, core 401 includes two hardware threads 401a and 401b, which are also referred to as hardware thread slots 401a and 401b. Thus, in one embodiment, a software entity, such as an operating system, may view processor 400 as four separate processors, i.e., four logical processors or processing elements that can simultaneously execute four software threads. As described above, a first thread may be associated with architecture state register 401a, a second thread may be associated with architecture state register 401b, a third thread may be associated with architecture state register 402a, and a fourth thread may be associated with architecture state register 402b. Here, each of the architecture state registers (401a, 401b, 402a, and 402b) may be referred to as a processing element, thread slot, or thread unit, as described above. As shown, architecture state registers 401a are replicated in architecture state registers 401b so that individual architecture state / context can be stored for logical processor 401a and logical processor 401b. Other smaller resources in core 401 may also be replicated for threads 401a and 401b, such as the instruction pointer and renaming logic in allocator and rename block 430. Some resources may be shared by partitioning, such as the reorder buffer, ILTB 420, load / store buffers, and queues in reorder / retirement unit 435. Other resources may be fully shared, such as general-purpose internal registers, page table base registers, low-level data cache and data TLB 415, execution unit 440, and portions of out-of-order unit 435.

[0028] Processor 400 often includes other resources that may be fully shared, shared by partitioning, or dedicated by / to processing elements. In FIG. 4, a purely exemplary processor embodiment is shown with exemplary logical units / resources of the processor. Note that the processor may include or omit any of these functional units, as well as any other known functional units, logic, or firmware not shown. As shown, core 401 includes a simplified representative out-of-order (OOO) processor core. However, in different embodiments, an in-order processor may be utilized. The OOO core includes a branch target buffer 420 for predicting executed / taken branches, and an instruction-to-translation buffer 420 for storing address translation entries for instructions.

[0029] Core 401 further includes a decode module 425 coupled to fetch unit 420 to decode fetched elements. In one embodiment, the fetch logic includes individual sequencers associated with each of thread slots 401a, 401b. Typically, core 401 is associated with a first ISA, which defines / specifies instructions executable on processor 400. Machine code instructions that are part of the first ISA often include a portion of the instruction (called an opcode) that references / specifies the instruction or operation to be performed. Decode logic 425 includes circuitry that recognizes these instructions from their opcodes and passes the decoded instructions up the pipeline for processing defined by the first ISA. For example, in one embodiment, decoder 425 includes logic designed or adapted to recognize certain instructions, such as transactional instructions. As a result of recognition by decoder 425, the architecture or core 401 takes a specific, predefined action to perform a task associated with the appropriate instruction. It is important to note that any of the tasks, blocks, operations, and methods described herein may be performed in response to a single or multiple instructions, some of which may be new or old.

[0030] In one example, allocator and renamer block 430 includes an allocator for reserving resources, such as a register file for storing instruction processing results. However, threads 401a and 401b may be capable of out-of-order execution if allocator and renamer block 430 also reserves other resources, such as a reorder buffer for tracking instruction results. Unit 430 may also include a register renamer for renaming program / instruction reference registers to other registers internal to processor 400. Reorder / discard unit 435 includes components, such as the reorder buffer, load buffer, and store buffer described above, to support out-of-order execution and subsequent removal of out-of-order executed instructions.

[0031] Scheduler and execution units block 440, in one embodiment, includes a scheduler unit that schedules instructions / operations on the execution units. For example, floating point instructions are scheduled on ports of execution units that have an available floating point execution unit. Also included are register files associated with the execution units to store information instruction processing results. Exemplary execution units include floating point execution units, integer execution units, jump execution units, load execution units, store execution units, and other known execution units.

[0032] A low-level data cache and data translation buffer (D-TLB) 450 is coupled to the execution units 440. The data cache stores recently used / operated on elements, such as data operands, that may be held in a memory coherency state. The D-TLB stores recent virtual-to-linear physical address translations. As a particular example, a processor may include a page table structure that divides physical memory into multiple virtual pages.

[0033] Here, cores 401 and 402 share access to a higher level or further out cache 410 for caching recently fetched elements. Higher level or longer refers to more cache levels or further away from the execution units. In one embodiment, higher level cache 410 is a last level data cache - the last cache in the memory hierarchy above processor 400 - a second or third level data cache. However, higher level cache 410 is not so limited, as it can be associated with or include an instruction cache. A trace cache - a type of instruction cache - may instead be coupled after decoder 425 for storing recently decoded traces.

[0034] In the illustrated configuration, processor 400 also includes a bus interface module 405 and a power controller 460, which are capable of performing power management in accordance with one embodiment of the present invention. In this scenario, bus interface 405 communicates with devices external to processor 400, such as system memory and other components.

[0035] The memory controller 470 can interface with other devices such as one or more memories. In one embodiment, the bus interface 405 includes a ring interconnect with a memory controller for interfacing with a memory, and a graphics controller for interfacing with a graphics processor. In an SoC environment, many more devices such as network interfaces, co-processors, memories, graphics processors, and any other known computing devices / interfaces can be integrated on a single die or integrated circuit to provide a small form factor with high functionality and low power consumption.

[0036]

[0033] Referring now to Figure 5, there is shown a block diagram of a micro-architecture of a processor core in accordance with one embodiment of the present invention. As shown in Figure 5, processor core 500 may be a multi-stage pipelined out-of-order processor. Core 500 may operate at various voltages based on the received operating voltage, which may be received from an integrated voltage regulator or an external voltage regulator.

[0037] As shown in FIG. 5, the core 500 includes a front-end unit 510, which may be used to fetch instructions to be executed and prepare them for later use in the processor pipeline. For example, the front-end unit 510 may include a fetch unit 501, an instruction cache 503, and an instruction decoder 505. In some implementations, the front-end unit 510 may further include a trace cache along with microcode storage and micro-operation storage. The fetch unit 501 may fetch macro-instructions, for example from memory or the instruction cache 503, and feed them to the instruction decoder 505, instructing the decoder 505 to decode them into primitives, i.e., micro-operations, for execution by the processor.

[0038] Coupled between the front-end unit 510 and the execution unit 520 is an out-of-order (OOO) engine 515 that may be used to receive microinstructions and prepare them for execution. More specifically, the OOO engine 515 may include various buffers to re-order the microinstruction flow and allocate various resources required for execution, as well as to provide renaming of logical registers to storage locations in various register files, such as register file 530 and extended register file 535. Register file 530 may include separate register files for integer and floating-point operations. Extended register file 535 may provide storage in vector-sized units, e.g., 256 or 512 bits per register. For configuration, control, and additional operation purposes, a set of machine specific registers (MSRs) 538 may also reside within (and outside) the core 500 and be accessible to various logic.

[0039] The various resources may be present in an execution unit 520, including, for example, various integer, floating point, and single instruction multiple data (SIMD) logic units, among other specialized hardware. For example, such an execution unit may include one or more arithmetic logic units (ALUs) 522 and one or more vector execution units 524, among other specialized hardware.

[0040] Results from the execution units may be provided to a discard logic, or reorder buffer (ROB) 540. More specifically, ROB 540 may include various arrays and logic to receive information associated with instructions being executed. This information is then examined by ROB 540 to determine whether the instructions can be validly discarded and whether the result data is committed to the processor's architectural state or whether one or more exceptions have occurred that prevent the instructions from being properly discarded. Of course, ROB 540 may handle other operations related to discarding.

[0041] As shown in FIG. 5, ROB 540 is coupled to cache 550, which in one embodiment may be a lower level cache (e.g., an L1 cache), although the scope of the invention is not limited in this respect. Execution unit 520 may also be directly coupled to cache 550. From cache 550, data communication may occur with a higher level cache, system memory, or the like. Although shown at this high level in the embodiment of FIG. 5, it should be understood that the scope of the invention is not limited in this respect. For example, while the implementation of FIG. 5 is directed to an out-of-order machine, such as Intel®'s x86 Instruction Set Architecture (ISA), the scope of the invention is not limited in this respect. That is, other embodiments may be implemented in an in-order processor, a reduced instruction set computing (RISC) processor, such as an ARM-based processor, or a processor of another type of ISA that can emulate the instructions and operations of a different ISA via an emulation engine and associated logic.

[0042] Referring now to Figure 6, there is shown a block diagram of a micro-architecture of a processor core according to another embodiment. In the embodiment of Figure 6, core 600 may be a low-power core of a different micro-architecture. TM6 is a 32-bit LSB-based processor with a relatively limited pipeline depth designed to reduce power consumption. As can be seen, core 600 includes an instruction cache 610 coupled to provide instructions to an instruction decoder 615. A branch predictor 605 may be coupled to the instruction cache 610. Note that instruction cache 610 may be further coupled to another level of cache memory, such as an L2 cache (not shown in FIG. 6 for ease of illustration). In turn, instruction decoder 615 provides decoded instructions to an issue queue 620 for storage and delivery to a given execution pipeline. A microcode ROM 618 is coupled to the instruction decoder 615.

[0043] Floating-point pipeline 630 includes floating-point register file 632, which may include multiple architectural registers of a given bit, such as 128, 256, or 512 bits. Pipeline 630 includes floating-point scheduler 634, which schedules instructions for execution in one of the pipeline's multiple execution units. In the illustrated embodiment, such execution units include ALU 635, shuffle unit 636, and floating-point adder 638. In turn, results produced by these execution units may be returned to buffers and / or registers in register file 632. Although shown with these few exemplary execution units, it should of course be understood that in alternative embodiments, there may be additional or different floating-point execution units.

[0044] An integer pipeline 640 may also be provided. In the illustrated embodiment, the pipeline 640 may include an integer register file 642, which may include multiple architectural registers of a given bit, such as 128 or 256 bits. The pipeline 640 includes an integer scheduler 644, which schedules instructions for execution in one of the pipeline's multiple execution units. In the illustrated embodiment, such execution units include an ALU 645, a shifter unit 646, and a jump execution unit 648. In turn, results produced by these execution units may be returned to buffers and / or registers in the register file 642. Although shown with these few exemplary execution units, it should of course be understood that in alternative embodiments, there may be additional or different integer execution units.

[0045] A memory execution scheduler 650 may schedule memory operations for execution in an address generation unit 652, which is coupled to a TLB 654. As can be seen, these structures may be coupled to a data cache 660. The data cache may be an L0 and / or L1 data cache that couples to additional levels of the cache memory hierarchy, including an L2 cache memory.

[0046] To support out-of-order execution, an allocator / renamer 670 may be provided in addition to a reorder buffer 680. The reorder buffer is configured to reorder instructions that were executed out-of-order for discard into order. While the description of Figure 6 shows this particular pipeline architecture, it should be understood that many variations and alternatives are possible.

[0047] Note that in processors with asymmetric cores, such as those following the microarchitectures of Figures 5 and 6, workloads may be dynamically swapped between cores for power management reasons, since these cores may have different pipeline designs and depths, but the same or related ISA. Such dynamic core swapping may be performed in a manner that is transparent to user applications (and possibly the kernel).

[0048] FIG. 7 is a block diagram of a microarchitecture of a processor core according to yet another embodiment. As shown in FIG. 7, the core 700 may include a multi-stage in-order pipeline to execute at very low power consumption levels. As one such example, the processor 700 may have a microarchitecture according to the ARM Cortex A53 design available from ARM Holdings, Inc. of Sunnyvale, Calif. In one implementation, an eight-stage pipeline may be provided that is configured to execute both 32-bit and 64-bit code. The core 700 includes a fetch unit 710 configured to fetch instructions and provide them to a decode unit 715. The decode unit may decode instructions, e.g., macro-instructions of a given ISA, such as the ARMv8 ISA. Note further that a queue 730 may be coupled to the decode unit 715 to store the decoded instructions. The decoded instructions are provided to issue logic 725, where they may be issued to a given one of a number of execution units.

[0049] With further reference to FIG. 7, issue logic 725 may issue instructions to one of a number of execution units. In the illustrated embodiment, these execution units include an integer unit 735, a multiply unit 740, a floating point / vector unit 750, a dual issue unit 760, and a load / store unit 770. The results of these different execution units may be provided to a writeback unit 780. While a single writeback unit is shown for ease of illustration, it should be understood that in some implementations a separate writeback unit may be associated with each of the execution units. Additionally, while each of the units and logic shown in FIG. 7 is shown at a high level, it should be understood that a particular embodiment may include more or different structures. Processors designed using one or more cores having a pipeline like that of FIG. 7 can be implemented in many different end products ranging from mobile devices to server systems.

[0050] FIG. 8 is a block diagram of a microarchitecture of a processor core according to yet another embodiment. As shown in FIG. 8, the core 800 may include a multi-stage, multi-issue, out-of-order pipeline to execute at very high performance levels (which may occur at higher power consumption levels than the core 700 of FIG. 7). As one such example, the processor 800 may have a microarchitecture according to the ARM Cortex A57 design. In one implementation, a 15-stage (or more) pipeline may be provided that is configured to execute both 32-bit and 64-bit code. In addition, the pipeline may provide three (or more) wide and three (or more) issue operations. The core 800 includes a fetch unit 810 configured to fetch instructions and provide them to a decoder / renamer / dispatcher 815. The decoder / renamer / dispatcher may decode instructions, e.g., macroinstructions of the ARMv8 instruction set architecture, rename register references within the instructions, and (eventually) dispatch the instructions to a selected execution unit. The decoded instructions may be stored in queue 825. Note that while a single queue structure is shown in Figure 8 for ease of explanation, it should be understood that separate queues may be provided for each of multiple different types of execution units.

[0051] 8 also illustrates issue logic 830, from which decoded instructions stored in queue 825 may be issued to a selected execution unit. Issue logic 830 may also be implemented in certain embodiments with separate issue logic for each of multiple different types of execution units to which logic 830 is coupled.

[0052] The decoded instruction may be issued to a given one of a number of execution units. In the illustrated embodiment, these execution units include one or more integer units 835, multiply units 840, floating point / vector units 850, branch units 860, and load / store units 870. In one embodiment, the floating point / vector units 850 may be configured to process 128-bit or 256-bit SIMD or vector data. Additionally, the floating point / vector execution units 850 may perform IEEE-754 double precision floating point operations. The results of these different execution units may be provided to a writeback unit 880. Note that in some implementations, a separate writeback unit may be associated with each of the execution units. Additionally, while each of the units and logic shown in FIG. 8 is depicted at a high level, it should be understood that a particular embodiment may include more or different structures.

[0053] Note that in processors with asymmetric cores, such as those following the microarchitectures of Figures 7 and 8, these cores may have different pipeline designs and depths, but be the same or related ISA, so that workloads may be dynamically swapped for power management reasons. Such dynamic core swapping can be performed in a manner that is transparent to user applications (and possibly even to the kernel).

[0054] A processor designed using one or more cores having any one or more of the pipelines of Figures 5-8 can be implemented in many different end products ranging from mobile devices to server systems. Referring now to Figure 9, a block diagram of a processor in accordance with another embodiment of the present invention is shown. In the embodiment of Figure 9, the processor 900 may be an SoC that includes multiple domains, each of which may be controlled to operate at an independent operating voltage and operating frequency. As a specific example, the processor 900 may be an SoC that includes an Intel(R) Architecture Core™, such as an i3, i5, or i7. TM The SoC may be an Intel-based processor, or another such processor available from Intel Corporation. However, other low power processors available from Advanced Micro Devices, Inc. (AMD) of Sunnyvale, Calif., ARM-based designs available from ARM Holdings, Inc. or its licensees, or MIPS-based designs available from MIPS Technologies, Inc. of Sunnyvale, Calif., or their licensees or adopters may alternatively be present in other embodiments, such as the Apple A7 processor, Qualcomm Snapdragon processor, or Texas Instruments OMAP processor. Such SoCs are used in smartphones, tablet computers, phablet computers, Ultrabooks, TM It may be used in low power systems, such as computers or other portable computing devices or connected devices.

[0055] In the high level diagram shown in FIG. 9, a processor 900 includes multiple core units 9100-910 nEach core unit may include one or more processor cores, one or more cache memories, and other circuitry. Each core unit 910 may support one or more instruction sets (e.g., the x86 instruction set (with some extensions added in newer versions), the MIPS instruction set, the ARM instruction set (with any additional extensions such as NEON)), or other instruction sets, or combinations thereof. Note that some of the core units may be heterogeneous resources (e.g., of different designs). In addition, each such core may be coupled to a cache memory (not shown), which in one embodiment may be a shared level (L2) cache memory. Non-volatile storage 930 may be used to store various programs and other data. For example, this storage may be used to store at least a portion of the microcode, boot information such as a BIOS, other system software, etc.

[0056] Each core unit 910 may also include an interface, such as a bus interface unit, to allow interconnection to additional circuitry of the processor. According to one embodiment, each core unit 910 is connected to a coherent fabric that can act as a primary cache coherent on-die interconnect, which in turn connects to a memory controller 935. The memory controller 935 in turn controls communication with memory, such as DRAM (not shown in FIG. 9 for ease of illustration).

[0057] In addition to the core unit, additional processing engines are present in the processor, including at least one graphics unit 920. The processing engine may include one or more graphics processing units to perform graphics processing as well as general purpose operations on a graphics processor (so-called GPGPU operations). In addition, there may be at least one image signal processor 925. The signal processor 925 may be configured to process input image data received from one or more capture devices, either inside the SoC or off-chip.

[0058] Other accelerators may also be present. In the example of FIG. 9, a video coder 950 may perform coding operations including encoding and decoding for video information, e.g., providing hardware acceleration support for high definition video content. A display controller 955 may also be included and may accelerate display operations, including providing support for internal and external displays in the system. In addition, a security processor 945 may be present to perform security operations, such as secure boot operations, various encryption operations, etc.

[0059] Each of the units can control its power consumption via a power manager 940. The units may contain control logic for implementing the various power management techniques described herein.

[0060] In some embodiments, the SoC 900 may further include a non-coherent fabric coupled to a coherent fabric to which various peripherals may be coupled. One or more interfaces 960a-960d may enable communication with one or more off-chip devices. Such communication may be via PCI Express, PCI Express Plus ... TM , GPIO, USB, I 2This can be done via various types of communication protocols such as C, UART, MIPI, SDIO, DDR, SPI, HDMI, etc. Although shown at this high level in the embodiment of Figure 9, it should be understood that the scope of the invention is not limited in this respect.

[0061] Referring now to FIG. 10, a block diagram of a representative SoC is shown. In the illustrated embodiment, SoC 1000 may be a multi-core SoC configured for low power operation optimized for incorporation into a smartphone or other low power device such as a tablet computer or other portable computing device. As one example, SoC 1000 may be implemented using asymmetric or different types of cores, such as high power and / or low power cores, e.g., a combination of out-of-order and in-order cores. In different embodiments, these cores may be implemented using the Intel® Architecture TM The core design may be based on the ARM architecture design. In yet other embodiments, a mix of Intel® and ARM cores may be implemented in a given So.

[0062] As can be seen from FIG. 10, the SoC 1000 includes a first core domain 1010 having a number of first cores 10120-10123. In one embodiment, these cores may be low power cores, such as in-order cores. In one embodiment, these first cores may be implemented as ARM Cortex A53 cores. In turn, these cores are coupled to a cache memory 1015 of the core domain 1010. In addition, the SoC 1000 includes a second core domain 1020. In the illustration of FIG. 10, the second core domain 1020 has a number of second cores 10220-10223. In one embodiment, these cores may be higher power consumption cores than the first core 1012. In one embodiment, the second cores may be out-of-order cores, which may be implemented as ARM Cortex A57 cores. In turn, these cores are coupled to a cache memory 1025 of the core domain 1020. Note that while the example shown in FIG. 10 includes four cores in each domain, it should be understood that in other examples, more or fewer cores may be present in a given domain.

[0063] 10, a graphics domain 1030 is also provided. The graphics domain may include one or more graphics processing units configured to independently execute graphics workloads, such as provided by one or more cores of the core domains 1010 and 1020. As one example, the GPU domain 1030 may be used to provide display support for various screen sizes in addition to providing graphics and display rendering operations.

[0064] As can be seen, the various domains are coupled to a coherent interconnect 1040, which in one embodiment may be a cache coherent interconnect fabric that is in turn coupled to an integrated memory controller 1050. The coherent interconnect 1040 may, in some embodiments, include a shared cache memory, such as an L3 cache. In one embodiment, the memory controller 1050 may be a direct memory controller to provide multiple channels of communication with off-chip memory, such as multiple channels of DRAM (not shown in FIG. 10 for ease of illustration).

[0065] In different embodiments, the number of core domains may vary. For example, for a low power SoC suitable for incorporation into a mobile computing device, there may be a limited number of core domains as shown in FIG. 10. Furthermore, in such a low power SoC, the core domain 1020 including higher power cores may have a smaller number of such cores. For example, in one embodiment, two cores 1022 may be provided to enable operation at a reduced power consumption level. Additionally, the different core domains may also be coupled to an interrupt controller to enable dynamic swapping of workloads between the different domains.

[0066] In yet other embodiments, there may be more core domains, as well as additional optional IP logic, in that the SoC can be scaled to higher performance (and power) levels for incorporation into other computing devices such as desktops, servers, high performance computing systems, base stations, etc. As one such example, four core domains may be provided, each having a given number of out-of-order cores. Still further, in addition to optional GPU support (which may take the form of a GPGPU, for example), one or more accelerators may also be provided to provide optimized hardware support for specific functions (e.g., web services, network processing, switching, etc.). Additionally, there may be input / output interfaces to couple such accelerators to off-chip components.

[0067] Referring now to FIG. 11, a block diagram of another example SoC is shown. In the embodiment of FIG. 11, the SoC 1100 may include various circuits to enable high performance for multimedia applications, communications, and other functions. Thus, the SoC 1100 is suitable for incorporation into a variety of portable and other devices, such as smartphones, tablet computers, smart televisions, and the like. In the illustrated example, the SoC 1100 includes a central processing unit (CPU) domain 1110. In one embodiment, multiple individual processor cores may reside within the CPU domain 1110. As one example, the CPU domain 1110 may be a quad-core processor having four multi-threaded cores. Such a processor may be a homogeneous or heterogeneous processor, e.g., a mix of low-power and high-power processor cores.

[0068] In turn, GPU domain 1120 is provided for performing advanced graphics processing in one or more GPU, graphics processing, and compute APIs. DSP unit 1130 can provide one or more low power DSPs for processing low power multimedia applications such as music playback, audio / video, etc., in addition to advanced computations that may occur during execution of multimedia instructions. Communication unit 1140, in turn, may include various components providing connectivity via various wireless protocols, such as wireless local area protocols such as cellular communications (including 3G / 4G LTE), Bluetooth, IEEE 802.11, etc.

[0069] Still further, the multimedia processor 1150 may be used to perform capture and playback of high definition video and audio content, including processing of user gestures. The sensor unit 1160 may include multiple sensors and / or sensor controllers to interface with various off-chip sensors present in a given platform. The image signal processor 1170 may include one or more separate ISPs to perform image processing on content captured from one or more cameras of the platform, including still and video cameras.

[0070] The display processor 1180 can provide support for connection to a high definition display of a given pixel density, including the ability to wirelessly communicate content for playback on such a display. Still further, the positioning unit 1190 can include a GPS receiver supporting multiple GPS constellations to provide highly accurate positioning information obtained using such a GPS receiver to an application. While this particular set of components is shown in the example of FIG. 11, it should be understood that many variations and alternatives are possible.

[0071] 12, a block diagram of one exemplary system with which embodiments can be used is shown. As can be seen, system 1200 can be a smartphone or other wireless communicator. Baseband processor 1205 is configured to perform various signal processing on communication signals transmitted from or received by the system. In turn, baseband processor 1205 is coupled to application processor 1210, which can be the main CPU of the system for running the OS and other system software, as well as user applications such as many well-known social media and multimedia apps. Application processor 1210 can also be configured to perform various other computing operations for the device and to implement the power management techniques described herein.

[0072] In turn, the application processor 1210 may be coupled to a user interface / display 1220, such as a touch screen display. Additionally, the application processor 1210 may be coupled to a memory system including non-volatile memory, i.e., flash memory 1230, and system memory, i.e., dynamic random access memory (DRAM) 1235. As can be further seen, the application processor 1210 is further coupled to a capture device 1240, such as one or more image capture devices capable of recording video images and / or still images.

[0073] 12, a universal integrated circuit card (UICC) 1240, including a subscriber identity module, possibly secure storage, and a cryptographic processor, is also coupled to the application processor 1210. The system 1200 may further include a security processor 1250, which may be coupled to the application processor 1210. A number of sensors 1225 may be coupled to the application processor 1210 to allow for input of various sensed information, such as accelerometers and other environmental information. An audio output device 1295 may provide an interface for outputting audio, for example, in the form of voice communication, playing or streaming audio data, etc.

[0074] As further shown, a near field communication (NFC) contactless interface 1260 is provided to communicate in the NFC near field via an NFC antenna 1265. Although separate antennas are shown in Figure 12, it should be understood that in some implementations a single antenna or different sets of antennas may be provided to enable various wireless functions.

[0075] The PMIC 1215 is coupled to the application processor 1210 to perform platform-level power management. To this end, the PMIC 1215 can issue power management requests to the application processor 1210 to enter a predetermined low power state as desired. Furthermore, based on platform constraints, the PMIC 1215 can also control the power levels of other components of the system 1200.

[0076] Various circuits may be coupled between the baseband processor 1205 and the antenna 1290 to enable communications to be transmitted and received. In particular, there may be a radio frequency (RF) transceiver 1270 and a wireless local area network (WLAN) transceiver 1275. In general, the RF transceiver 1270 may be used to receive and transmit wireless data and calls according to a given wireless communication protocol, such as a 3G or 4G wireless communication protocol, such as according to Code Division Multiple Access (CDMA), Global System for Mobile Communications (GSM), Long Term Evolution (LTE), or other protocols. In addition, there may be a GPS sensor 1280. Other wireless communications, such as reception or transmission of wireless signals, e.g., AM / FM, and other signals, may also be provided. In addition, local wireless communications may also be realized via the WLAN transceiver 1275.

[0077]

[00136] Referring now to Figure 13, a block diagram of another exemplary system that may be used with embodiments is shown. In the illustration of Figure 13, system 1300 may be a mobile low power system, such as a tablet computer, a 2:1 tablet, a phablet, or other compatible or standalone tablet system. As shown, SoC 1310 is present and may be configured to act as the application processor of the device and to implement the power management techniques described herein.

[0078] Various devices may be coupled to the SoC 1310. In the illustrated illustration, a memory subsystem includes flash memory 1340 and DRAM 1345 coupled to the SoC 1310. In addition, a touch panel 1320 is coupled to the SoC 1310 to provide display capabilities and user input via touch, including providing a virtual keyboard on the display of the touch panel 1320. To provide wired network connectivity, the SoC 1310 is coupled to an Ethernet interface 1330. A peripheral hub 1325 is coupled to the SoC 1310 to enable interfacing with various peripheral devices, which may be coupled to the system 1300 by any of a variety of ports or other connectors.

[0079] In addition to the internal power management circuitry and functionality within the SoC 1310, a PMIC 1380 is coupled to the SoC 1310 to provide platform-based power management based, for example, on whether the system is powered by a battery 1390 or by AC power via an AC adapter 1395. In addition to this power supply-based power management, the PMIC 1380 can further perform platform power management activities based on environmental and usage conditions. Still further, the PMIC 1380 can communicate control and status information to the SoC 1310 to trigger various power management operations within the SoC 1310.

[0080] 13, to provide wireless capabilities, a wireless LAN unit 1350 is coupled to the SoC 1310 and, in turn, to an antenna 1355. In various implementations, the WLAN unit 1350 can provide communications according to one or more wireless protocols.

[0081] As further shown, a number of sensors 1360 may be coupled to the SoC 1310. These sensors may include various accelerometers, environmental sensors, and other sensors, including user gesture sensors. Finally, an audio codec 1365 is coupled to the SoC 1310 and provides an interface to an audio output device 1370. It should of course be understood that while this particular implementation is shown in Figure 13, many variations and alternatives are possible.

[0082] Now, referring to FIG. 14, the notebook, Ultrabook TM 14, there is shown a block diagram of a representative computer system, such as a 32-bit LSI or other small form factor system. Processor 1410, in one embodiment, includes a microprocessor, a multi-core processor, a multi-threaded processor, a very low voltage processor, an embedded processor, or other known processing elements. In the illustrated implementation, processor 1410 serves as a main processing unit and a central hub for communicating with many of the various components of system 1400. In one example, processor 1400 is implemented as a SoC.

[0083] The processor 1410, in one embodiment, is in communication with a system memory 1415. As an illustrative example, the system memory 1415 is implemented via multiple memory devices or modules to provide a given amount of system memory.

[0084] Mass storage 1420 may also be coupled to processor 1410 to provide persistent storage of information such as data, applications, one or more operating systems, etc. In various embodiments, this mass storage may be implemented via SSDs to enable thinner and lighter system designs as well as improve system responsiveness, or this mass storage may be implemented primarily using hard disk drives with a smaller amount of SSD storage to act as an SSD cache and allow non-volatile storage of context state and other information during power down events so that faster power up occurs upon restart of system activity. Also shown in FIG. 14, a flash device 1422 may be coupled to processor 1410 via, for example, a serial peripheral interface (SPI). This flash device may provide non-volatile storage of system software, including basic input / output software (BIOS) as well as other firmware of the system.

[0085] Various input / output (I / O) devices may be present in the system 1400. In particular, shown in the embodiment of FIG. 14 is a display 1424, which may be a high definition LCD or LED panel that further provides a touch screen 1425. In one embodiment, the display 1424 may be coupled to the processor 1410 via a display interconnect, which may be implemented as a high performance graphics interconnect. The touch screen 1425 may be coupled to the processor 1410 via another interconnect. The interconnect, in one embodiment, may be an I 2 As further shown in FIG. 14, in addition to the touch screen 1425, user input as touch may be configured within the chassis and may have the same I / O as the touch screen 1425. 2 This can be done via a touchpad 1430, which can also be coupled to the C interconnect.

[0086] For perceptual computing and other purposes, various sensors may be present in the system and coupled to the processor 1410 in different ways. Certain inertial and environmental sensors may be coupled to the processor 1410 via a sensor hub 1440, e.g., 2 14, these sensors may include an accelerometer 1441, an ambient light (ALS) sensor 1442, a compass 1443, and a gyroscope 1444. Other environmental sensors may include one or more thermal sensors 1446 coupled to the processor 1410 via a system management bus (SMBus).

[0087] As can also be seen in Figure 14, various peripherals may be coupled to the processor 1410 via a low pin count (LPC) interconnect. In the illustrated embodiment, various components may be coupled via an embedded controller 1435. Such components may include a keyboard 1436 (e.g., coupled via a PS2 interface), a fan 1437, and a thermal sensor 1439. In some embodiments, a touchpad 1430 may also be coupled to the EC 1435 via a PS2 interface. Additionally, a security processor, such as a trusted platform module (TPM) 1438, may also be coupled to the processor 1410 via this LPC interconnect.

[0088] The system 1400 can communicate with external devices in a variety of ways, including wirelessly. In the embodiment shown in FIG. 14, there are various radio modules, each of which can correspond to a radio configured for a specific wireless communication protocol. One method for wireless communication over short distances, such as near field, can be via an NFC unit 1445, which in one embodiment can communicate with the processor 1410 via an SMBus. It should be noted that via this NFC unit 1445, devices in close proximity can communicate with each other.

[0089] As further seen in FIG. 14, the additional wireless units may include other short-range wireless engines, including a Wireless LAN unit 1450 and a Bluetooth unit 1452. The WLAN unit 1450 may be used to TM The Bluetooth unit 1452 can be used to realize short-range Bluetooth communication. TM These units can communicate with the processor 1410 via a given link.

[0090] In addition, wireless wide area communications may occur via the WWAN unit 1456, for example according to cellular or other wireless wide area protocols. The WWAN unit may in turn be coupled to a subscriber identity module (SIM) 1457. Additionally, a GPS module 1455 may also be present to enable receipt and use of location information. Note that in the embodiment shown in FIG. 14, the WWAN unit 1456 and an integrated capture device, such as a camera module 1454, may communicate over a given link.

[0091] An integrated camera module 1454 may be incorporated into the lid. An audio processor may be implemented via a digital signal processor (DSP) 1460 to provide audio input and output. The DSP may be coupled to the processor 1410 via a high definition audio (HDA) link. Similarly, the DSP 1460 may communicate with an integrated coder / decoder (CODEC) and amplifier 1462, which in turn may be coupled to an output speaker 1463, which may be implemented within the chassis. Similarly, the amplifier and CODEC 1462 may be coupled to receive audio input from a microphone 1465, which in one embodiment may be implemented via a dual array microphone (such as a digital microphone array) to provide high quality audio input to enable voice activated control of various operations within the system. It should also be noted that audio output may be provided from the amplifier / CODEC 1462 to a headphone jack 1464. While the embodiment of FIG. 14 is shown with these particular components, it should be understood that the scope of the invention is not limited in this respect.

[0092] The embodiments can be implemented in many different system types. Referring now to FIG. 15, a block diagram of a system according to one embodiment of the present invention is shown. As shown in FIG. 15, a multiprocessor system 1500 is a point-to-point interconnect system and includes a first processor 1570 and a second processor 1580 coupled via a point-to-point interconnect 1550. As shown in FIG. 15, each of the processors 1570 and 1580 can be a multi-core processor including a first and a second processor core (i.e., processor cores 1574a and 1574b, and processor cores 1584a and 1584b), although there may potentially be more cores in the processor. Each of the processors can include a PCU 1575, 1585 to perform processor-based power management, and includes a licensing circuit 1559 to perform power licensing in response to a request for non-speculative instruction execution and to perform pre-granting of frequency licensing for workload execution based on core TDP values, as described herein.

[0093] Still referring to FIG. 15, the first processor 1570 further includes a memory controller hub (MCH) 1572 and point-to-point interfaces 1576 and 1578. Similarly, the second processor 1580 includes an MCH 1582 and PP interfaces 1586 and 1588. As shown in FIG. 15, the MCHs 1572 and 1582 couple the processors to respective memories, i.e., memory 1532 and memory 1534, which may be part of a system memory (e.g., DRAM) locally attached to the respective processors. The first processor 1570 and the second processor 1580 may be coupled to a chipset 1590 via PP interconnects 1562 and 1564, respectively. As shown in FIG. 15, the chipset 1590 includes PP interfaces 1594 and 1598.

[0094] Additionally, the chipset 1590 includes an interface 1592 for coupling the chipset 1590 to a high performance graphics engine 1538 by way of a PP interconnect 1539. In turn, the chipset 1590 can be coupled to the first bus 1516 via an interface 1596. As shown in FIG. 15, various input / output (I / O) devices 1514 can be coupled to the first bus 1516 along with a bus bridge 1518 that couples the first bus 1516 to a second bus 1520. In one embodiment, various devices can be coupled to the second bus 1520, including, for example, a keyboard / mouse 1522, a communication device 1526, and a data storage unit 1528, such as a disk drive or other mass storage that can include code 1530. Additionally, an audio I / O 1524 can be coupled to the second bus 1520. The embodiment is suitable for use in a smart mobile phone, tablet computer, netbook, Ultrabook, etc. TM The present invention may be incorporated into other types of systems, including mobile devices such as

[0095] FIG. 16 is a block diagram illustrating an IP core development system 1600 that may be used to fabricate an integrated circuit for performing operations, according to one embodiment. The IP core development system 1600 may be used to generate modular, reusable designs that may be incorporated into a larger design or used to build an entire integrated circuit (e.g., an SoC integrated circuit). The design function 1630 may generate a software simulation 1610 of the IP core design in a high-level programming language (e.g., C / C++). The software simulation 1610 may be used to design, test, and verify the behavior of the IP core. A register transfer level (RTL) design may then be created or synthesized from the simulation model. The RTL design 1615 is an abstraction of the behavior of the integrated circuit that models the flow of digital signals between hardware registers, including associated logic that is implemented with the modeled digital signals. In addition to the RTL design 1615, lower level designs at the logic or transistor level may also be generated, designed, or synthesized. Thus, the specific details of the initial design and simulation may vary.

[0096] The RTL design 1615 or equivalent may be further synthesized by a design function into a hardware model 1620. The hardware model may be a hardware description language (HDL) or some other representation of the physical design data. The HDL may be further simulated or tested to verify the IP core design. The IP core design may be stored using a non-volatile memory 1640 (e.g., a hard disk, a flash memory, or any non-volatile storage medium) for delivery to a third-party manufacturing facility 1665. Alternatively, the IP core design may be transmitted via a wired connection 1650 or a wireless connection 1660 (e.g., via the Internet). The manufacturing facility 1665 may then manufacture an integrated circuit based at least in part on the IP core design. The manufactured integrated circuit may be configured to perform operations according to at least one embodiment described herein.

[0097] 17, a block diagram of a processor 1700 is shown in accordance with one embodiment of the present invention. The processor 1700 may include multiple cores 17020, 1702n, and optionally at least one other computational element 1712, such as a graphics engine. As shown, in the core 17020, each core 1702 i (i=1, n) is the execution circuit 1704 i , Out-of-Order (OOO) Circuit 1706 i , counter circuit 1708 i , and a current protection (IccP) controller 1710i. For example, the core 17020 includes an execution unit 17040, an OOO circuit unit 17060, a counter circuit 17080, and an IccP controller 17100. The processor 1700 also includes a power management unit 1730, which may include a summing circuit 1732 and a decision circuit 1734.

[0098] During operation, cores 17020, 1702 n Each of the and computational elements 1712 receives a respective IccP license request 17360, . . . , 1736 n Each license request can be issued by the core 1702. i Each IccP controller 1710 i (e.g., the IccP controller 17100 of the core 17020). The license request may then be sent to, for example, each execution unit 1704. i The sum of the power weights of the groups of instructions to be executed during a specified time period by the execution unit 17040 of the core 17020 may be based on the sum of the power weights of the groups of instructions to be executed during a specified time period by the execution unit 17040 of the core 17020. i For example, the size of the license request, e.g., the number of cores 1702 to execute a group of instructions in the run queue that will be executed in the first period. iThe magnitude of the maximum current (Icc) available to a group of instructions may be determined based on the sum of the power weights of the group of instructions. Note that this sum of the power weights may be based at least in part on the instruction width and type of instruction associated with the instructions, recognizing that a given instruction will not incur the same power consumption as other instructions of that instruction width, even if they are of a larger width.

[0099] Each core may request from the PMU 1730 for a different license associated with a different level of Icc. The PMU 1730 may take into account the license requirements of the different cores and determine an action according to the license requirements. The action may include, for example, changing the core frequency according to the license, increasing the guard band voltage, or another mechanism to limit the power supplied to the core. The PMU 1730 may decide to increase the guard band voltage, reduce some performance (e.g., reduce the core frequency), or take another action, or a combination thereof, according to the license required by the core. The PMU 1730 then determines the power requirements of each core / computation element (17020-17022). n ,1712), respectively, licenses 17380, 17381, , , , 1738 related to the maximum expected current draw (Icc) of the core / computational element. n (Figure 17, 17380-17383) can be issued.

[0100] For example, the OOO logic 17060 may identify instructions in a first group in an execution queue to be executed by the execution units 17040 of the core 17020 during a first time period. The OOO logic 17060 may provide an indication (e.g., an identified list) of the instructions of the first group to the counter logic 17080. The counter logic 17080 may determine a corresponding power weight for each instruction of the first group (e.g., via a look-up table or other data storage, which may be provided by the execution logic 17040 in one embodiment). Each power weight may have a respective value that is independent of the corresponding instruction width. The counter logic 17080 may determine a sum of the power weights for the first group. The counter logic 17080 may provide the sum of the power weights to the IccP controller 17100. The IccP controller may determine an IccP license request 17360 associated with a requested maximum current (Icc) of the core based on the sum of the power weights, and may transmit the IccP license request 17360 to the PMU 17300. Note that in an embodiment, the IccP controller 1710 may postpone sending a license request if one or more instructions forming the basis of such a license request are determined to be speculative, as described further herein. Nevertheless, in response to a received license request for a power license level that exceeds the current power license level, the IccP controller 1710 may be configured to issue a throttle signal that throttles execution of instructions in the cores 1702.

[0101] The PMU1730 is connected to each of the cores 17020, 1702 n(and optionally from one or more compute elements, such as compute element 1712), and PMU 1730 can determine a respective license for each of the cores and / or compute elements via a combination of summing logic 1732 and determination logic 1734. For example, in one embodiment, summing logic 1732 can sum the current requirements of each of the IccP license requests, and determination logic 1734 can determine a current capacity for each of the licenses 17380-1738 based on the sum of the requested Icc of the core / compute element and the total current capacity of PMU 1730. n The PMU 1730 determines the number of cores 17020, 1702, 1703, 1704, 1705, 1706, 1707, 1708, 1709, 1710, 1711, 1712, 1713, 1714, 1715, 1716, 1717, 1718, 171 n For IccP License 17380-1738 n And also core 17020, ..., 1702 n Power control parameters for 17400-1740 n The power control parameters may include, for each core / computing element, a respective core frequency and / or a guard band voltage. If the issued IccP license is not sufficient to satisfy the power requirements of all instructions in the queue (e.g., due to a higher than expected current demand), the IccP controller may, for example, indicate to the front-end of one or more cores that their throughput will be throttled (e.g., instructions will execute slower), and the IccP controller of each of the throttled cores may also issue a request for an updated license with a higher Icc. In one embodiment, the throttling and request for a license may occur before the first instruction in the queue is executed.

[0102] FIG. 18 is a block diagram of a processor according to one embodiment of the present invention. The processor 1800 includes multiple cores 18021-18022. NThe core 18021 includes a counter logic 1820, an IccP controller 1840, an out-of-order (OOO) logic 1860, and an execution logic 1880, as well as other components (not shown). In operation, the counter logic 1820 can receive an indication of each instruction executed in the execution queue for each cycle within a window of N cycles from the OOO 1860. The counter logic 1820 can determine a total power weight per cycle, for example, by retrieving a corresponding power weight associated with each instruction to be executed in the cycle and adding the retrieved power weights per cycle. The total power weight for a given cycle can be sent to the IccP controller 1840. The IccP controller can classify the total power weight for each cycle into one of a number of bins. Each bin corresponds to a power range within a threshold level ("T"). As an example, five bins are shown. However, in other embodiments, there may be more or fewer bins. As shown in FIG. 18, the bins are bin 1804 (below threshold 1), bin 1806 (>T1 and ≦T2), bin 1808 (>T2 and ≦T3), bin 1810 (>T3 and ≦T4), and bin 1812 (>T4). The sum of the power weights per cycle is placed into the appropriate bin. For example, the count associated with the appropriate bin is incremented by one. Note that the IccP controller 1840 can access such threshold information present in configuration registers 1850 and can be used to generate these thresholds based on different levels of licenses available to execute different instruction widths and types of instructions, as described further herein.

[0103] After the power weights for the N cycles are summed and the sums are placed in the appropriate bins, the results are combined in logic 1814. In one embodiment, the count of each bin sum may be multiplied by the bin's threshold level and the results may be summed to determine the power measure of the instructions in the N cycles. That is, each sum may be treated as a single count for the bin. (For example, three sums placed in a particular bin may be treated as three counts for the particular bin.) In one embodiment, it may be determined that the A sum's count is bin 1804 (T1), the B sum's count is bin 1806 (T2), the C sum's count is bin 1808 (T3), the D sum's count is bin 1810 (T4), and the E sum's count is bin 1812 (T5). The power measure may then be calculated as follows: Power measure=(T1)(A)+(T2)(B)+(T3)(C)+(T4)(D)+(T5)(E) (Formula 1)

[0104] The power measure may be transmitted to a license selection circuit 1816. The license selection circuit may determine a current protection (IccP) license size for the request based on the power measure. The license selection circuit 1816 may generate a corresponding license request 1818 to be transmitted to a power control unit 1860.

[0105] Still further, as shown in FIG. 18, if the IccP controller 1840 determines that the level of the license request is less than the current license level (as determined by comparator 1819), a throttle signal may be sent to OOO 1860, as described herein, causing throttling of instruction execution within core 1802.

[0106] Referring now to FIG. 19, a block diagram of a processor core is shown in accordance with one embodiment of the present invention. As shown in FIG. 19, core 1900 may be one of multiple processor cores in a given multi-core processor or other SoC. In relevant part, core 1900 includes circuitry for identifying instructions assigned for execution, including width and type of the instruction, and execution circuitry for executing such instructions. In addition, current protection control circuitry is present for determining an appropriate current license to seek execution of an instruction based at least in part on the width and type of the instruction. In addition, such controller may include circuitry for identifying the presence of a speculative instruction and deferring a license request until such an instruction becomes non-speculative.

[0107] As shown, the core 1900 includes a register alias table (RAT) 1910 that can receive incoming instructions for allocation, for example in the form of uops. The RAT 1910 can include one or more configuration registers 1915 that store information regarding default licenses for particular instruction types (including different default license levels based on the width of at least some of these instructions). Based on the width and type of the assigned instruction and the information in the configuration register 1915, an appropriate default license level for the instruction can be determined. The RAT 1910 can communicate this default license level to a current protection controller 1920. In addition, the execution circuitry 1930 (which itself can include various execution logic) can communicate information regarding the relative weight of the instructions executed per cycle as a cycle weight, which it provides to a counter 1940. In turn, the weighted count information is provided from the counter 1940 to the current protection controller 1920.

[0108] 19, the current protection controller 1920 includes an arrangement including a virus detection circuit 1922, an ICC controller 1925, and a throttle controller 1928. Based on weighted count information received from a counter 1940, the virus detection circuit 1922 can determine when a power virus is identified and issue a request for increased current to the ICC controller 1925. Based at least in part on this information, the ICC controller 1925 can issue a license request to send to a processor power controller (not shown in FIG. 19 for ease of illustration).

[0109] However, if one or more instructions are determined to be speculative, the ICC controller 1925 may postpone sending a license request since such one or more instructions may not actually be executed. The speculative nature of such one or more instructions may be communicated from the throttle controller 1928. It should be noted that in response to a request for a given license level that is greater than the current license grant, the throttle controller 1928 may issue a throttle signal (in response to a throttle request received from the ICC controller 1925). As will be further described, the ICC controller 1925 may also receive a license acknowledgement, for example, from a power controller. Although shown at this high level in the embodiment of FIG. 19, it should be understood that many variations and alternatives are possible.

[0110] 20, a block diagram of a configuration storage is shown, which may reside in a register alias table of a processor or other out-of-order engine. As shown in FIG. 20, the configuration storage 2000 includes a number of registers 20200-20200. nEach such register is associated with a given instruction (e.g., uop) type and may include multiple fields, each associated with a width of the given instruction. More specifically, as shown in FIG. 20, each configuration register 2020 includes multiple fields, including a type field 2010, identifying a given instruction (uop), and multiple width fields (2012, 2014, 2016, and 2018), each associated with a given bit width of the instruction. More specifically, as shown in the embodiment of FIG. 20, these bit widths range from 64 bits to 512 bits. Each field in each configuration register 2020 is configured to store a default license level that corresponds to an appropriate current consumption level for proper execution of instructions of that bit width. More specifically, each field stores a numeric value that corresponds to a default license level that may be required for proper execution of the instruction. Note that these default license levels may simply be numerical representations (e.g., a scale of 0-3 in the example of FIG. 20) rather than actual current levels. Of course, each such default license level may correspond to a given actual level.

[0111] Note that for certain wide instructions (e.g., load and store instructions), a default license level lower than the highest license level may be used. Furthermore, this lower default license level may allow certain high power consuming uops, e.g., 512-bit fused multiply add (FMA) uops, to be executed in a single execution unit. However, multiple such execution units may not be powered unless the highest current license is granted.

[0112] 21, a block diagram of a portion of a processor is shown according to one embodiment. As shown in FIG. 21, a portion of a core 2100 is shown including a register alias table 2160 coupled to an ICCP controller 2140. As can be further seen, the RAT 2160 is coupled to a number of fused multiply-add (FMA) execution circuits 21650-21651. In embodiments herein, by default, at least one of these two FMA execution circuits 2165 may be power gated in the absence of a maximum current license grant. Thus, upon receiving the highest current license level grant, the RAT 2160 may power gate both FMA circuits 2165. 0,1 can then issue uops (including 512b uops) to both execution circuits (each associated with a given execution port).

[0113] 22, a flow chart of a processor power management technique is shown, according to one embodiment. As shown in FIG. 22, method 2200 begins in OOO engine 2210 (generally OOO 2210) upon identifying an instruction (e.g., uop) that consumes a higher current license level than the currently granted current license level. Thus, OOO 2210 requests an increase in current license from MLC 2220. Further, note that OOO 2210 and MLC 2220 may enter a throttling period in response to this request for an increased current license level, which extends until the grant of the increased license level. Note that upon receiving this request for an increased current level, MLC 2220 begins an evaluation window (e.g., 64 cycles in one embodiment) and determines the appropriate license level to request based at least in part on weight information regarding instruction execution during the window.

[0114] At the end of this window, the MLC 2220 issues a license request to the power control unit 2230 for the appropriate current license level. Assuming sufficient budget is available, the PCU 2230 grants the license, which is received at the MLC 2220. The MLC 2220 in turn forwards the licensed instruction to the OOO 2210 along with a reset of the throttle indication so that the instruction may be issued and executed without further throttling. The instruction includes an instruction (e.g., a uop) that is at a higher power level than that called for by the license request (and now granted).

[0115] Similarly, Figure 23 shows another flow chart of a processor power management technique according to another embodiment. In Figure 23, method 2300 proceeds similarly between OOO engine 2310, MLC 2320, and PCU 2330. In this method, compared to method 2200, a weighted number of instructions per cycle can be used to request a higher license level. In other aspects, method 2300 may proceed as method 2200.

[0116] 24, a flow chart of a method is shown in accordance with another embodiment of the present invention. More specifically, method 2400 is a method of performing power control within a processor based at least in part on a license request and authorization protocol as described herein. Thus, method 2400 may be performed by current protection circuitry within a core and associated power controller, and thus may be performed by hardware circuitry, firmware, software, and / or combinations thereof.

[0117] As shown, the method 2400 begins by receiving an instruction at an allocation (block 2405). Such an instruction may be received at an out-of-order engine, such as a register alias table. A power license level for the instruction may be determined based on access to a power license table, which may be implemented in one or more configuration registers of the RAT. Then, at diamond 2415, it is determined whether the core is operating at at least this determined power license level. If so, the instruction is provided to a given execution unit for execution (block 2420).

[0118] Otherwise, if it is determined that the core is not operating at the requested power license level, then in block 2425, the core operation may be adjusted. Additionally, in block 2430, an evaluation window is opened to analyze the core activity to determine an appropriate power license level. During the window, activity information may be collected (block 2435). Such activity information may be obtained on a cycle-by-cycle basis, along with an indication of the number and width (and type) of instructions executed in each cycle. After it is determined that the window is complete (which may be 64 cycles in an exemplary embodiment), in diamond 2440, a power license level may be determined based on the activity information of the window (block 2445). As an example, the current protection controller may identify an appropriate power level, for example, with reference to a set of thresholds, each associated with a given power license level.

[0119] Still referring to FIG. 24, it is next determined whether the command (that triggered the increased power license level) is speculative (diamond 2450). If so, it is then determined whether the current throttle duration exceeds a given throttle threshold (diamond 2455). If not, the issuance of a license request to the power controller may be postponed (block 2460). If it is determined that the command is no longer speculative or that the throttle duration exceeds the threshold duration, then in block 2470 a license request for the determined power license level is sent to the power controller. Once this license grant is determined to have been received (at diamond 2480), control proceeds to block 2420 where the command is provided for execution. Although shown at this high level in the embodiment of FIG. 24, it should be understood that many variations and alternatives are possible.

[0120] Referring now to Figure 25, there is shown a flow chart of a method according to another embodiment of the present invention. As shown in Figure 25, method 2500 may be performed by current protection circuitry within a core and associated power controller, and thus may be performed by hardware circuits, firmware, software, and / or combinations thereof.

[0121] As shown, the method 2500 begins by receiving an instruction (e.g., a uop) at an allocation (block 2505). Such an instruction may be received at a register alias table or other out-of-order engine. Next, at diamond 2510, it is determined whether the instruction width is a first threshold width (which may be 64 bits in one exemplary embodiment). If so, the instruction may be identified as a first power level instruction (e.g., the lowest power level instruction). And, therefore, the lowest power license level is sufficient for execution of this instruction (block 2515). If instead, at diamond 2520, it is determined whether the instruction width is a second threshold width (which may be 128 bits in one exemplary embodiment), then it is determined whether the instruction is an arithmetic instruction (at diamond 2525). If so, the instruction is identified as a second power level instruction, which may correspond to a second power license level (block 2530). Otherwise, if the instruction is not an arithmetic instruction (e.g., a load or store instruction), control proceeds to block 2535, where the instruction is identified as a first power level instruction and, therefore, the lowest power license level is sufficient for execution of this instruction (block 2535).

[0122] 25, control passes from diamond 2520 to diamond 2540 to determine whether the instruction width is less than a third threshold. If so, then it is determined (at diamond 2550) whether the instruction is an arithmetic instruction. If not, the instruction is identified as a second power level instruction corresponding to the second power license level (block 2560). Otherwise, if the instruction is an arithmetic instruction, control passes to block 2565 where the instruction may be identified as a third power level instruction (greater than the first and second power levels) (block 2565).

[0123] Finally, if the instruction width exceeds the third threshold, control passes to diamond 2570 where it is determined whether the instruction is an arithmetic instruction. If so, the instruction is identified as a fourth, highest level instruction. Otherwise, if the instruction is not an arithmetic instruction, control passes to block 2575 where the instruction may be identified as a second power level instruction. Thus, in an embodiment, both instruction width and type may be considered in determining the appropriate power license level. Because throttling and increased license negotiations may be avoided for such instructions, providing the ability to execute non-arithmetic width instructions at lower power levels and with reduced latency. Although shown at this high level in the embodiment of FIG. 25, it should be understood that many variations and alternatives are possible.

[0124] As described above, the core circuitry can request power licensing before executing a given instruction type. While this configuration is suitable for enabling lower power operation when high power is required for a relatively small number of high power instructions, there may be overhead and latency in seeking such licenses (which may result in throttling, at least for a certain period of time, as described above). Thus, embodiments further allow the processor to be configured at a relatively fine-grained level (e.g., per core) with configurable thermal design power (TDL) levels, which acts as a pre-granularity of frequency licensing to ensure operation of a workload at a guaranteed operating frequency, even if the workload includes high power consuming instructions. Furthermore, this configuration can be used to provide a lower configurable TDP value (and thus a lower corresponding guaranteed operating frequency) to only those cores that actually execute such high power instructions, so that other cores can execute workloads lacking these higher power consuming instructions at a higher configurable TDP level (and thus a higher corresponding guaranteed operating frequency).

[0125] That is, one performance state available to a processor is the guaranteed performance state, also called the P1 performance state, which provides an operating frequency that ensures consistent performance under varying workloads. However, exceptions based on increased workload demands can result in deviations from this determinism, leading to jitter and erratic power management state changes. One given exception to such non-determinism is the execution of powerful, computationally intensive instructions, such as certain vector instructions.

[0126] In embodiments, per-core configuration parameters for configurable TDP settings may be implemented to provide consistent, deterministic behavior with varying workloads based on a given power budget. More specifically, embodiments may provide one or more configuration registers to which a scheduler may provide information enabling storage of dynamically configurable TDP values ​​for a given processor core or other processing circuitry. Although the scope of the invention is not limited in this respect, examples of such schedulers may be an operating system scheduler and / or a workload scheduler that has information regarding workloads to be scheduled to cores or other processing circuits.

[0127] Such configuration registers are updated based at least in part on dynamic scheduling information, such as during scheduling of a workload to a particular core, to enable the core to execute the workload in a deterministic manner by adhering to this configurable TDP value. A scheduler may provide the scheduling information that causes the update of these configuration registers during run-time. In one embodiment, the configuration registers may be implemented as one or more model specific registers (MSRs). In this manner, pre-grant of frequency license may occur prior to execution of a given workload on a given core. Note that the scheduler may then dynamically trigger such a change in the configurable TDP value for a next workload, thus providing a pre-grant frequency license for this next workload. In an embodiment, the per-core configurable TDP configuration may be exposed to the scheduler and other entities by a flag setting in a processor identification register, such as a given CPUID register.

[0128] In contrast, a typical processor has a single processor-wide TDP setting available that is set during system pre-boot, for example, by a basic input / output system (BIOS). In this conventional configuration, any change to the single processor-wide TDP value requires a platform reset, which is undesirable and increases latency and complexity. In such a typical configuration, when different types of applications are run on the processor, such a boot-time platform-wide setting can be detrimental to the performance of various applications that use higher performance instructions, such as various vector instructions including Advanced Vector Extensions (AVX) instructions (such as AVX2 and AVX-512) and additional ISA instructions such as Streaming SIMD Extensions (SSE) instructions.

[0129] As a result, embodiments can provide performance improvements for heterogeneous workloads that use both vector-based and non-vector-based instructions through per-core frequency licensing during runtime. Such runtime control can be achieved using one or more configuration registers and exposed to the scheduler to enable workload-based pre-granted frequency licensing on specific cores. In this way, heterogeneous workloads that may be typical in cloud-based deployments can be executed in a manner that allows complex real-time workloads to coexist with non-real-time workloads at higher performance levels.

[0130] In various embodiments, the scheduler can provide scheduling information in the form of a given power level for instructions present in the scheduling group. This power level information may take different forms in some cases depending on the type and width of the instructions present in the scheduling group, but the scheduler can provide one or more of such multiple power levels to the PCU or other power controller. In turn, the power controller can map a maximum power level for the instructions of the scheduling group to a given configurable TDP value and store it in a per-core configuration register, since the scheduler can further provide an indication of one or more cores on which the workload comprising this scheduling group should be executed. The power controller can then determine a guaranteed operating frequency based at least in part on the configurable TDP value. In this manner, the scheduled instructions can execute without the need for power license negotiation during execution of the instructions, and can further operate at a guaranteed operating frequency selected to avoid throttling or other conditions.

[0131] Table 1 below illustrates one exemplary set of power levels that may be associated with particular types of instructions. As can be seen, each different power level may be associated with a particular type and width of instruction. Thus, the scheduler may identify the most power consuming instruction of a scheduling group and provide the corresponding power level as scheduling information, in one embodiment, along with an indication of the core on which the scheduling group should execute. [Table 1]

[0132] Still further, embodiments may achieve higher performance and better performance per watt by providing per-core frequency level granting. Additionally, power saving may be achieved per core level based on the given workload being executed. Embodiments also provide an interface that allows a cloud orchestrator to identify a target platform with on-demand frequency licensing capabilities for deploying a particular workload suitable for such configurability. Although the scope of the invention is not limited in this respect, such workloads may include software-defined network workloads, other telecom-based workloads, and other workloads including financial workloads, high performance computing, and the like. By way of example, embodiments may enable the scheduling of different tiers of wireless network workloads to different cores operating at different configurable TDP values. For example, a physical layer (L1) portion of such a workload may include high power consuming instructions and thus may be scheduled to a core operating at a lower TDP value than other cores on which higher tier portions of the workload are scheduled.

[0133] In an embodiment, the base guaranteed operating frequency can be maintained at a relatively high value with configurable core TDP capabilities. That is, the entire computing platform can be configured at a first TDP level, resulting in various cores or other processing units operating at a first P1 operating frequency, and one or more other cores executing higher current consuming workloads, such as AVX workloads, can be configured at a second, lower TDP level. As a result, these cores operate at a second P1 operating frequency that is lower than the first P1 operating frequency. Thus, improved performance can be achieved instead of restricting the entire processor to this second, lower TDP level (and the second P1 operating frequency). It should be understood that while the embodiments described herein can be based on a pre-granted license request based on the presence of vector instructions, other workloads that consume more power can similarly cause the scheduler to request a lower configured TDP value for one or more cores to execute such workloads.

[0134] 26, there is shown a block diagram of a processor in accordance with an embodiment of the present invention. As shown in FIG. 26, the processor 2600 may be a multi-core processor or other type of SoC. As shown, the processor 2600 includes multiple cores 26100-26100. nIn different implementations, the cores 2610 may be homogeneous cores, and in other cases, at least some of the cores may be heterogeneous with respect to one another. In any case, a scheduler 2620 may itself be executable within the processor 2600 to provide workloads to the cores 2610. And, in embodiments herein, the scheduler 2620 may further provide scheduling information regarding the power consumption characteristics of the workloads to enable setting of configurable TDP information per core. In this manner, embodiments may ensure that a given workload executed on a core 2610 is executed in a deterministic manner. That is, deterministic performance is achieved by setting a configurable TDP value for a given core 2610 on which the workload is executed. This ensures that the selected core 2610 operates at a guaranteed operating frequency without throttling or other perturbation from this guaranteed operating frequency, providing substantially deterministic execution of the workload.

[0135] To this end, as further shown in FIG. 26, the scheduler 2620 provides per-core scheduling information to the PCU 2630. Such information may include or may be based on power levels, such as those set forth above in Table 1. As shown, the PCU 2630 stores a number of configuration registers 26320-2632. nMore specifically, a configuration register 2632 may be provided for each core, each storing a configurable TDP value determined by the PCU based at least in part on the scheduling information received from the scheduler 2620. As further shown in FIG. 26, the PCU 2630 also includes a pre-granted frequency license calculator 2635. In an embodiment, the frequency calculator 2635 may determine a guaranteed operating frequency for a core 2610 executing a particular workload based at least in part on a given configurable TDP value and other operating parameters, table information, etc. Thus, regardless of the power consumption characteristics of the instructions within the workload, such workload may be executed on the core 2610 without throttling or other perturbations, enabling deterministic operation at the appropriate guaranteed operating voltage and frequency.

[0136] As a specific example, assume that a processor is configured with a nominal TDP level of 150 watts. Based on the processor's configuration information, a guaranteed operating frequency that allows operation within the TDP budget at this nominal TDP level may be a first guaranteed operating frequency, e.g., 2.4 GHz. However, at such an operating level, if the workload includes a significant number of high power consuming instructions, one or more of thermal limitations, power limitations, current limitations, or other environmental conditions may be encountered, resulting in a throttling condition that will reduce the guaranteed operating frequency.

[0137] Instead, in one embodiment, if the scheduler determines that the workload includes high power consuming instructions, it communicates scheduling information to the PCU 2630, enabling the setting in one or more configuration registers 2632 to be set to a per-core configurable TDP value that is lower than the nominal TDP value. And, in turn, the pre-granted licensed frequency calculator 2635 can determine a guaranteed operating frequency at a lower level, e.g., 2.2 GHz. At such operating frequency level, the workload operates without reaching any kind of limit, avoiding throttling and ensuring deterministic operation. Although shown at this high level in the embodiment of FIG. 26, it should be understood that many variations and alternatives are possible.

[0138] 27 is a flow chart of a method according to another embodiment of the present invention. More specifically, method 2700 is a method for implementing per-core configurable TDP control according to one embodiment. Thus, method 2700 may be performed by hardware, firmware, software, and / or combinations thereof. As shown, method 2700 begins by exposing per-core configurable TDP capabilities as machine-specific registers (block 2710). For example, a CPUID register may set a flag in a given field to identify the processor's capabilities for such control.

[0139] Control then passes to block 2720, where a nominal TDP level may be configured for the computing platform. As one example, the BIOS or other firmware may set this nominal level. Control then passes to block 2730, where the computing platform enters a boot environment and the nominal TDP level may be set, for example, by the OS. At this point, the platform is ready for normal operation.

[0140] Thus, at block 2740, the scheduler may receive (or otherwise identify) scheduling information for a given workload. In one embodiment, this scheduling information may include power consumption information for instructions in the workload. For example, if the workload includes a significant number of high power consuming instructions, such as wide vector instructions, the scheduling information may identify a high power level, as shown in Table 1 above. Then, at block 2750, the scheduler may determine one or more cores for scheduling the workload. For example, in the case of heterogeneous cores, the scheduler may determine one or more cores to execute the workload based at least in part on the ability of the cores to execute certain instructions of the workload. For example, in the case of vector-based instructions, one or more cores having vector execution units may be selected.

[0141] Next, at block 2760, the scheduler may send scheduling information to the power controller. The scheduling information may include an indication of one or more cores on which the workload will be executed, as well as a power level. Control then proceeds to block 2770, where the PCU may set a per-core configurable TDP value for storage in at least one configuration register. Note that, as discussed above, a pre-granted licensed frequency calculator in the PCU may select an appropriate guaranteed operating frequency, such as one or more cores, based at least in part on this configurable TDP value. Finally, at block 2780, the scheduler may assign the workload to the determined one or more cores for execution. Thereafter, the scheduling loop may return to block 2740 for scheduling another workload. Although shown at this high level in the embodiment of FIG. 27, it should be understood that many variations and alternatives are possible.

[0142] The following examples relate to further embodiments.

[0143] In one example, a processor includes a plurality of cores, where at least some of the plurality of cores include an execution circuit and a current protection controller. The current protection controller may receive instruction width information and instruction type information associated with one or more instructions stored in an instruction queue prior to execution of the one or more instructions by the execution circuit, determine a power license level for the core based on the corresponding instruction width information and the instruction type information, generate a license request for the core corresponding to the power license level, and communicate the request to a power controller if the one or more instructions are non-speculative and defer communication of the request if at least one of the one or more instructions is speculative. The processor may further include a power controller coupled to the plurality of cores for granting a license to the current protection controller in response to the request.

[0144] In one example, the processor further comprises a register alias table for storing the instruction, the register alias table including a plurality of configuration registers for storing default power license information for a plurality of instructions, and the register alias table transmits a default power license level for a first instruction to the current protection controller.

[0145] In one example, a number of configuration registers each associated with an instruction type and each including a number of fields associated with an instruction width, and storing a default processor license level for the instruction type and the instruction width.

[0146] In one example, a register alias table is coupled to a first fused multiply-add circuit and a second fused multiply-add circuit, where at least the second fused multiply-add circuit is gated unless the core is licensed having a highest level.

[0147] In one example, the register alias table activates the second fused multiply-add circuit when the core receives a power license grant having a highest level.

[0148] In one example, the current protection controller further includes a throttle controller that, in response to a determination that the default power license level for the first instruction exceeds a current power license level of the core, sends a throttle signal to the register alias table to regulate execution of the one or more instructions.

[0149] In one example, the current protection circuit communicates a deferred request when the throttle duration of a throttle execution exceeds a threshold duration.

[0150] In one example, the current protection circuit communicates the deferred request in response to discarding the at least one speculative instruction.

[0151] In one example, the license request is generated with a power license level of a first level for one or more vector memory access instructions, and the license request is generated with a power license level of a second level for one or more vector operation instructions, the second level being greater than the first level.

[0152] In one example, the execution circuitry executes one or more 512-bit memory access instructions without throttling and regardless of the current power license level of the core.

[0153] In another example, a method includes receiving, in a power controller of a processor, scheduling information from a scheduler, a power level associated with a first workload including one or more vector instructions and identifying a first core among a plurality of cores of the processor to which the first workload is scheduled; setting, by the power controller, a first configuration register associated with the first core to a first TDP value based on the scheduling information, the first core being configured to operate in accordance with the first TDP value, the first TDP value being independent of TDP values ​​associated with other cores among the plurality of cores; and causing the first workload to be deterministically executed on the first core at a first guaranteed operating frequency based on the first TDP value.

[0154] In one example, the method further includes receiving, in the power controller, second scheduling information from the scheduler, a power level associated with a second workload and identifying a second core of the plurality of cores of the processor to which the second workload is scheduled; setting, by the power controller, a second configuration register associated with a second core to a second TDP value based on the scheduling information, wherein the second core is configured to operate in accordance with the second TDP value, the second TDP value being greater than the first TDP value; and causing the second workload to be deterministically executed on the second core at a second guaranteed operating frequency that is greater than the first guaranteed operating frequency.

[0155] In one example, the method further includes dynamically resetting the first configuration register to a second TDP value during a single boot of the processor, the first core being configured to operate in accordance with the second TDP value, and causing a third workload to be deterministically executed on the first core at the second guaranteed operating frequency.

[0156] In one example, the method further includes determining, via a flag in the identification storage, the presence of a plurality of configuration registers storing per-core configurable TDP values.

[0157] In one example, the method further includes setting the plurality of configuration registers to a nominal TDP value during a pre-boot environment of the system.

[0158] In one example, the method further includes independently updating at least a portion of the configuration registers to independent TDP values ​​based on workloads performed by the cores, and operating the first core at the first guaranteed operating frequency while operating at least one other core of the multiple cores at a second guaranteed operating frequency greater than the first guaranteed operating frequency.

[0159] In one example, the first TDP value includes a pre-granted frequency license for the first guaranteed operating frequency, enabling the first core to execute the first workload without throttling the first core.

[0160] In another example, a computer-readable storage medium includes instructions for performing the method of any of the above examples.

[0161] In a further example, a computer-readable storage medium includes data and is used by at least one machine to manufacture at least one integrated circuit to perform the method of any one of the above examples.

[0162] In yet another example, an apparatus includes means for carrying out the method of any one of the above examples.

[0163] In another example, a system includes a processor and a dynamic random access memory coupled to the processor, the processor including a plurality of cores and a plurality of configuration registers each storing a configurable TDP value for one of the plurality of cores, where the plurality of configuration registers are updatable during a single boot of the system, the processor further includes a power controller coupled to the plurality of cores, where the power controller receives scheduling information identifying a power level associated with a first workload including one or more vector instructions and a first core of the plurality of cores to which the first workload is scheduled, and based on the scheduling information, sets a first configuration register of the plurality of configuration registers to a first TDP value and configures the first core to operate according to the first TDP value, stores one or more others of the plurality of configuration registers to a nominal TDP value, and causes the first core to execute the first workload at a first guaranteed operating frequency based on the first TDP value.

[0164] In one example, the first core includes a current protection controller that receives instruction width information and instruction type information associated with the one or more instructions stored in an instruction queue prior to execution of the one or more instructions, determines a power license level for the core based on the corresponding instruction width information and instruction type information, generates a license request for the core corresponding to the power license level, and communicates the request to a power controller if the one or more instructions are non-speculative and defers communication of the request if at least one of the one or more instructions is speculative.

[0165] In one example, a power controller receives, at a power controller of a processor, scheduling information for identifying a power level associated with a second workload and a second core of the plurality of cores to which the second workload is scheduled, and sets a second configuration register of the plurality of configuration registers to the second TDP value to configure the second core to operate in accordance with a second TDP value based on the scheduling information, and causes the second core to execute the second workload at a second guaranteed operating frequency greater than the first guaranteed operating frequency based on the second TDP value.

[0166] It should be understood that various combinations of the above examples are possible.

[0167] It should be noted that the terms "circuit" and "circuitry" are used interchangeably herein. As used herein, these terms and the term "logic", alone or in any combination, are used to refer to analog circuits, digital circuits, hardwired circuits, programmable circuits, processor circuits, microcontroller circuits, hardware logic circuits, state machine circuits, and / or other types of physical hardware components. The embodiments may be used in many different types of systems. For example, in one embodiment, a communications device may be configured to perform various methods and techniques described herein. Of course, the scope of the invention is not limited to communications devices, and instead, other embodiments may be directed to other types of devices for processing instructions or one or more machine-readable media that contain instructions that, in response to being executed on a computing device, cause the device to perform one or more of the methods and techniques described herein.

[0168] The embodiments may be implemented in code and stored on a non-transitory storage medium having instructions stored thereon that can be used to program a system to execute the instructions. The embodiments may also be implemented in data and stored on a non-transitory storage medium that, when used by at least one machine, causes the at least one machine to fabricate at least one integrated circuit to perform one or more operations. Another embodiment may be implemented in a computer-readable storage medium that includes information that, when manufactured into an SoC or other processor, configures the SoC or other processor to perform one or more operations. The storage medium may include, but is not limited to, a floppy disk, an optical disk, a solid-state drive (SSD), a compact disk read-only memory (CD-ROM), a compact disk re-writeable memory (CD-RW), and a magneto-optical disk, a read-only memory (ROM), a random access memory (RAM) such as a static random access memory (DRAM), an erasable programmable read-only memory (EPROM), a flash memory, an electrically erasable programmable read-only memory (EEPROM), a magnetic or optical card, or a semiconductor device, or any type of medium suitable for storing electronic instructions.

[0169] 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, and it is intended that the appended claims cover all such modifications and variations that fall within the true spirit and scope of the present invention.

Claims

1. 1. A processor comprising: A plurality of cores, at least some of the plurality of cores being: An execution circuit; A current protection controller, receiving instruction width information and instruction type information associated with one or more instructions stored in an instruction queue prior to execution of the one or more instructions by the execution circuitry; determining a power license level for the core based on the corresponding instruction width information and the instruction type information; generating a power license request for the core corresponding to the power license level; determining whether the one or more instructions are speculative; and in response to determining that the one or more instructions are non-speculative, communicating the power license request to a power controller, and deferring communication of the request if at least one of the one or more instructions is speculative. a current protection controller; a plurality of cores; the power controller is coupled to the plurality of cores for granting a power license to the current protection controller in response to the power license request. Processor.

2. The processor further comprises: a register alias table for storing said instructions; the register alias table includes a plurality of configuration registers for storing default power license information for a plurality of instructions; the register alias table transmits a default power license level for a first command to the current protection controller; The processor of claim 1 .

3. Each of the plurality of configuration registers includes: including a plurality of fields associated with an instruction type and each field associated with an instruction width; storing a default processor license level for said instruction type and said instruction width; The processor of claim 2 .

4. the register alias table is coupled to the first fused multiply-add circuit and the second fused multiply-add circuit; at least the second fused multiply-add circuit is gated unless the core is licensed with a highest level. The processor of claim 2 .

5. the current protection controller responsive to determining that the at least one of the one or more instructions is speculative, postpones communication of the power license request to the power controller. The processor of claim 4.

6. The current protection controller further comprises: a throttle controller that, in response to determining that the default power license level for the first instruction exceeds a current power license level of the core, sends a throttle signal to the register alias table to throttle execution of the one or more instructions. The processor of claim 2 .

7. the current protection controller communicates the deferred power license request in response to determining that a throttle duration of the at least one command exceeds a threshold duration. The processor of claim 5 .

8. the current protection controller communicating the deferred power license request in response to discarding the at least one speculative command. The processor of claim 5 .

9. The current protection controller includes: generating the power license request having a power license level of a first level for one or more vector memory access instructions; and generating the power license request having a power license level of a second level for one or more vector operation instructions; The second level is greater than the first level. The processor of claim 1 .

10. the execution circuitry executes one or more 512-bit memory access instructions without throttling and regardless of a power license level of the core. The processor of claim 1 .

11. A non-transitory machine-readable storage medium having instructions stored thereon, the instructions, when executed by a machine, causing the machine to: receiving, at a power controller of the processor, from a scheduler, scheduling information indicating a power level associated with a first workload including one or more vector instructions and a first core of a plurality of cores of the processor to which the first workload is scheduled; setting, by the power controller, a first configuration register associated with a first core to a first power configuration setting based on the scheduling information, the first core being configured to operate according to the first power configuration setting, the first power configuration setting being independent of power configuration settings associated with other cores of the plurality of cores; determining a first guaranteed operating frequency based on the first power configuration setting in the first configuration register; causing the first workload to be executed on the first core at the first guaranteed operating frequency based on the first power configuration setting in the first configuration register, the first guaranteed operating frequency not being changed during execution of the first workload; performing a method comprising: A machine-readable storage medium.

12. The method further comprises: receiving, at the power controller, second scheduling information from the scheduler, the second scheduling information indicating a power level associated with a second workload and a second core of the plurality of cores of the processor to which the second workload is scheduled; setting, by the power controller based on the scheduling information, a second configuration register associated with a second core to a second power configuration setting, the second core being configured to operate according to the second power configuration setting, the second power configuration setting being greater than the first power configuration setting; determining a second guaranteed operating frequency based on the second power configuration setting in the second configuration register; executing the second workload on the second core at a second guaranteed operating frequency based on the second power configuration setting in the second configuration register, the second guaranteed operating frequency not being changed during execution of the second workload, and the second guaranteed operating frequency being greater than the first guaranteed operating frequency; 12. The machine-readable storage medium of claim 11, comprising:

13. The method further comprises: dynamically resetting the first configuration register to a second power configuration setting during a single boot of a processor, the first core being configured to operate according to the second power configuration setting; executing a third workload on the first core at the second guaranteed operating frequency, the second guaranteed operating frequency not being changed during execution of the third workload; 13. The machine-readable storage medium of claim 12, comprising:

14. The method further comprises: determining via a flag in the identification storage the presence of a plurality of configuration registers storing per-core configurable power configuration settings; 12. The machine-readable storage medium of claim 11, comprising:

15. The method further comprises: independently updating at least a portion of the plurality of configuration registers to independent power configuration settings based on workloads executed by the plurality of cores, wherein the first core operates at the first guaranteed operating frequency while at least one other core of the plurality of cores operates at a second guaranteed operating frequency that is greater than the first guaranteed operating frequency; 15. The machine-readable storage medium of claim 14, comprising:

16. the first power configuration setting includes a pre-granted frequency license for the first guaranteed operating frequency, enabling the first core to execute the first workload without throttling the first core.

12. The machine-readable storage medium of claim 11.

17. 1. A computing device comprising: one or more processors; a memory having a plurality of instructions stored therein; The instructions, when executed by the one or more processors, cause the computing device to perform a method according to any one of claims 11 to 16. Computing device.

18. at least one machine-readable storage medium having data stored thereon, when used by said at least one machine, causes said at least one machine to carry out the method according to any one of claims 11 to 16. A storage medium that is readable by at least one machine.

19. 17. Electronic device comprising means for carrying out the method according to any one of claims 11 to 16.

20. 1. A system comprising: a processor, the processor comprising: Multiple cores and a plurality of configuration registers; storing a power configuration setting for each of the plurality of cores and updateable during a single boot of the system; A plurality of configuration registers; a power controller coupled to the plurality of cores, receiving scheduling information indicating a power level associated with a first workload including one or more vector instructions and a first core of the plurality of cores to which the first workload is scheduled; setting a first configuration register of the plurality of configuration registers to a first power configuration setting based on the scheduling information and configuring the first core to operate according to the first power configuration setting; Meanwhile, one or more other configuration registers of the plurality of configuration registers store a nominal power configuration setting; determining a first guaranteed operating frequency based on the first power configuration setting in the first configuration register; and causing the first core to execute the first workload at the first guaranteed operating frequency based on the first power configuration setting in the first configuration register, the first guaranteed operating frequency not being changed during execution of the first workload; A power controller; a processor including: a dynamic random access memory coupled to the processor; Including, the system.

21. the first core includes a current protection controller; The current protection controller includes: receiving instruction width information and instruction type information associated with the one or more instructions stored in an instruction queue prior to execution of the one or more instructions; determining a power license level for the core based on the corresponding instruction width information and the instruction type information; generating a power license request for the first core corresponding to the power license level; determining whether the one or more instructions are speculative; and in response to determining that the one or more instructions are non-speculative, communicating the power license request to a power controller, and in response to determining that at least one of the one or more instructions is speculative, deferring communication of the power license request.

21. The system of claim 20.

22. The power controller, contemporaneously with execution of the first workload by the first core, receiving, at a power controller of the processor, scheduling information indicating a power level associated with a second workload and a second core of the plurality of cores to which the second workload is scheduled; and setting a second configuration register of the plurality of configuration registers to a second power configuration setting to configure the second core to operate according to the second power configuration setting based on the scheduling information; and causing the second core to execute a second workload at a second guaranteed operating frequency that is greater than the first guaranteed operating frequency, the second guaranteed operating frequency being determined based on the second power configuration setting in the second configuration register; 21. The system of claim 20.

Citation Information

Patent Citations

  • Providing core unit voltage and frequency control.

    JP2013539121A

  • Multi-core dynamic workload management

    JP2017503261A

  • Systems and methods for mutually exclusive activation of microprocessor resources to control maximum power

    US20070043960A1

  • Technique for providing service through data center

    US20120084389A1

  • Method And Apparatus To Control Current Transients In A Processor

    US20140317422A1