EP1387259A2 - Inter-processor control - Google Patents
Inter-processor control Download PDFInfo
- Publication number
- EP1387259A2 EP1387259A2 EP03291924A EP03291924A EP1387259A2 EP 1387259 A2 EP1387259 A2 EP 1387259A2 EP 03291924 A EP03291924 A EP 03291924A EP 03291924 A EP03291924 A EP 03291924A EP 1387259 A2 EP1387259 A2 EP 1387259A2
- Authority
- EP
- European Patent Office
- Prior art keywords
- processor
- instruction
- instructions
- unsupported
- supported
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/30098—Register arrangements
- G06F9/3012—Organisation of register space, e.g. banked or distributed register file
- G06F9/30134—Register stacks; shift registers
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/0223—User address space allocation, e.g. contiguous or non contiguous base addressing
- G06F12/023—Free address space management
- G06F12/0253—Garbage collection, i.e. reclamation of unreferenced memory
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/08—Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
- G06F12/0802—Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
- G06F12/0804—Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches with main memory updating
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/08—Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
- G06F12/0802—Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
- G06F12/0891—Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches using clearing, invalidating or resetting means
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/08—Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
- G06F12/12—Replacement control
- G06F12/121—Replacement control using replacement algorithms
- G06F12/126—Replacement control using replacement algorithms with special data handling, e.g. priority of data or instructions, handling errors or pinning
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/30098—Register arrangements
- G06F9/30101—Special purpose registers
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/38—Concurrent instruction execution, e.g. pipeline or look ahead
- G06F9/3802—Instruction prefetching
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/38—Concurrent instruction execution, e.g. pipeline or look ahead
- G06F9/3877—Concurrent instruction execution, e.g. pipeline or look ahead using a secondary processor, e.g. coprocessor
- G06F9/3879—Concurrent instruction execution, e.g. pipeline or look ahead using a secondary processor, e.g. coprocessor for non-native instruction execution, e.g. executing a command; for Java instruction set
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/50—Control mechanisms for virtual memory, cache or TLB
- G06F2212/502—Control mechanisms for virtual memory, cache or TLB using adaptive policy
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Definitions
- the present invention relates generally to processors and more specifically to coordinating the operation of multiple processors.
- multimedia functionality may include, without limitation, games, audio decoders, digital cameras, etc. It is thus desirable to implement such functionality in an electronic device in a way that, all else being equal, is fast, consumes as little power as possible and requires as little memory as possible. Improvements in this area are desirable.
- a system includes a first processor, a second processor coupled to the first processor, and memory coupled to both first and second processors.
- the first processor fetches supported instructions from memory and executes those instructions in a "run mode" until an unsupported instruction is detected.
- the second processor executes the unsupported instruction and determines whether there are less than a threshold number of supported instructions before another unsupported instruction. If there are less than the threshold number of supported instructions before another unsupported instruction, the first processor transitions to a "step-by-step" mode, wherein the second processor provides the "less than the threshold number of supported instructions” to the first processor so that the first processor executes, but does not fetch the instructions. If there are more than the threshold number of supported instructions before another unsupported instruction, the first processor transitions to the "run mode" in order to fetch and execute the instructions until the next unsupported instruction is detected.
- the subject matter disclosed herein generally relates to processing systems that use a plurality of processors.
- the use of multiple processors may provide a variety of benefits, such as, faster processing, greater throughput, multi-tasking, etc., but may also require a more complex control scheme than systems that use a single processor.
- the preferred embodiment of the invention disclosed herein relates to coordinating the operation of multiple processors, wherein at least one of the processors has a plurality of instruction execution modes.
- multiple processors may be used to run applications comprising a plurality of instructions.
- a first processor may execute some of the instructions and a second processor may execute other instructions.
- the instructions of an application are executed in a program order (i.e., the instructions are not executed out of order or in parallel by the first and second processors).
- the first processor may execute one or more consecutive instructions, during which the second processor waits or performs another task until an instruction to be executed by the second processor is encountered by the first processor.
- the second processor executes the next instruction (or multiple instructions), during which time the first processor waits or performs another task.
- the overhead e.g., the performance cost of switching context and launching processes
- the overhead can be reduced by coordinating two or more execution modes of the first processor and/or second processor with a known order (i.e. arrangement, pattern, etc.) of instructions to be executed.
- Execution modes preferably comprise a first mode, termed “run mode,” in which a processor fetches instructions from memory and executes the instructions, and a second mode, termed “step-by-step mode,” in which the processor executes, but does not fetch instructions.
- the run mode of a processor may be used when more than a threshold number of consecutive instructions (e.g., three or more) are to be executed by the same processor, while the step-by-step mode of a processor may be used when less than a threshold number of consecutive instructions are to be executed by the processor.
- the step-by-step mode also may be used to update internal registers of the first processor that are accessible through instruction operand source or destination.
- a first processor switches between the run mode and step-by-step mode described above and a second processor coordinates when the mode switches occur according to an order, arrangement, or pattern of instructions.
- the second processor may use a threshold number of consecutive instructions as previously described to coordinate the mode switches of the first processor.
- the second processor also may provide instructions to the first processor when the first processor is in the step-by-step mode such that the first processor does not fetch those instructions. Therefore, when in the step-by-step mode, a program counter of the first processor (typically used for fetching new instructions) may not be updated because the instructions are provided by the second processor
- the first and second processors may be coupled together and used to operate a portable, battery-operated cell phone.
- a cell phone, or mobile communication device may comprise an integrated keypad 112, display 114, and outer case 115.
- Electronic components and software including at least some of the components disclosed herein, may be included in electronics package 110 connected to the keypad 112, display 114, and radio frequency ("RF") circuitry 116.
- the RF circuitry 116 may be connected to an antenna 118.
- the system 200 may comprise a first processor 202, a second processor 204 coupled to the first processor 200 through an inter-processor bus 220, and memory 206 coupled to the first and second processors 202, 204 through memory buses 222, 224, respectively.
- the inter-processor bus 220 is a dedicated bus (i.e., the bus is permanently assigned for a specific function), although other embodiments may use other existing bus interfaces (e.g., memory interface and peripheral interface).
- the first processor 202 may comprise decode logic 210 coupled to fetch logic 212.
- the decode logic 210 also may couple to port 214 through a switch 230.
- the port 214 also may couple to registers 216.
- the second processor 204 may include a control program 218. Other components (not shown) may be included as well.
- “Supported” instructions include instructions that are executed or executable by the first processor 202.
- "Unsupported” instructions include instructions that are not executable by the first processor 202. Additionally, unsupported instructions may include instructions that are executable by the first processor, but are assigned or otherwise allocated to be executed by the second processor.
- the system 200 may execute applications that contain both supported and unsupported instructions.
- the first processor 202 executes the supported instructions and the second processor 204 executes the unsupported instructions.
- the first processor 202 fetches and executes supported instructions in the run mode until an unsupported instruction is detected. More specifically, in the first processor's run mode, the fetch logic 212 of the first processor 202 fetches supported instructions from memory 206 through the memory bus 224 and the decode logic 210 decodes the fetched instructions. If the first processor 202 or the control program 218 of the second processor 204 detects or otherwise encounters an unsupported instruction, the second processor 204 is activated or switches context from a previous task to execute the unsupported instruction.
- the first processor 202 may fetch the unsupported instruction, store the unsupported instruction in registers 216, and send a signal via the inter-processor bus 220 to the second processor 204.
- the second processor 204 retrieves the unsupported instruction from registers 216 using, for example, a read instruction.
- the first processor may fetch the unsupported instruction from memory 206 through the memory bus 222.
- control program 218 running on the second processor 204 may detect the unsupported instruction by inspecting instructions that are yet to be executed. When the control program 218 detects an unsupported instruction, the second processor 204 activates or switches context to execute the unsupported instruction.
- the timing of when the second processor 204 activates or switches context is preferably coordinated to allow the first and second processors 202, 204 to optimize overall efficiency. For example, it may be more efficient for the second processor 204 to finish a present task before executing the unsupported instruction (i.e. the performance cost of switching context may be greater than the benefit of parallel processing).
- a pre-determined priority known by the control program 218 determines when the second processor 204 finishes a task, switches context, executes the unsupported instruction, etc.
- control program 218 may examine instructions that are yet to be executed to differentiate supported and unsupported instructions. More specifically, the control program 218 may examine instruction "signatures" (e.g., instruction type or length) to detect an unsupported instruction, whereby the second processor 204 activates or switches context to execute the unsupported instruction as described above.
- instruction "signatures" e.g., instruction type or length
- control program 218 may examine an order, arrangement, or pattern of supported and unsupported instructions yet to be executed. As previously mentioned, the control program 218 may use instruction signatures to detect supported and unsupported instructions. If more than a threshold number of consecutive supported instructions (e.g., three or more) are detected, the control program 218 causes the first processor 202 to transition to the run mode whereby the supported instructions are fetched from memory 206 and executed by the first processor 202 as previously described. If less than the threshold number of consecutive supported instructions are detected, the control program 218 causes the first processor 202 to transition to the step-by-step mode described below.
- a threshold number of consecutive supported instructions e.g., three or more
- the second processor fetches a supported instruction from memory 206 through memory bus 222, and loads the instruction in the decode logic 210 of the first processor 202.
- the switch 230 closes when the first processor 202 transitions to the step-by-step mode so that the control logic 210 is connected to port 214 and may be accessed by the second processor 204.
- the switch 230 may comprise any electrical apparatus for controlling the coupling of port 214 to decode logic 210.
- the second processor 204 may load supported instructions to the decode logic 210 of the first processor 202 using a memory mapped instruction buffer, co-processor instruction, or other instruction, wherein the supported instructions are sent from the second processor 204 via the inter-processor bus 220, port 214, and switch 230 to the decode logic 210 of first processor 204 for decoding and subsequent execution in the first processor 202.
- the step-by-step mode described above is maintained to execute less than a threshold number of supported instructions until the control program 218 determines an unsupported instruction is the next (or current) instruction in an application to be executed.
- the second processor 204 then fetches and executes the unsupported instruction as described above.
- the control program 218 may examine the order, arrangement, or pattern of supported and unsupported instructions yet to be executed before, during, or after each unsupported instruction is executed such that the run modes and step-by-step modes of the first processor 202 are coordinated as described herein.
- Figure 3 is a flowchart illustrating a method 300 of coordinating multiple execution modes of a processor in accordance with an embodiment of the invention.
- the method 300 may begin at block 302 when a first processor 202 fetches and decodes instructions.
- Block 302 may be the run mode described above.
- an unsupported instruction is detected and in block 306 a second processor 204 executes the unsupported instruction. If, at 308, there are less than a threshold number of supported instructions before another unsupported instruction, the second processor 204 provides any supported instructions to the first processor for execution thereon (block 310).
- Block 310 may be the step-by-step mode described above, after which control loops back to block 306 in which the second processor 204 executes the "current" unsupported instruction.
- the method 300 is able to repeat (as shown) in order to allow continuous coordination of multiple processors.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Advance Control (AREA)
- Executing Machine-Instructions (AREA)
- Devices For Executing Special Programs (AREA)
Abstract
Description
- The present invention relates generally to processors and more specifically to coordinating the operation of multiple processors.
- Many types of electronic devices are battery operated and thus preferably consume as little power as possible. An example is a cellular telephone. Further, it may be desirable to implement various types of multimedia functionality in an electronic device such as a cell phone. Examples of multimedia functionality may include, without limitation, games, audio decoders, digital cameras, etc. It is thus desirable to implement such functionality in an electronic device in a way that, all else being equal, is fast, consumes as little power as possible and requires as little memory as possible. Improvements in this area are desirable.
- As disclosed herein, a system includes a first processor, a second processor coupled to the first processor, and memory coupled to both first and second processors. The first processor fetches supported instructions from memory and executes those instructions in a "run mode" until an unsupported instruction is detected. In accordance with at least some embodiments of the invention, the second processor executes the unsupported instruction and determines whether there are less than a threshold number of supported instructions before another unsupported instruction. If there are less than the threshold number of supported instructions before another unsupported instruction, the first processor transitions to a "step-by-step" mode, wherein the second processor provides the "less than the threshold number of supported instructions" to the first processor so that the first processor executes, but does not fetch the instructions. If there are more than the threshold number of supported instructions before another unsupported instruction, the first processor transitions to the "run mode" in order to fetch and execute the instructions until the next unsupported instruction is detected.
- Certain terms are used throughout the following description and claims to refer to particular system components. As one skilled in the art will appreciate, semiconductor companies may refer to a component by different names. This document does not intend to distinguish between components that differ in name but not function. In the following discussion and in the claims, the terms "including" and "comprising" are used in an open-ended fashion, and thus should be interpreted to mean "including, but not limited to...". Also, the term "couple" or "couples" is intended to mean either an indirect or direct connection. Thus, if a first device couples to a second device, that connection may be through a direct connection, or through an indirect connection via other devices and connections.
- For a more detailed description of the preferred embodiments of the present invention, reference will now be made to the accompanying drawings, wherein:
- Figure 1 depicts a communication device in which a preferred embodiment of the invention may be implemented;
- Figure 2 shows a diagram of a system in accordance with an embodiment of the invention; and
- Figure 3 shows a flowchart illustrating a method of coordinating the operation of multiple processors in accordance with an embodiment of the invention.
-
- The following discussion is directed to various embodiments of the invention. Although one or more of these embodiments may be preferred, the embodiments disclosed should not be interpreted, or otherwise used, as limiting the scope of the disclosure, including the claims, unless otherwise specified. In addition, one skilled in the art will understand that the following description has broad application, and the discussion of any embodiment is meant only to be exemplary of that embodiment, and not intended to intimate that the scope of the disclosure, including the claims, is limited to that embodiment.
- The subject matter disclosed herein generally relates to processing systems that use a plurality of processors. The use of multiple processors may provide a variety of benefits, such as, faster processing, greater throughput, multi-tasking, etc., but may also require a more complex control scheme than systems that use a single processor. In particular, the preferred embodiment of the invention disclosed herein relates to coordinating the operation of multiple processors, wherein at least one of the processors has a plurality of instruction execution modes.
- In some processing systems, multiple processors may be used to run applications comprising a plurality of instructions. A first processor may execute some of the instructions and a second processor may execute other instructions. In some embodiments, the instructions of an application are executed in a program order (i.e., the instructions are not executed out of order or in parallel by the first and second processors). For example, the first processor may execute one or more consecutive instructions, during which the second processor waits or performs another task until an instruction to be executed by the second processor is encountered by the first processor. The second processor executes the next instruction (or multiple instructions), during which time the first processor waits or performs another task. The overhead (e.g., the performance cost of switching context and launching processes) related to using multiple processors as described above can be reduced by coordinating two or more execution modes of the first processor and/or second processor with a known order (i.e. arrangement, pattern, etc.) of instructions to be executed.
- Execution modes preferably comprise a first mode, termed "run mode," in which a processor fetches instructions from memory and executes the instructions, and a second mode, termed "step-by-step mode," in which the processor executes, but does not fetch instructions. In a preferred embodiment, the run mode of a processor may be used when more than a threshold number of consecutive instructions (e.g., three or more) are to be executed by the same processor, while the step-by-step mode of a processor may be used when less than a threshold number of consecutive instructions are to be executed by the processor. The step-by-step mode also may be used to update internal registers of the first processor that are accessible through instruction operand source or destination.
- In at least some embodiments, a first processor switches between the run mode and step-by-step mode described above and a second processor coordinates when the mode switches occur according to an order, arrangement, or pattern of instructions. For example, the second processor may use a threshold number of consecutive instructions as previously described to coordinate the mode switches of the first processor. The second processor also may provide instructions to the first processor when the first processor is in the step-by-step mode such that the first processor does not fetch those instructions. Therefore, when in the step-by-step mode, a program counter of the first processor (typically used for fetching new instructions) may not be updated because the instructions are provided by the second processor
- In at least some embodiments, the first and second processors may be coupled together and used to operate a portable, battery-operated cell phone. As shown in Figure 1, a cell phone, or mobile communication device, may comprise an integrated
keypad 112,display 114, andouter case 115. Electronic components and software including at least some of the components disclosed herein, may be included inelectronics package 110 connected to thekeypad 112, display 114, and radio frequency ("RF")circuitry 116. TheRF circuitry 116 may be connected to anantenna 118. - Referring now to Figure 2, a
system 200 is shown in accordance with a preferred embodiment of the invention. As shown, thesystem 200 may comprise afirst processor 202, asecond processor 204 coupled to thefirst processor 200 through aninter-processor bus 220, andmemory 206 coupled to the first and 202, 204 throughsecond processors 222, 224, respectively. In a preferred embodiment, thememory buses inter-processor bus 220 is a dedicated bus (i.e., the bus is permanently assigned for a specific function), although other embodiments may use other existing bus interfaces (e.g., memory interface and peripheral interface). Thefirst processor 202 may comprisedecode logic 210 coupled tofetch logic 212. Thedecode logic 210 also may couple toport 214 through aswitch 230. Theport 214 also may couple to registers 216. Thesecond processor 204 may include acontrol program 218. Other components (not shown) may be included as well. - For the purpose of describing the embodiments of the invention, two categories of instructions ("supported" and "unsupported") will be described herein. "Supported" instructions include instructions that are executed or executable by the
first processor 202. "Unsupported" instructions include instructions that are not executable by thefirst processor 202. Additionally, unsupported instructions may include instructions that are executable by the first processor, but are assigned or otherwise allocated to be executed by the second processor. In general, thesystem 200 may execute applications that contain both supported and unsupported instructions. In at least some embodiments of the invention, thefirst processor 202 executes the supported instructions and thesecond processor 204 executes the unsupported instructions. - In operation, the
first processor 202 fetches and executes supported instructions in the run mode until an unsupported instruction is detected. More specifically, in the first processor's run mode, thefetch logic 212 of thefirst processor 202 fetches supported instructions frommemory 206 through thememory bus 224 and thedecode logic 210 decodes the fetched instructions. If thefirst processor 202 or thecontrol program 218 of thesecond processor 204 detects or otherwise encounters an unsupported instruction, thesecond processor 204 is activated or switches context from a previous task to execute the unsupported instruction. - For example, the
first processor 202 may fetch the unsupported instruction, store the unsupported instruction inregisters 216, and send a signal via theinter-processor bus 220 to thesecond processor 204. In response, thesecond processor 204 retrieves the unsupported instruction fromregisters 216 using, for example, a read instruction. In other embodiments, the first processor may fetch the unsupported instruction frommemory 206 through thememory bus 222. - In other possible embodiments, the
control program 218 running on thesecond processor 204 may detect the unsupported instruction by inspecting instructions that are yet to be executed. When thecontrol program 218 detects an unsupported instruction, thesecond processor 204 activates or switches context to execute the unsupported instruction. The timing of when thesecond processor 204 activates or switches context is preferably coordinated to allow the first and 202, 204 to optimize overall efficiency. For example, it may be more efficient for thesecond processors second processor 204 to finish a present task before executing the unsupported instruction (i.e. the performance cost of switching context may be greater than the benefit of parallel processing). In some embodiments, a pre-determined priority known by thecontrol program 218 determines when thesecond processor 204 finishes a task, switches context, executes the unsupported instruction, etc. - As mentioned above, the
control program 218 may examine instructions that are yet to be executed to differentiate supported and unsupported instructions. More specifically, thecontrol program 218 may examine instruction "signatures" (e.g., instruction type or length) to detect an unsupported instruction, whereby thesecond processor 204 activates or switches context to execute the unsupported instruction as described above. - In addition to detecting unsupported instructions, the
control program 218 may examine an order, arrangement, or pattern of supported and unsupported instructions yet to be executed. As previously mentioned, thecontrol program 218 may use instruction signatures to detect supported and unsupported instructions. If more than a threshold number of consecutive supported instructions (e.g., three or more) are detected, thecontrol program 218 causes thefirst processor 202 to transition to the run mode whereby the supported instructions are fetched frommemory 206 and executed by thefirst processor 202 as previously described. If less than the threshold number of consecutive supported instructions are detected, thecontrol program 218 causes thefirst processor 202 to transition to the step-by-step mode described below. - In the step-by-step mode, the second processor fetches a supported instruction from
memory 206 throughmemory bus 222, and loads the instruction in thedecode logic 210 of thefirst processor 202. In at least some embodiments, theswitch 230 closes when thefirst processor 202 transitions to the step-by-step mode so that thecontrol logic 210 is connected to port 214 and may be accessed by thesecond processor 204. Theswitch 230 may comprise any electrical apparatus for controlling the coupling ofport 214 to decodelogic 210. Thesecond processor 204 may load supported instructions to thedecode logic 210 of thefirst processor 202 using a memory mapped instruction buffer, co-processor instruction, or other instruction, wherein the supported instructions are sent from thesecond processor 204 via theinter-processor bus 220,port 214, and switch 230 to thedecode logic 210 offirst processor 204 for decoding and subsequent execution in thefirst processor 202. - The step-by-step mode described above is maintained to execute less than a threshold number of supported instructions until the
control program 218 determines an unsupported instruction is the next (or current) instruction in an application to be executed. Thesecond processor 204 then fetches and executes the unsupported instruction as described above. Thecontrol program 218 may examine the order, arrangement, or pattern of supported and unsupported instructions yet to be executed before, during, or after each unsupported instruction is executed such that the run modes and step-by-step modes of thefirst processor 202 are coordinated as described herein. - Figure 3 is a flowchart illustrating a
method 300 of coordinating multiple execution modes of a processor in accordance with an embodiment of the invention. As shown in Figure 3, themethod 300 may begin atblock 302 when afirst processor 202 fetches and decodes instructions.Block 302 may be the run mode described above. In 304, an unsupported instruction is detected and in block 306 asecond processor 204 executes the unsupported instruction. If, at 308, there are less than a threshold number of supported instructions before another unsupported instruction, thesecond processor 204 provides any supported instructions to the first processor for execution thereon (block 310).Block 310 may be the step-by-step mode described above, after which control loops back to block 306 in which thesecond processor 204 executes the "current" unsupported instruction. If, at 308, there are not less than a threshold number of supported instruction before another unsupported instruction, control loops back to block 302 in which thefirst processor 202 fetches and decodes instructions. In a preferred embodiment, themethod 300 is able to repeat (as shown) in order to allow continuous coordination of multiple processors. - While the preferred embodiments of the present invention have been shown and described, modifications thereof can be made by one skilled in the art without departing from the spirit and teachings of the invention. The embodiments described herein are exemplary only, and are not intended to be limiting. Many variations and modifications of the invention disclosed herein are possible and are within the scope of the invention. Accordingly, the scope of protection is not limited by the description set out above. Each and every claim is incorporated into the specification as an embodiment of the present invention.
Claims (10)
- A systems comprising:a first processor having fetch logic and decode logic, the first processor fetches instructions
from memory using said fetch logic and decodes said instructions with said decode
logic; anda second processor coupled to said first processor, the second processor fetches an
instruction from memory, loads said instruction in the decode logic of the first processor, thereby permitting the first processor to decode said instruction without
using the fetch logic. - The system of claim 1 wherein said first processor includes a port, the port is coupled to
the decode logic and addressable by the second processor. - The system of claim 2 wherein said loads said instruction in the decode logic of the first
processor comprises writing to a pre-determined address mapped to the port. - The system of claim 1, claim 2 or claim 3 wherein the first processor switches between at least two modes of operation.
- The system of claim 4 wherein the first processor said fetches instructions from memory using said fetch logic and decodes said instructions with said decode logic in a first mode of said at least two modes of operation.
- The system of claim 4 or claim 5 wherein the second processor said fetches an instruction from
memory, loads said instruction in the decode logic of the first processor, thereby permitting the first processor to decode said instruction without using the fetch logic in a second mode of said at least two modes of operation. - A method, comprising:fetching and decoding instructions in a first processor;detecting an unsupported instruction that is not executable by the first processor;executing said unsupported instruction in a second processor; andproviding the first processor with a supported instruction that is executable in the first
processor without the first processor fetching saidinstruction. - The method of claim 7 wherein providing the first processor with a supported instruction
comprises loading the supported instruction in decode logic of the first processor. - The method of claim 7 or claim 8 further comprising detecting patterns of supported and
unsupported instructions yet to be executed to determine when to perform said providing the first processor with a supported instruction that is executable in the first processor without the first processor fetching said instruction. - The method of claim 9 wherein said patterns comprise an unsupported instruction followed by less than a threshold number of consecutive supported instruction before the next unsupported instruction.
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP03291924.3A EP1387259B1 (en) | 2002-07-31 | 2003-07-30 | Inter-processor control |
| US10/631,196 US7543014B2 (en) | 2002-07-31 | 2003-07-31 | Saturated arithmetic in a processing unit |
| US10/631,120 US7434029B2 (en) | 2002-07-31 | 2003-07-31 | Inter-processor control |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US40039102P | 2002-07-31 | 2002-07-31 | |
| US400391P | 2002-07-31 | ||
| EP03291924.3A EP1387259B1 (en) | 2002-07-31 | 2003-07-30 | Inter-processor control |
Publications (3)
| Publication Number | Publication Date |
|---|---|
| EP1387259A2 true EP1387259A2 (en) | 2004-02-04 |
| EP1387259A3 EP1387259A3 (en) | 2008-01-02 |
| EP1387259B1 EP1387259B1 (en) | 2017-09-20 |
Family
ID=38605557
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| EP03291924.3A Expired - Lifetime EP1387259B1 (en) | 2002-07-31 | 2003-07-30 | Inter-processor control |
Country Status (2)
| Country | Link |
|---|---|
| US (2) | US7543014B2 (en) |
| EP (1) | EP1387259B1 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8230425B2 (en) | 2007-07-30 | 2012-07-24 | International Business Machines Corporation | Assigning tasks to processors in heterogeneous multiprocessors |
Families Citing this family (18)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| GB2389433B (en) * | 2002-06-08 | 2005-08-31 | Motorola Inc | Bit exactness support in dual-mac architecture |
| JP4699685B2 (en) | 2003-08-21 | 2011-06-15 | パナソニック株式会社 | Signal processing apparatus and electronic apparatus using the same |
| US8209366B2 (en) * | 2005-02-28 | 2012-06-26 | Hitachi Global Storage Technologies Netherlands B.V. | Method, apparatus and program storage device that provides a shift process with saturation for digital signal processor operations |
| US8914618B2 (en) | 2005-12-29 | 2014-12-16 | Intel Corporation | Instruction set architecture-based inter-sequencer communications with a heterogeneous resource |
| US20070250689A1 (en) * | 2006-03-24 | 2007-10-25 | Aris Aristodemou | Method and apparatus for improving data and computational throughput of a configurable processor extension |
| US7778822B2 (en) * | 2006-05-19 | 2010-08-17 | Sony Ericsson Mobile Communications Ab | Allocating audio processing among a plurality of processing units with a global synchronization pulse |
| US8006068B1 (en) * | 2007-04-18 | 2011-08-23 | Xilinx, Inc. | Processor access to data cache with fixed or low variable latency via instructions to an auxiliary processing unit |
| US20080259036A1 (en) * | 2007-04-20 | 2008-10-23 | Jeffry Mixdorf | Ergonomic keys |
| US8095735B2 (en) | 2008-08-05 | 2012-01-10 | Convey Computer | Memory interleave for heterogeneous computing |
| US9710384B2 (en) * | 2008-01-04 | 2017-07-18 | Micron Technology, Inc. | Microprocessor architecture having alternative memory access paths |
| US8972958B1 (en) | 2012-10-23 | 2015-03-03 | Convey Computer | Multistage development workflow for generating a custom instruction set reconfigurable processor |
| US20100063825A1 (en) * | 2008-09-05 | 2010-03-11 | Apple Inc. | Systems and Methods for Memory Management and Crossfading in an Electronic Device |
| US8560814B2 (en) * | 2010-05-04 | 2013-10-15 | Oracle International Corporation | Thread fairness on a multi-threaded processor with multi-cycle cryptographic operations |
| CN104185838B (en) * | 2011-12-30 | 2017-12-22 | 英特尔公司 | Use reduction instruction set core |
| WO2013101147A1 (en) * | 2011-12-30 | 2013-07-04 | Intel Corporation | Configurable reduced instruction set core |
| US10430190B2 (en) | 2012-06-07 | 2019-10-01 | Micron Technology, Inc. | Systems and methods for selectively controlling multithreaded execution of executable code segments |
| US9329870B2 (en) | 2013-02-13 | 2016-05-03 | International Business Machines Corporation | Extensible execution unit interface architecture with multiple decode logic and multiple execution units |
| GB2632144B (en) * | 2023-07-26 | 2025-10-15 | Advanced Risc Mach Ltd | Clipping operations using partial clip instructions |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP0811922A1 (en) | 1996-06-05 | 1997-12-10 | International Computers Limited | Peripheral device control |
| US20010032305A1 (en) | 2000-02-24 | 2001-10-18 | Barry Edwin F. | Methods and apparatus for dual-use coprocessing/debug interface |
Family Cites Families (32)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US101320A (en) * | 1870-03-29 | Improvement in treating- wood to obtain useful products | ||
| US69332A (en) * | 1867-10-01 | Samuel fkeet | ||
| US65990A (en) * | 1867-06-25 | Ralph p | ||
| JPS6211933A (en) * | 1985-07-09 | 1987-01-20 | Nec Corp | Arithmetic circuit |
| JP2600293B2 (en) | 1988-06-10 | 1997-04-16 | 日本電気株式会社 | Overflow correction circuit |
| JP3487903B2 (en) * | 1993-11-12 | 2004-01-19 | 松下電器産業株式会社 | Arithmetic device and arithmetic method |
| US5448509A (en) | 1993-12-08 | 1995-09-05 | Hewlett-Packard Company | Efficient hardware handling of positive and negative overflow resulting from arithmetic operations |
| JP3105738B2 (en) | 1994-06-10 | 2000-11-06 | 日本電気株式会社 | Information processing device |
| JP3451595B2 (en) * | 1995-06-07 | 2003-09-29 | インターナショナル・ビジネス・マシーンズ・コーポレーション | Microprocessor with architectural mode control capable of supporting extension to two distinct instruction set architectures |
| JPH0997178A (en) * | 1995-09-29 | 1997-04-08 | Matsushita Electric Ind Co Ltd | Saturation processing device and method |
| KR100236533B1 (en) | 1997-01-16 | 2000-01-15 | 윤종용 | Digital signal processor with barrel shifter and arithmetic logic operator and overflow detection method |
| US6098089A (en) | 1997-04-23 | 2000-08-01 | Sun Microsystems, Inc. | Generation isolation system and method for garbage collection |
| US6230278B1 (en) * | 1997-05-02 | 2001-05-08 | Texas Instruments Incorporated | Microprocessor with functional units that can be selectively coupled |
| US6505290B1 (en) * | 1997-09-05 | 2003-01-07 | Motorola, Inc. | Method and apparatus for interfacing a processor to a coprocessor |
| US5889689A (en) * | 1997-09-08 | 1999-03-30 | Lucent Technologies Inc. | Hierarchical carry-select, three-input saturation |
| US6282558B1 (en) | 1997-12-19 | 2001-08-28 | Matsushita Electric Industrial Co., Ltd. | Data processing system and register file |
| US6480952B2 (en) * | 1998-05-26 | 2002-11-12 | Advanced Micro Devices, Inc. | Emulation coprocessor |
| US6308255B1 (en) * | 1998-05-26 | 2001-10-23 | Advanced Micro Devices, Inc. | Symmetrical multiprocessing bus and chipset used for coprocessor support allowing non-native code to run in a system |
| US6535900B1 (en) * | 1998-09-07 | 2003-03-18 | Dsp Group Ltd. | Accumulation saturation by means of feedback |
| US6240468B1 (en) * | 1998-12-18 | 2001-05-29 | International Business Machines Corporation | Interposed graphics device driver module processing function requests within module in standard mode, and passing function requests to specialized mode device driver in specialized mode |
| GB9907283D0 (en) | 1999-03-31 | 1999-05-26 | Koninkl Philips Electronics Nv | Memory reclamation method |
| IL130540A (en) * | 1999-06-17 | 2003-07-31 | Tadiran Telecom Business Syste | System having a port with two operating modes |
| JP3621315B2 (en) * | 1999-11-22 | 2005-02-16 | Necエレクトロニクス株式会社 | Microprocessor system |
| EP1182565B1 (en) | 2000-08-21 | 2012-09-05 | Texas Instruments France | Cache and DMA with a global valid bit |
| EP1182562B1 (en) | 2000-08-21 | 2011-05-11 | Texas Instruments France | Smartcache with interruptible block prefetch |
| US6681318B2 (en) * | 2000-09-08 | 2004-01-20 | Sun Microsystems, Inc. | Method and apparatus for using an assist processor to prefetch instructions for a primary processor |
| US6567905B2 (en) | 2001-01-23 | 2003-05-20 | Gemstone Systems, Inc. | Generational garbage collector with persistent object cache |
| US6832305B2 (en) * | 2001-03-14 | 2004-12-14 | Samsung Electronics Co., Ltd. | Method and apparatus for executing coprocessor instructions |
| US6950929B2 (en) * | 2001-05-24 | 2005-09-27 | Samsung Electronics Co., Ltd. | Loop instruction processing using loop buffer in a data processing device having a coprocessor |
| EP1304620A1 (en) | 2001-10-17 | 2003-04-23 | Texas Instruments Incorporated | Cache with selective write allocation |
| US6944746B2 (en) * | 2002-04-01 | 2005-09-13 | Broadcom Corporation | RISC processor supporting one or more uninterruptible co-processors |
| US7117389B2 (en) * | 2003-09-18 | 2006-10-03 | International Business Machines Corporation | Multiple processor core device having shareable functional units for self-repairing capability |
-
2003
- 2003-07-30 EP EP03291924.3A patent/EP1387259B1/en not_active Expired - Lifetime
- 2003-07-31 US US10/631,196 patent/US7543014B2/en not_active Expired - Lifetime
- 2003-07-31 US US10/631,120 patent/US7434029B2/en not_active Expired - Lifetime
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP0811922A1 (en) | 1996-06-05 | 1997-12-10 | International Computers Limited | Peripheral device control |
| US20010032305A1 (en) | 2000-02-24 | 2001-10-18 | Barry Edwin F. | Methods and apparatus for dual-use coprocessing/debug interface |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8230425B2 (en) | 2007-07-30 | 2012-07-24 | International Business Machines Corporation | Assigning tasks to processors in heterogeneous multiprocessors |
Also Published As
| Publication number | Publication date |
|---|---|
| US20040088524A1 (en) | 2004-05-06 |
| US20050027774A1 (en) | 2005-02-03 |
| US7434029B2 (en) | 2008-10-07 |
| EP1387259B1 (en) | 2017-09-20 |
| EP1387259A3 (en) | 2008-01-02 |
| US7543014B2 (en) | 2009-06-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP1387259A2 (en) | Inter-processor control | |
| JP2987308B2 (en) | Information processing device | |
| US5812868A (en) | Method and apparatus for selecting a register file in a data processing system | |
| US6795930B1 (en) | Microprocessor with selected partitions disabled during block repeat | |
| US7434030B2 (en) | Processor system having accelerator of Java-type of programming language | |
| US7475231B2 (en) | Loop detection and capture in the instruction queue | |
| US7330964B2 (en) | Microprocessor with independent SIMD loop buffer | |
| US7299343B2 (en) | System and method for cooperative execution of multiple branching instructions in a processor | |
| EP0888584B1 (en) | Central processing unit having an x86 and dsp core and including a dsp function decoder which maps x86 instructions to dsp instructions | |
| US6990570B2 (en) | Processor with a computer repeat instruction | |
| US20120204008A1 (en) | Processor with a Hybrid Instruction Queue with Instruction Elaboration Between Sections | |
| US5864689A (en) | Microprocessor configured to selectively invoke a microcode DSP function or a program subroutine in response to a target address value of branch instruction | |
| WO2000070433A1 (en) | A system and a method to reduce power consumption | |
| JP5680574B2 (en) | Power saving method and apparatus for selectively enabling a comparator in a CAM renaming register file based on known processor states | |
| US7996660B2 (en) | Software controlled CPU pipeline protection | |
| US6986028B2 (en) | Repeat block with zero cycle overhead nesting | |
| WO2021061626A1 (en) | Instruction executing method and apparatus | |
| US20030023836A1 (en) | Shadow register array control instructions | |
| EP0992889A1 (en) | Interrupt processing during iterative instruction execution | |
| JP2001022582A (en) | Low power microprocessor and microprocessor system | |
| US6055628A (en) | Microprocessor with a nestable delayed branch instruction without branch related pipeline interlocks | |
| JP2000284973A (en) | Double interrupting vector mapping device and method for controlling the same | |
| US20030028696A1 (en) | Low overhead interrupt | |
| EP1387258A2 (en) | Processor-processor synchronization | |
| US5809323A (en) | Method and apparatus for executing fixed-point instructions within idle execution units of a superscalar processor |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
| AK | Designated contracting states |
Kind code of ref document: A2 Designated state(s): AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LI LU MC NL PT RO SE SI SK TR |
|
| AX | Request for extension of the european patent |
Extension state: AL LT LV MK |
|
| PUAL | Search report despatched |
Free format text: ORIGINAL CODE: 0009013 |
|
| AK | Designated contracting states |
Kind code of ref document: A3 Designated state(s): AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LI LU MC NL PT RO SE SI SK TR |
|
| AX | Request for extension of the european patent |
Extension state: AL LT LV MK |
|
| 17P | Request for examination filed |
Effective date: 20080702 |
|
| RAP1 | Party data changed (applicant data changed or rights of an application transferred) |
Owner name: TEXAS INSTRUMENTS INCORPORATED Owner name: TEXAS INSTRUMENTS FRANCE |
|
| AKX | Designation fees paid |
Designated state(s): DE FR GB |
|
| RBV | Designated contracting states (corrected) |
Designated state(s): DE FR GB NL |
|
| 17Q | First examination report despatched |
Effective date: 20090624 |
|
| GRAP | Despatch of communication of intention to grant a patent |
Free format text: ORIGINAL CODE: EPIDOSNIGR1 |
|
| INTG | Intention to grant announced |
Effective date: 20170320 |
|
| GRAS | Grant fee paid |
Free format text: ORIGINAL CODE: EPIDOSNIGR3 |
|
| GRAA | (expected) grant |
Free format text: ORIGINAL CODE: 0009210 |
|
| AK | Designated contracting states |
Kind code of ref document: B1 Designated state(s): DE FR GB NL |
|
| REG | Reference to a national code |
Ref country code: GB Ref legal event code: FG4D |
|
| REG | Reference to a national code |
Ref country code: DE Ref legal event code: R096 Ref document number: 60350620 Country of ref document: DE |
|
| REG | Reference to a national code |
Ref country code: DE Ref legal event code: R082 Ref document number: 60350620 Country of ref document: DE Representative=s name: ZELLER, ANDREAS, DE |
|
| REG | Reference to a national code |
Ref country code: NL Ref legal event code: MP Effective date: 20170920 |
|
| PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: NL Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20170920 |
|
| REG | Reference to a national code |
Ref country code: FR Ref legal event code: PLFP Year of fee payment: 16 |
|
| REG | Reference to a national code |
Ref country code: DE Ref legal event code: R097 Ref document number: 60350620 Country of ref document: DE |
|
| PLBE | No opposition filed within time limit |
Free format text: ORIGINAL CODE: 0009261 |
|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: NO OPPOSITION FILED WITHIN TIME LIMIT |
|
| 26N | No opposition filed |
Effective date: 20180621 |
|
| PGFP | Annual fee paid to national office [announced via postgrant information from national office to epo] |
Ref country code: FR Payment date: 20180620 Year of fee payment: 16 |
|
| PGFP | Annual fee paid to national office [announced via postgrant information from national office to epo] |
Ref country code: DE Payment date: 20180618 Year of fee payment: 16 Ref country code: GB Payment date: 20180625 Year of fee payment: 16 |
|
| REG | Reference to a national code |
Ref country code: DE Ref legal event code: R119 Ref document number: 60350620 Country of ref document: DE |
|
| GBPC | Gb: european patent ceased through non-payment of renewal fee |
Effective date: 20190730 |
|
| PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: GB Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20190730 Ref country code: DE Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20200201 |
|
| PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: FR Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20190731 |