Apparatus and method for separate asymmetric control processing and data path processing in a dual path processor
According to embodiments of the invention, there is disclosed a computer processor architecture; and in particular a computer processor, a method of operating the same, and a computer program product that makes use of an instruction set for the computer. In one embodiment according to the invention, there is provided a computer processor, the processor comprising: a decode unit for decoding instruction packets fetched from a memory holding a sequence of instruction packets; and first and second processing channels, each channel comprising a plurality of functional units, wherein the first processing channel is capable of performing control operations and comprises a control register file having a relatively narrower bit width, and the second processing channel is capable of performing data processing operations at least one input of which is a vector and comprises a data register file having a relatively wider bit width. The decode unit is operable to detect for each instruction packet whether the instruction packet defines (i) a plurality of control instructions to be executed sequentially on the first processing channel or (ii) a plurality of instructions comprising at least one data processing instruction to be executed simultaneously on the second execution channel, and to control the first and second channels in dependence on said detection.
Latest Icera Inc. Patents:
This invention relates to a computer processor, a method of operating the same, and a computer program product comprising an instruction set for the computer.
BACKGROUNDIn order to increase the speed of computer processors, prior art architectures have used dual execution paths for executing instructions. Dual execution path processors can operate according to a single instruction multiple data (SIMD) principle, using parallelism of operations to increase processor speed.
However, despite use of dual execution paths and SIMD processing, there is an ongoing need to increase processor speed. Typical dual execution path processors use two substantially identical channels, so that each channel handles both control code and datapath code. While known processors support a combination of 32-bit standard encoding and 16-bit “dense” encoding, such schemes suffer from several disadvantages, including a lack of semantic content in the few bits available in a 16-bit format.
Furthermore, conventional general purpose digital signal processors are not able to match application specific algorithms for many purposes, including performing specialized operations such as convolution, Fast Fourier Transforms, Trellis/Viterbi encoding, correlation, finite impulse response filtering, and other operations.
SUMMARYIn one embodiment according to the invention, there is provided a computer processor. The computer processor comprises: a decode unit for decoding instruction packets fetched from a memory holding a sequence of instruction packets; and first and second processing channels, each channel comprising a plurality of functional units, wherein the first processing channel is capable of performing control operations and comprises a control register file having a relatively narrower bit width, and the second processing channel is capable of performing data processing operations at least one input of which is a vector and comprises a data register file having a relatively wider bit width; wherein the decode unit is operable to detect for each instruction packet whether the instruction packet defines (i) a plurality of control instructions to be executed sequentially on the first processing channel or (ii) a plurality of instructions comprising at least one data processing instruction to be executed simultaneously on the second execution channel, and to control the first and second channels in dependence on said detection.
In further related embodiments, the first processing channel may further comprise a branch unit and a control execution unit. The second processing channel may further comprise a fixed data execution unit and a configurable data execution unit. The fixed data execution unit and the configurable data execution unit may both operate according to a single instruction multiple data format. The first and second processing channels may share a load store unit. The load store unit may use control information supplied by the first processing channel and data supplied by the second processing channel. The instruction packets may be all of equal bit length, such as a 64-bit length. The control instructions may be all of a bit length between 18 and 24 bits, such as a 21-bit length. The nature of each instruction in an instruction packet may be selected at least from a control instruction, a data instruction, and a memory access instruction. The bit length of each data instruction may be, for example, 34 bits; and the bit length of each memory access instruction may be, for example, 28 bits.
In further related embodiments, when the decode unit detects that the instruction packet defines three control instructions, the decode unit may be operable to supply the first processing channel with the three control instructions whereby the three control instructions are executed sequentially. Also, when the decode unit detects that the instruction packet defines two instructions comprising at least one data instruction, the decode unit may be operable to supply the second processing channel with at least the data instruction whereby the two instructions are executed simultaneously. The decode unit may be operable to read the values of a set of designated bits at predetermined bit locations in each instruction packet of the sequence, to determine: a) whether the instruction packet defines a plurality of control instructions or a plurality of instructions of which at least one is a data instruction; and b) where the instruction packet defines a plurality of instructions of which at least one is a data instruction, the nature of each of the two instructions selected from: a control instruction; a data instruction; and a memory access instruction. The configurable data execution unit may be capable of executing more than two consecutive operations on the data provided by a single issued instruction before returning a result to a destination register file.
In another embodiment according to the invention, there is provided a method of operating a computer processor which comprises first and second processing channels each comprising a plurality of functional units, wherein the first processing channel comprises a control register file having a relatively narrower bit width and the second processing channel comprises a data register file having a relatively wider bit width. The method comprises: decoding an instruction packet to detect whether the instruction packet defines a plurality of control instructions of equal length or two instructions comprising at least one data instruction, at least one of which is a vector; when the instruction packet defines a plurality of control instructions of equal length, supplying the control instructions to the first processing channel whereby the control instructions are executed sequentially; and when the instruction packet defines a plurality of instructions comprising at least one data instruction, supplying at least the data instruction to the second processing channel whereby the plurality of instructions are executed simultaneously.
In another embodiment according to the invention, there is provided a computer program product comprising program code means which include a sequence of instruction packets, said instruction packets including a first type of instruction packet comprising a plurality of control instructions of equal length and a second type of instruction packet comprising a plurality of instructions including at least one data instruction, wherein the computer program product is adapted to run on a computer such that the first type of instruction packet is executed by a dedicated control processing channel, and the at least one data instruction of the second instruction packet is executed by a dedicated data processing channel, the dedicated control processing channel having a relatively narrower bit width than the dedicated data processing channel.
In another embodiment according to the invention, there is provided a method of operating a computer processor which comprises first and second processing channels each comprising a plurality of functional units, wherein the first processing channel comprises a control register file having a relatively narrower bit width and the second processing channel comprises a data register file having a relatively wider bit width. The method comprises: fetching a sequence of instruction packets from a program memory, all of said instruction packets containing a set of designated bits at predetermined bit locations; decoding each instruction packet, said decoding step including reading the values of said designated bits to determine: a) whether the instruction packet defines a plurality of control instructions or a plurality of instructions of which at least one is a data instruction; and b) where the instruction packet defines a plurality of instructions of which at least one is a data instruction, the nature of each of the two instructions selected at least from: a control instruction; a data instruction; and a memory access instruction.
In another embodiment according to the invention, there is provided a computer program product comprising program code means which include a sequence of instruction packets, said instruction packets including a first type of instruction packet comprising a plurality of control instructions of substantially equal length and a second type of instruction packet comprising first and second instructions including at least one data instruction, said instruction packets including at least one indicator bit at a designated bit location within the instruction packet, wherein the computer program product is adapted to run on a computer such that said indication bit is adapted to cooperate with a decode unit of the computer to designate whether: a) the instruction packet defines a plurality of control instructions or a plurality of instructions of which at least one is a data instruction; and b) in the case when there is a plurality of instructions comprising at least one data instruction, the nature of each of the two instructions selected from: a control instruction; a data instruction; and a memory access instruction.
Additional advantages and novel features of the invention will be set forth in part in the description which follows, and in part will become apparent to those skilled in the art upon examination of the following and the accompanying drawings; or may be learned by practice of the invention.
For a better understanding of the present invention, and to show how the same may be carried into effect, reference will now be made, by way of example only, to the accompanying drawings, in which:
In the processor of
The data execution path 103 employs SIMD (single instruction multiple data) parallelism, in both a fixed execution unit 109 and a configurable deep execution unit 110. As will be described further below, the configurable deep execution unit 110 provides a depth dimension of processing, to increase work per instruction, in addition to the width dimension used by conventional SIMD processors.
If the decoded instruction defines a control instruction it is applied to the appropriate functional unit on the control execution path of the machine (e.g. branch unit 106, execution unit 107, and load/store unit 108). If the decoded instruction defines an instruction with either a fixed or configurable data processing operation it is supplied to the data processing execution path. Within the data instruction part of the instruction packet designated bits indicate whether the instruction is a fixed or configurable data processing instruction, and in the case of a configurable instruction further designated bits define configuration information. In dependence on the sub-type of decoded data processing instruction, data is supplied to either the fixed or the configurable execution sub-paths of the data processing path of the machine.
Herein, “configurable” signifies the ability to select an operator configuration from amongst a plurality of predefined (“pseudo-static”) operator configurations. A pseudo-static configuration of an operator is effective to cause an operator (i) to perform a certain type of operation or (ii) to be interconnected with associated elements in a certain manner or (iii) a combination of (i) or (ii) above. In practice, a selected pseudo-static configuration may determine the behavior and interconnectivity of many operator elements at a time. It can also control switching configurations associated with the data path. In a preferred embodiment, at least some of the plurality of pseudo-static operator configurations are selectable by an operation code portion of a data processing instruction, as will be illustrated further below. Also in accordance embodiments herein, a “configurable instruction” allows the performance of customized operations at the level of multibit values; for example, at the level of four or more bit multibit values, or at the level of words.
It is pointed out that both control and data processing instructions, performed on their respective different sides of the machine, can define memory access (load/store) and basic arithmetic operations. The inputs/operands for control operations may be supplied to/from the control register file 104, whereas the data/operands for data processing operations are supplied to/from the register file 105.
In accordance with an embodiment of the invention, at least one input of each data processing operation can be a vector. In this respect, the configurable operators and/or switching circuitry of the configurable data path can be regarded as configurable to perform vector operations by virtue of the nature of operation performed and/or interconnectivity therebetween. For example, a 64-bit vector input to a data processing operation may include four 16-bit scalar operands. Herein, a “vector” is an assembly of scalar operands. Vector arithmetic may be performed on a plurality of scalar operands, and may include steering, movement, and permutation of scalar elements. Not all operands of a vector operation need be vectors; for example, a vector operation may have both a scalar and at least one vector as inputs; 1 and output a result that is either a scalar or a vector.
Herein, “control instructions” include instructions dedicated to program flow, and branch and address generation; but not data processing. “Data processing instructions” include instructions for logical operations, or arithmetic operations for which at least one input is a vector. Data processing instructions may operate on multiple data instructions, for example in SIMD processing, or in processing wider, short vectors of data elements. The essential functions of control instructions and data instructions, just mentioned, do not overlap; however, a commonality is that both types of code have logic and scalar arithmetic capabilities.
Instruction decode unit 101 of the embodiment of
In order to execute the instruction packets of
In using 21-bit control instructions, the embodiment of
A large variety of instructions may be used, in accordance with an embodiment of the invention. For example, instruction signatures may be any of the following, where C-format, M-format, and D-format signify control, memory access, and data format respectively:
Also in accordance with one embodiment of the invention, the C-format instructions all provide SISD (single instruction single data) operation, while the M-format and D-format instructions provide either SISD or SIMD operation. For example, control instructions may provide general arithmetic, comparison, and logical instructions; control flow instructions; memory loads and store instructions; and others. Data instructions may provide general arithmetic, shift, logical, and comparison instructions; shuffle, sort, byte extend, and permute instructions; linear feedback shift register instructions; and, via the configurable deep execution unit 110 (described further below), user-defined instructions. Memory instructions may provide memory loads and stores; copy selected data registers to control registers; copy broadcast control registers to data registers; and immediate to register instructions.
In accordance with an embodiment of the invention, the processor of
In accordance with the embodiment of
A skilled reader will appreciate that, while the foregoing has described what is considered to be the best mode and where appropriate other modes of performing the invention, the invention should not be limited to specific apparatus configurations or method steps disclosed in this description of the preferred embodiment. Those skilled in the art will also recognize that the invention has a broad range of applications, and that the embodiments admit of a wide range of different implementations and modifications without departing from the inventive concepts. In particular, exemplary bit widths mentioned herein are not intended to be limiting, nor is the arbitrary selection of bit widths referred to as half words, words, long, etc.
Claims
1. A computer processor for processing (i) instruction packets comprising a plurality of only control instructions, the control instructions having a control bit width, and (ii) instruction packets comprising a plurality of instructions comprising at least one data processing instruction, the data processing instructions having a data processing bit width wider than the control bit width, the processor comprising:
- a decode unit for decoding sequentially the instruction packets fetched from a memory holding the instruction packets, the instruction packets being all of equal bit length;
- a control processing channel capable of performing control operations, the control processing channel comprising a plurality of functional units including a control register file having a first bit width; and
- a data processing channel capable of performing data processing operations at least one input of which is a vector, the data processing channel comprising a plurality of functional units including a data register file having a second bit width, wider than the first bit width;
- wherein the decode unit comprises decode circuitry configured to decode identification bits of each instruction packet to determine which type (i), (ii), of instruction packet is being decoded, and control circuitry configured to pass the plurality of only control instructions having the control bit width from an instruction packet of type (i) to the control processing channel when the decode circuitry indicates so and to pass the plurality of instructions comprising at least one data processing instruction having the data processing bit width wider than the control bit width from an instruction packet of type (ii) to the data processing channel when the decode circuitry indicates so;
- wherein, in use the decode unit causes instructions of (i) instruction packets comprising a plurality of only control instructions to be executed sequentially on the control processing channel; and
- wherein, in use the decode unit causes instructions of (ii) instruction packets comprising a plurality of instructions comprising at least one data processing instruction to be executed simultaneously on the data processing channel.
2. A computer processor according to claim 1, wherein the control processing channel further comprises a branch unit and a control execution unit.
3. A computer processor according to claim 1, wherein the data processing channel further comprises a fixed data execution unit and a configurable data execution unit.
4. A computer processor according to claim 3, wherein the fixed data execution unit and the configurable data execution unit both operate according to a single instruction multiple data format.
5. A computer processor according to claim 1, wherein the control and data processing channels share a load store unit.
6. A computer processor according to claim 5, wherein the load store unit uses control information supplied by the control processing channel and data supplied by the data processing channel.
7. A computer processor according to claim 1, wherein the instruction packets are all of a 64-bit length.
8. A computer processor according to claim 1, wherein the control instructions are all of a bit length between 18 and 24 bits.
9. A computer processor according to claim 8, wherein the control instructions are all of a 21-bit length.
10. A computer processor according to claim 1, wherein the nature of each instruction in an instruction packet is selected at least from a control instruction, a data instruction, and a memory access instruction.
11. A computer processor according to claim 10, wherein the bit length of each data instruction is 34 bits.
12. A computer processor according to claim 10, wherein the bit length of each memory access instruction is 28 bits.
13. A computer processor according to claim 1, wherein when the decode unit detects that the instruction packet defines three control instructions, the decode unit is operable to supply the control processing channel with the three control instructions whereby the three control instructions are executed sequentially.
14. A computer processor according to claim 1, wherein when the decode unit detects that the instruction packet defines two instructions comprising at least one data instruction, the decode unit is operable to supply the data processing channel with at least the data instruction whereby the two instructions are executed simultaneously.
15. A computer processor according to claim 1, wherein the decode unit is operable to read the values of a set of designated bits at predetermined bit locations in each instruction packet of the sequence, to determine:
- a) whether the instruction packet defines a plurality of control instructions or a plurality of instructions of which at least one is a data instruction; and
- b) where the instruction packet defines a plurality of instructions of which at least one is a data instruction, the nature of each of the two instructions selected from: a control instruction; a data instruction; and a memory access instruction.
16. A computer processor according to claim 3, wherein the configurable data execution unit is capable of executing more than two consecutive operations on the data provided by a single issued instruction before returning a result to a destination register file.
17. A method of operating a computer processor for processing (i) instruction packets comprising a plurality of only control instructions, the control instructions having a control bit width, and (ii) instruction packets comprising a plurality of instructions comprising at least one data processing instruction, the data processing instructions having a data processing bit width wider than the control bit width, the processor comprising a decode unit for decoding sequentially the instruction packets fetched from a memory holding the instruction packets, the instruction packets being all of equal bit length; a control processing channels comprising a plurality of functional units including a control register file having a first bit width; and a data processing channel capable of performing data processing operations at least one input of which is a vector, the data processing channel comprising a plurality of functional units including a data register file having a second bit width, wider than the first bit width, the method comprising:
- decoding identification bits of each instruction packet to determine which type (i), (ii), of instruction packet is being decoded, and passing the plurality of only control instructions having the control bit width from an instruction packet of type (i) to the control processing channel when the decode circuitry indicates so and passing the plurality of instructions comprising at least one data processing instruction having the data processing bit width wider than the control bit width from an instruction packet of type (ii) to the data processing channel when the decode circuitry indicate so;
- when the instruction packet defines (i) a plurality of only control instructions supplying the control instructions to the control processing channel wherein the control instructions are executed sequentially; and
- when the instruction packet defines (ii) a plurality of instructions comprising at least one data processing instruction, supplying at least the data instruction to the data processing channel wherein the plurality of instructions are executed simultaneously.
18. A non-transitory computer readable-medium comprising a sequence of instruction packets, the instruction packets being all of equal bit length,
- said instruction packets including a first type of instruction packet comprising a plurality of only control instructions of equal width, the control instructions having a control bit width, and a second type of instruction packet comprising a plurality of instructions comprising at least one data processing instruction, the at least one data processing instructions having a data processing bit width wider than the control bit width, and wherein at least one data processing instruction is a vector,
- said instruction packets including at least one indicator bit at a designated bit location within the instruction packet, wherein the computer readable-medium is adapted to run on a computer such that said indication bit is adapted to cooperate with a decode unit of the computer to designate whether:
- a) the instruction packet defines a plurality of only control instructions having the control bit width or a plurality of instructions comprising at least one data processing instruction having the data processing bit width wider than the control bit width; and
- in the case when there is a plurality of instructions comprising at least one data instruction, the nature of each of the first and second instructions selected from: a control instruction; a data instruction; and a memory access instruction.
5423051 | June 6, 1995 | Fuller et al. |
5600801 | February 4, 1997 | Parks et al. |
5600810 | February 4, 1997 | Ohkami |
5737631 | April 7, 1998 | Trimberger |
5922065 | July 13, 1999 | Hull et al. |
5956518 | September 21, 1999 | DeHon et al. |
5968167 | October 19, 1999 | Whittaker et al. |
6061367 | May 9, 2000 | Siemers |
6292845 | September 18, 2001 | Fleck et al. |
6526430 | February 25, 2003 | Hung et al. |
6530010 | March 4, 2003 | Hung et al. |
6725357 | April 20, 2004 | Cousin |
RE38679 | December 28, 2004 | Matsuo et al. |
6880150 | April 12, 2005 | Takayama et al. |
7100019 | August 29, 2006 | Norris et al. |
7159099 | January 2, 2007 | Lucas et al. |
7234042 | June 19, 2007 | Wilson |
20020010852 | January 24, 2002 | Arnold et al. |
20020063577 | May 30, 2002 | Abbott |
20020174266 | November 21, 2002 | Palem et al. |
20020198606 | December 26, 2002 | Satou |
20030154358 | August 14, 2003 | Seong et al. |
20040003206 | January 1, 2004 | May et al. |
20040054876 | March 18, 2004 | Grisenthwaite et al. |
20040117595 | June 17, 2004 | Norris et al. |
20040215593 | October 28, 2004 | Sharangpani et al. |
20050044434 | February 24, 2005 | Kahle et al. |
20050223193 | October 6, 2005 | Knowles |
H09212361 | August 1997 | JP |
H11282674 | October 1999 | JP |
2000509528 | July 2000 | JP |
2001236496 | August 2001 | JP |
2001306321 | November 2001 | JP |
2003005958 | January 2003 | JP |
2004217989 | August 2004 | JP |
2005531848 | October 2005 | JP |
- Bolotski, Michael et al. “Unifying FPGAs and SIMD Arrays.” MIT: 1994.
- Stokes, Jon. “A Brief Look at the PowerPC 970.” Ars technica: 2002. http://arstechnica.com/wankerdesk/3q02/powerpc.html May 11, 2006.
- Hennessy, John and Patterson, David. “Computer Architecture: A Quantitative Approach”. Unknown Edition, May 2003. pp. 127-130 and D-1 through D-14.
- Simonen, et al., “Variable-Length Instruction Compression for Area Minimization,” IEEE, 2003.
- Tanenbaum, “Structured Computer Organization,” 1984, pp. 10-12, Prentice-Hall, Inc., Englewood Cliffs, NJ.
- Beebe, et al., “Instruction sequencing control,” IBM Technical Disclosure Bulletin, May 1972, pp. 3599-3611, vol. 14, No. 12.
- Alippi, et al., “Determining the Optimum Extended Instruction-Set Architecture for Application Specific Reconfigurable VLIW CPUs,” IEEE, 2001, pp. 50-56.
- International Preliminary Report on Patentability issued in corresponding International Application No. PCT/GB2005/001069, Issued Oct. 4, 2006, together with the Written Opinion of the International Searching Authority.
- Intel Corporation, “Intel Itanium Architecture Software Developer's Manual,” vol. 1: Application Architecture, Revision 2.1, Oct. 2002, http://www.intel.co.jp/content/dam/www/public/ijkk/jp/ja/documents/developer/24531704—j.pdf, pp. 1:20, 1:32, 1:74, 1:169.
- Ntel Corporation, “Intel Itanium Architecture Software Developer's Manual,” vol. 3: Instruction Set Reference, Oct. 2002, http://www.intel.co.jp/content/dam/www/public/ijkk/jp/ja/documents/developer/24531904—j.pdf, pp. 3:169, 3:339.
- McNairy, C., et al., “Itanium Processor Microarchitecture,” IEEE Micro, IEEE Computer Society, vol. 23, Issue 2, Mar.-Apr. 2003, pp. 44-55.
- Foreign Communication From a Related Counterpart Application, Japanese Application No. 2007-505614, Japanese Appeal No. 2013-8491 dated Nov. 12, 2013, 7 pages.
- European Search Report; Oct. 21, 2009; 3 pages.
Type: Grant
Filed: Mar 31, 2004
Date of Patent: Jun 2, 2015
Patent Publication Number: 20050223196
Assignee: Icera Inc. (Bristol)
Inventor: Simon Knowles (Bath)
Primary Examiner: George Giroux
Application Number: 10/813,615
International Classification: G06F 15/00 (20060101); G06F 9/30 (20060101); G06F 9/40 (20060101); G06F 9/38 (20060101);