Reuse of adjacent SIMD units for fast and comprehensive results

By reusing adjacent SIMD execution units in a single transaction model, the system addresses inefficiencies in producing wider results, enhancing throughput and reducing latency in data processing systems.

JP7575841B2Active Publication Date: 2024-10-30INTERNATIONAL BUSINESS MACHINE CORPORATION
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2022515759
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2019-09-10
Filing Date
2020-08-07
Publication Date
2024-10-30
Estimated Expiration
2040-08-07

AI Technical Summary

Technical Problem

Conventional data processing systems face inefficiencies in producing a wider range of results due to limited result bus sizes in SIMD execution units, leading to reduced throughput and increased latency, especially when handling broader computational operations.

Method used

The system employs a single transaction model that reuses unused adjacent SIMD execution units to produce broader results, eliminating the need for additional wiring and logic, and allows operations to be completed in a single cycle.

Benefits of technology

This approach significantly increases throughput and reduces latency while minimizing power consumption and implementation costs by effectively utilizing adjacent SIMD units for broader result generation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007575841000001
    Figure 0007575841000001
  • Figure 0007575841000002
    Figure 0007575841000002
  • Figure 0007575841000003
    Figure 0007575841000003
Patent Text Reader

Abstract

A system for processing instructions including extended results includes a first instruction execution unit having a first result bus for executing the processor instruction. The system further includes a second instruction execution unit having a second result bus for executing the processor instruction. The first instruction execution unit is configured to selectively send a portion of a result calculated by the first instruction execution unit to the second instruction execution unit during execution of the processor instruction when the second instruction execution unit is not used to execute the processor instruction and when the received processor instruction produces a result having a width greater than the data width of the first result bus. The second instruction execution unit is configured to receive a portion of the result calculated by the first instruction execution unit and place the received result on the second result bus.
Need to check novelty before this filing date? Find Prior Art

Description

[Background technology]

[0001] The present invention relates to the field of computer systems, and more particularly to reusing adjacent SIMD (Single Instruction Multiple Data) units to process instructions that produce wider results.

[0002] To improve computational performance in the face of diminishing returns from intergenerational silicon technology improvements, designs are moving to implement more complex computational primitives. In general-purpose microprocessors, such computational primitives often take the form of an extended instruction set implemented on an accelerator tightly coupled to a processor core responsible for implementing a set of standard (inherited) instructions. Such accelerators implement a short-vector SIMD computation model, whereby each instruction specifies an operation to be performed across a wide data word, which is interpreted as a vector of a small number (1-16) of subwords depending on the particular instruction. A single instruction can then specify multiple operations on multiple pieces of data. Summary of the Invention

[0003] An embodiment of the present invention relates to a system for processing instructions including extended results. The system includes a first instruction execution unit having a first result bus for executing the processor instruction. The system further includes a second instruction execution unit having a second result bus for executing the processor instruction. The second instruction execution unit is communicatively coupled to the first instruction execution. The first instruction execution unit is configured to selectively transmit a portion of a result calculated by the first instruction execution unit to the second instruction execution unit during execution of the processor instruction when the second instruction execution unit is not used to execute the processor instruction. The second instruction execution unit is configured to receive a portion of a result calculated by the first instruction execution unit and place the received result on the second result bus.

[0004] An embodiment of the present invention relates to a method for processing an instruction including an extended result, the method including: determining whether a received processor instruction produces a result having a data width greater than a width of a first result bus of a first instruction execution unit and greater than a width of a second result bus of a second instruction execution unit. In response to determining whether the received processor instruction produces a result having a data width greater than a width of the first result bus and greater than a width of the second result bus, a determination is made whether the second instruction execution unit is not utilized to execute the received processor instruction. The second instruction execution unit is communicatively coupled to the first instruction execution. In response to determining that the second instruction execution unit is not utilized to execute the processor instruction, a portion of the result calculated by the first instruction execution unit is selectively transmitted to the second result bus of the second instruction execution unit during execution of the processor instruction.

[0005] An embodiment of the present invention relates to a computer program product for processing instructions including extended results. The computer program product includes a computer readable storage medium having program instructions embodied therewith. The program instructions are executable by a processor to cause the processor to execute a method. A non-limiting example of the method includes determining whether a received processor instruction produces a result having a data width greater than a width of a first result bus of a first instruction execution unit and greater than a width of a second result bus of a second instruction execution unit. In response to determining whether a received processor instruction produces a result having a data width greater than a width of the first result bus and greater than a width of the second result bus, a determination is made whether a second instruction execution unit is not utilized to execute the received processor instruction. The second instruction execution unit is communicatively coupled to the first instruction execution. A portion of the result calculated by the first instruction execution unit is selectively transmitted to a second result bus of the second instruction execution unit during execution of the processor instruction in response to determining that the second instruction execution unit is not utilized to execute the processor instruction.

[0006] Additional technical features and advantages will be realized through the practice of the present invention. Embodiments and aspects of the present invention are described in detail herein and are considered to be a part of the claimed subject matter. For a better understanding, reference should be made to the detailed description and drawings.

[0007] The particulars of the exclusive rights set forth herein are particularly pointed out and distinctly claimed in the claims at the conclusion of this specification. The foregoing and other features and advantages of embodiments of the present invention will become apparent from the following detailed description taken in conjunction with the accompanying drawings. [Brief description of the drawings]

[0008] [Figure 1] 1 is a high-level block diagram of a data processing system having multiple single instruction multiple data (SIMD) execution units in accordance with an embodiment of the present invention. [Diagram 2] FIG. 2 is a high-level block diagram illustrating components within a SIMD execution unit and an interface between the SIMD execution unit and a data processing system according to an embodiment of the present invention. [Diagram 3] FIG. 2 illustrates logic for reusing unused result outputs of adjacent SIMD execution units according to an embodiment of the present invention. [Figure 4] FIG. 2 illustrates an enhancement to a vector floating-point load extend double precision (DP) instruction in accordance with an embodiment of the present invention. [Diagram 5] FIG. 2 illustrates a dynamic lane masking feature according to an embodiment of the present invention. [Figure 6] 4 is a flowchart of a method for reusing adjacent SIMD execution units for rapid and extensive result production in accordance with an embodiment of the present invention.

[0009] The diagrams depicted herein are exemplary. There are many variations in the diagrams and the operations described therein without departing from the spirit of the invention. For example, actions can be performed in a different order, or actions can be added, deleted, or modified. Also, the term "coupled" and variations thereof describe having a communication path between two elements and do not imply a direct connection between the elements without an intervening element / connection between the elements. All of these variations are considered to be part of this specification.

[0010] In the accompanying drawings and the detailed description of the disclosed embodiments that follow, various elements illustrated in the drawings are labeled with two or three digit reference numbers. With a few exceptions, the leftmost digit of each reference number corresponds to the figure in which the element is first shown. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] In general, single instruction multiple data (SIMD) architectures are designed to maximize the amount of parallelism within the instruction pipeline. In a SIMD architecture, the same instruction is executed in parallel to process multiple data inputs. A SIMD instruction specifies the execution and branching behavior of a single thread of control operation on a vector of multiple data inputs. A vector is an instruction operand that contains a set of data elements packed into a one-dimensional array. The elements can be integer or floating-point values. Most SIMD instructions operate on vector operands. Vectors are also called SIMD operands or packed operands. The operand and data path width defines how much of the data can be processed at once. That is, a wider data path can perform more complex functions, but generally this is done at a higher implementation cost. Additionally, some vector instructions produce a wider result compared to the instruction input elements. Exemplary instructions that produce a wider result include, but are not limited to, instructions to convert data to a larger data format, multiplication operations, etc. Binary floating-point numbers can be represented in one of three data formats: short, long, or extended. As non-limiting examples, short format includes 32 bits, long format 64 bits, and extended format 128 bits. Thus, by converting from short format to long format or from long format to extended format, a wider range of results can be obtained. Due to limited wiring on the chip, the result bus utilized by the SIMD execution units in conventional data processing systems produces results of limited size. Note that conventional data processing systems perform the above mentioned operations that produce a wider range of results over multiple instruction cycles even if adjacent SIMD execution units are currently unused. This inefficiency effectively reduces the throughput and increases latency of the data processing system.

[0012] Conventional data processing systems address these problems using different approaches. Some conventional systems employ a split instruction transaction model with pipelined operations. This model requires a minimum of two coprocessors, where an instruction is split into a low portion and a high portion, and each coprocessor executes a corresponding portion. This approach requires a minimum of two coprocessor instructions to execute an operation on the coprocessor and read the operation result from the coprocessor. For example, a first coprocessor may execute the high portion of a multiplication operation, while a second coprocessor may execute the low portion of the multiplication operation. In contrast, embodiments of the present invention employ a single transaction model, where only a single coprocessor instruction is required to initiate an operation and provide the result of the operation.

[0013] In general, pipelining increases central processing unit (CPU) performance primarily through a reduction in cycles per instruction (CPI), although it does not appreciably reduce the CPU clock period. Pipelining is the technique of breaking down instruction execution into a series of steps. Each step in the pipeline, known as a pipestage, completes a designated portion of the complete execution of the instruction. Each pipestage increases execution in the same way that a station on an assembly line increases the completion of the manufacture of a product. Just as a product leaves an assembly line fully assembled, so an instruction leaves the final pipestage of the pipeline fully executed.

[0014] Ideally, a number of instructions equal to the number of pipe stages that make up the pipeline may overlap in execution, with each instruction occupying a different pipe stage. If the CPU has enough resources and earlier pipe stages do not depend on the completed results of later pipe stages, each pipe stage can execute its function independently (based on the currently occupied instructions) in parallel with other pipe stages. Furthermore, if the average time that the CPU needs to fully execute an instruction is divided equally among the pipe stages, the CPU throughput speedup for pipelined execution over sequential execution is equal to the number of pipelined stages. So, for an ideal pipeline of five pipe stages, five instructions would be executed in the average time required to execute one instruction sequentially, resulting in a five-fold throughput speedup. Note that pipelining does not reduce the average time to execute a single instruction, but reduces the overall average execution time by completing more instructions per unit time.

[0015] To handle the more extensive results generated by the execution of floating-point operations, some pipelined data processing systems use multiple cycles (as many as are necessary to complete the operation) to write the results. This approach requires a pipeline shut-down until the register write-back (WB) operation is completed. It is noted that both of the aforementioned approaches employed by conventional data processing systems reduce bandwidth and increase latency because they require multiple instructions to generate the results of the operation, or they require multiple cycles to write the results, or both. Another drawback of the above-mentioned approaches is that they require additional multiplexing capacity to recombine data elements associated with the results of the executed operation. Yet another drawback is that the extra instructions required due to the need to rearrange data between processing stages reduces code density and requires more memory in memory and caches. It is noted that each additional cycle required during a data transfer stage typically results in an increased workload for the processor.

[0016] A traditional alternative approach for processing instructions that generate wider output is to utilize a wider data bus. However, this solution is less efficient due to additional design complexity and higher implementation costs. At the same time, this particular solution typically leads to under-utilization of the wider data bus, since only a limited number of instructions require such capabilities.

[0017] In general, vector SIMD engines that provide larger outputs and contain specialized instructions with lane masking capabilities can be employed to solve a number of current problems. For example, at least some artificial intelligence (AI) engines process small precision inputs to accumulate and generate larger precision outputs. Embodiments of the present invention address all of the above problems by utilizing unused adjacent SIMD engines to generate a wider range of results.

[0018] Referring now to the figures, and in particular to FIG. 1, there is shown a high level block diagram of a data processing system having SIMD execution units in accordance with an embodiment of the present invention. As shown, data processing system 100 includes a SIMD engine 102 coupled to memory 114 via an instruction bus 108 and an address bus 110. SIMD engine 102 fetches instructions from memory 114 and dispatches such instructions to selected SIMD execution units 106a-106c via an instruction dispatch bus 112. Memory 114 may be implemented at different levels having different speeds and capacities. Such levels of memory may be structured such that from the perspective of any particular level in the hierarchy, the next level down from the processor is considered to be a cache. A cache memory is an auxiliary memory that provides a buffering function that allows a relatively slow and growing main memory to interface to SIMD engine 102 (or the next higher level of memory) with cycle times close to that of SIMD engine 102.

[0019] 1, the multiple execution units 106a-106c are SIMD execution units. As such, within data processing system 100, SIMD engine 102 interfaces with SIMD execution units 106a-106c as other "execution classes" of classes of execution units within data processing system 100. In at least some embodiments, SIMD execution units 106a-106c may be utilized to perform floating point arithmetic operations, among other operations. SIMD execution units 106a-106c are coupled to memory 114 via buses 118a-118c.

[0020] Other execution units within data processing system 100 may include, for example, load / store execution unit 104. Load / store execution unit 104, coupled to memory 114 via bus 116, is utilized to calculate addresses and provide the addresses to memory 114 during execution of instructions requiring memory access. Load / store execution unit 104 may also be utilized to provide addresses to memory 114 during execution of instructions in other execution units.

[0021] 2, there is a high level block diagram further illustrating components within a SIMD execution unit and interfaces between the SIMD execution unit and a data processing system in accordance with an embodiment of the present invention. As shown, the SIMD execution unit 106 includes a control unit 202 and a number of processing elements 204. The control unit 202 dispatches commands to selected processing elements 204 via a command bus 206. The control unit 202 transfers data to and receives data from the processing elements 204 via a data bus 208. Each processing element 204 is coupled to the control unit 202 by a separate data bus 208.

[0022] The control unit 202 receives vector processing instructions from the CPU 210 via an instruction bus 212. A level 2 cache (L2 cache) 214 may be used to store data and instructions for all execution units, including the SIMD execution units 106. The L2 cache 214 is coupled to the CPU 210 via a data bus 216. The L2 cache 214 is also coupled to the control unit 202 within the SIMD execution units 106 via a data bus 218. A cache controller 220 provides address signals to the L2 cache 214. The addresses used to generate the address signals may be calculated by the load / store execution units 104 (see FIG. 1).

[0023] FIG. 3 illustrates logic for reusing unused result outputs of adjacent SIMD execution units according to an embodiment of the present invention. The SIMD execution units 106a and 106b shown on the left side of FIG. 3 employ a split instruction transaction model. The SIMD execution units 106a and 106b receive respective inputs 302a and 302b and generate respective outputs 304a and 304b. If the executed operation is expected to produce a more extensive result, the SIMD execution units 106a and 106b use multiple cycles to execute the operation. In contrast, according to an embodiment of the present invention, the SIMD execution units 106a-106d shown on the right side of FIG. 3 employ both the split instruction transaction model and the single transaction model and are configured to selectively reuse unused result outputs of adjacent SIMD execution units to deliver the more extensive results. Advantageously, the disclosed single transaction model significantly increases throughput and reduces latency of the data processing system 100. Additionally, the single transaction model eliminates the need to implement a larger result bus 304.

[0024] Specifically, the exemplary configuration shown on the right side of Figure 3 includes a first SIMD execution unit 106a, a second SIMD execution unit 106b, a third SIMD execution unit 106c, and a fourth SIMD execution unit 106d. The first sSIMD execution unit 106a is connected to the second SIMD execution unit 106b via a first local connection 308a, while the third SIMD execution unit 106c is connected to the fourth SIMD execution unit 106d via a second local connection 308b. As shown in Figure 3, the second SIMD execution unit 106b and the fourth SIMD execution unit 106d each include a multiplexer 310b and 310d. The first multiplexer 310b is configured to select and combine a result calculated by the second SIMD execution unit 106b and a portion of a result calculated by the adjacent first SIMD execution unit 106a, as described herein. The second multiplexer 310d is configured to selectively combine the result computed by the fourth SIMD execution unit 106d with a portion of the result computed by the adjacent third SIMD execution unit 106c, where the adjacent second SIMD execution unit 106b and fourth SIMD execution unit 106d are selectively used by the data processing system 100 only if they are available during the execution of an operation.

[0025] According to one embodiment of the present invention, a subset of instructions are implemented that perform calculations directly on two adjacent SIMD execution units to produce a more extensive result in one cycle. In one embodiment, the implemented instructions may use binary floating-point data. Specifically, one embodiment of the present invention eliminates the need to use additional wiring and logic to return the result of the execution of the instruction, allowing it to be executed in one cycle with less additional logic, thereby improving performance and reducing power consumption. These instructions include, for example, a load extend (sometimes also referred to as load extend) instruction. However, since the load extend instruction operates on binary floating-point numbers, details regarding binary floating-point numbers are provided first. Binary floating-point numbers can have multiple formats, including, for example, 32-bit, 64-bit, and 128-bit formats, each format having a representation that includes, for example, a sign 410, an exponent 412, and a mantissa 416 (shown in FIG. 4).

[0026] In general, a load extend instruction uses a double-precision floating-point input and produces an extended double-precision floating-point output (i.e., an output that is larger than the input received by the instruction). FIG. 4 illustrates an enhancement of a vector floating-point load extend double-precision (DP) instruction according to an embodiment of the present invention. As shown in FIG. 4, a conventional vector floating-point load extend instruction requires two cycles, a first cycle 402 and a second cycle 404, to complete its operation using 64 bits. During the first cycle 402, the conventional vector floating-point load extend instruction performs an operation on a portion 406 (e.g., a low portion) of the mantissa 416. The size of the mantissa 416 is too large, so it is not operated on during the second cycle 404. During the second cycle 404, the conventional vector floating-point load extend instruction operates on the remaining portion of the floating-point number, such as the sign 410, the exponent 412, and the second portion 414 (high portion) of the mantissa 416.

[0027] 4 further illustrates an implementation of an enhanced vector floating-point load extend DP 420 in accordance with one embodiment of the present invention. The enhanced vector floating-point load extend instruction operates on 128 bits 422, 424. In contrast to conventional vector floating-point load extend instructions, the enhanced vector floating-point load extend DP instruction 420 operates on all components 406-414 of a floating-point number in one cycle. As described herein, the enhanced vector floating-point load extend instruction can utilize the result buses of adjacent SIMD execution units to complete operations that produce a wider range of results in one cycle.

[0028] In SIMD computers, as in other types of computers, a basic concept commonly called masking is required for conditional execution of individual operations in processing elements. Masking allows different instructions of an instruction sequence applied to the processing elements to be implemented in those processing elements only if certain data applied to different processing elements satisfies the conditions of certain instructions in the sequence. Different techniques are known in the art to mask certain processing elements from certain instructions in an instruction sequence applied to the processing elements. A detailed overview of current SIMD machines using masking can be found in Horde, R. Michael, "Parallel Supercomputing in SIMD Architectures" 1990 CRC Press Inc, Boca Raton, Fla. Additionally, U.S. Patents Nos. 4,907,148 and 5,045,995 also provide a discussion of masking in these types of systems.

[0029] FIG. 5 is a diagram illustrating a dynamic lane masking feature according to an embodiment of the present invention. FIG. 5 is a schematic diagram illustrating an example of a multiplication operation by a SIMD circuit 500 having eight lanes (SIMD execution units) 106a-106h with lane masking capability. In one embodiment, each of the multiple SIMD execution units 106a-106h includes a mask register. In one embodiment, the mask register may further include a mask context register that holds a single mask context (MC) bit and a global response flag register that holds a single global response flag (GRF) bit. The mask context bits are bitwise ANDed with bits selected for masking of a particular machine operation in an instruction to enable or disable a particular SIMD processing element during an instruction call, as described in more detail below.

[0030] The SIMD execution units 106a-106h in the circuit 500 receive input data elements 302a-302h and perform the necessary multiplications thereon resulting in the generation of respective result data elements 304a-304h. Assuming that each input data element is 32 bits wide, each multiplication data element is at least 64 bits wide. The SIMD engine 102 (shown in FIG. 1) also includes logic to control selective execution of instructions by adjacent SIMD processing elements 106a-106h. The multiple SIMD execution units 106a-106h are configured to utilize the result buses of the adjacent SIMD processing units to produce a wider range of results as described herein. The SIMD engine 102 is configured to cause a selected SIMD execution unit 106a-106h to execute a current instruction in one cycle. In the example shown in Figure 5, the second SIMD execution unit 106b, the fourth SIMD execution unit 106d, the sixth SIMD execution unit 106f, the seventh SIMD execution unit 106g, and the eighth SIMD execution unit 106h are masked. According to one embodiment of the invention, the first SIMD execution unit 106a, the third SIMD execution unit 106c, and the fifth SIMD execution unit 106e are configured to use the result buses of their respective adjacent masked SIMD execution units as shown in Figure 5. In one embodiment, the adjacent masked SIMD execution units are configured to delay processing of any instruction until a corresponding portion of a computation result is received from the respective SIMD execution unit.

[0031] 6 is a flow chart of a method for reusing adjacent SIMD execution units for rapid and extensive result generation according to an embodiment of the present invention. In block 602, the SIMD engine 102 loads the next instruction to be processed into the issue buffer. The SIMD instruction is held in the issue buffer until all lane masking dependencies are resolved.

[0032] At block 604, the SIMD execution unit 106 determines whether the received instruction represents a SIMD operation that produces a wide result. For example, the SIMD execution unit 106 may be requested to perform a multiplication, where each input data element is 32 bits wide and the result data element is at least 64 bits wide and wider than the result bus. Some other examples of SIMD operations that produce wider results include, but are not limited to, short format to long format conversion, long format to extended format conversion, etc. In response to determining that the received instruction does not represent an operation that produces a wide result (decision block 604, branch "No"), at block 608, the SIMD execution unit 106 issues the instruction in a normal standalone mode.

[0033] According to one embodiment of the invention, in response to determining that the received instruction represents an operation that produces a wide range of results (decision block 604, branch "Yes"), in block 606, the SIMD execution unit 106 determines whether an adjacent SIMD execution unit is available (masked or unused). For example, with reference to Figure 5, a first SIMD execution unit 106a may be configured to determine whether a second SIMD execution unit 106b is masked.

[0034] According to one embodiment of the invention, in response to determining that an adjacent SIMD execution unit is not available (decision block 604, branch "No"), in block 610, the SIMD execution unit 106 issues the instruction as a two-cycle conventional narrow operation 402, 404 shown in Figure 4. If the SIMD execution unit 106 determines that an adjacent SIMD execution unit is available (decision block 606, branch "Yes"), in block 612, the SIMD execution unit 106 issues the instruction as a new one-cycle wide operation 420 shown in Figure 4. In block 614, the SIMD execution unit executes the operation associated with the issued instruction.

[0035] Aspects of the present invention are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer readable program instructions.

[0036] The present invention may be a system, method, or computer program product, or a combination thereof. The computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to perform aspects of the present invention.

[0037] A computer readable storage medium may be a tangible device capable of holding and storing instructions for use by an instruction execution device. A computer readable storage medium may be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of computer readable storage media includes portable computer diskettes, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), static random access memories (SRAM), portable compact disk read-only memories (CDROM), digital versatile disks (DVDs), memory sticks, floppy disks, mechanically encoded devices such as punch cards or ridge-in-groove structures having instructions recorded thereon, and the like, and any suitable combination of the foregoing. Computer-readable storage media, as used herein, should not be construed as being themselves transitory signals such as electric waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., light pulses through a fiber optic cable), or electrical signals transmitted over wires.

[0038] The computer readable program instructions described herein can be downloaded from a computer readable storage medium to each computing / processing device or to an external computer or storage device via a network, such as the Internet, a local area network, a wide area network, or a wireless network, or a combination thereof. The network can include copper transmission cables, optical transmission fiber, wireless transmission, routers, firewalls, switches, gateway computers, or edge servers, or a combination thereof. A network adapter card or network interface in each computing / processing device receives the computer readable program instructions from the network and sends the computer readable program instructions for storage in a computer readable storage medium in each computing / processing device.

[0039] The computer readable program instructions for carrying out the operations of the present invention may be either assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including object oriented programming languages ​​such as Smalltalk, C++, and traditional procedural programming languages ​​such as the "C" programming language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or partially on the remote computer or entirely on the remote computer. In the latter scenario, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (e.g., via the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, a field programmable gate array (FPGA), or a programmable logic array (PLA), may execute computer readable program instructions according to state information of the computer readable program instructions to implement aspects of the invention.

[0040] These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to generate a machine such that the instructions, executed via the processor of the computer or other programmable data processing apparatus, generate means for implementing the functions / operations specified in one or more blocks of the flowcharts and / or block diagrams. These computer readable program instructions may also be stored on a computer readable storage medium that can cause a computer, programmable data processing apparatus, or other device, or combination thereof, to function in a particular manner, and thus a computer readable storage medium having instructions stored therein may include an article of manufacture including instructions that implement aspects of the functions / operations specified in one or more blocks of the flowcharts and / or block diagrams.

[0041] The computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device such that the instructions, which execute on the computer, other programmable apparatus, or other device, implement the functions / operations specified in one or more blocks of the flowcharts and / or block diagrams, causing a series of operational steps to be performed on the computer, other programmable apparatus, or other device to produce a computer-implemented process.

[0042] Various embodiments of the present invention are described herein with reference to the associated drawings. Alternative embodiments of the present invention may be devised without departing from the scope of the present invention. In the following description and drawings, various connections and relationships (e.g., above, below, adjacent, etc.) are described between elements. These connections and / or relationships may be direct or indirect unless otherwise specified, and the present invention is not intended to be limited in this respect. Thus, coupling of entities may refer to either direct or indirect coupling, and relationships between entities may be direct or indirect. Additionally, various tasks and process steps described herein may be combined into a more comprehensive procedure or process having additional steps or functionality not described in detail herein.

[0043] The following definitions and abbreviations should be used in interpreting the claims and the specification. As used herein, the terms "comprises," "comprising," "includes," "including," "has," "having," "contains," or "containing," or any variation thereof, are intended to cover a non-exclusive inclusion. For example, a composition, mixture, process, method, article, or device that includes a list of elements is not necessarily limited to only those elements, but can include other elements not expressly listed or inherent in such composition, mixture, process, method, article, or device.

[0044] Moreover, the term "exemplary" is used herein to mean "serving as an example, instance, or illustration." Any embodiment or design described herein is not necessarily to be construed as preferred or advantageous over other embodiments or designs. The terms "at least one" and "one or more" may be understood to include any integer number greater than or equal to one, i.e., 1, 2, 3, 4, 5, etc. The term "multiple" may be understood to include any integer number greater than or equal to two, i.e., 2, 3, 4, 5, etc. The term "connected" may include both an indirect "connected" and a direct "connected."

[0045] The terms "about," "substantially," "approximately," and variations thereof are intended to include the degree of error associated with the measurement of a particular quantity based on the equipment available at the time of filing this application. For example, "about" can include a range of ±8% or 5%, or 2% of a given value.

[0046] The description of various embodiments of the present invention will be presented for illustrative purposes, but is not intended to be exhaustive or limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terms used in this specification are selected to best explain the principles of the embodiments, practical applications, or technical improvements beyond the technology found in the market, or to enable other skilled in the art to understand.

[0047] The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block of the flowcharts or block diagrams may represent a module, segment, or portion of instructions, including one or more executable instructions for implementing the specified logical function. In some alternative embodiments, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may in fact be executed substantially simultaneously, or the blocks may be executed in reverse order, depending on the functionality involved. It should also be noted that each block of the block diagrams and / or flowchart illustrations, as well as combinations of blocks in the block diagrams and / or flowchart illustrations, may be implemented by a dedicated hardware-based system that performs the specified functions or operations or implements a combination of dedicated hardware and computer instructions.

Claims

1. a first instruction execution unit having a first result bus for executing processor instructions; a second instruction execution unit communicatively coupled to the first instruction execution unit and having a second result bus for executing processor instructions; Including, the first instruction execution unit receives a processor instruction producing a result having a data width greater than a width of the first result bus, the first instruction execution unit and the second instruction execution unit are configured to perform the same operation on different input data, the first instruction execution unit is configured to selectively transmit a portion of a result calculated by the first instruction execution unit to the second instruction execution unit for output on the second result bus of the second instruction execution unit during execution of the processor instruction when the second instruction execution unit is not used to execute the processor instruction and the second instruction execution unit is available, the second instruction execution unit is configured to receive a portion of the result calculated by the first instruction execution unit and to output the received portion on the second result bus, such that the result of the processor instruction is output by the first result bus and the second result bus in the same single operation cycle; A system for processing instructions that produce an extended result.

2. The system of claim 1, wherein the first instruction execution unit is configured to output a result calculated by the first instruction execution unit to the first result bus in multiple calculation cycles when the second instruction execution unit is not available.

3. 3. The system of claim 1, further comprising a set of instruction execution units, wherein different portions of the result are calculated by different instruction execution units of a subset of the instruction execution units based on a predefined lane mask.

4. 4. The system of claim 3, wherein the first instruction execution unit and the second instruction execution unit comprise single instruction, multiple data (SIMD) processing units, and the processor instructions comprise SIMD instructions.

5. 5. The system of claim 4, wherein the first instruction execution unit and the second instruction execution unit include a mask register, the mask register configured to store the predefined lane mask.

6. 3. A system as claimed in claim 1 or 2, wherein a width of result data produced by the executed processor instruction is greater than a width of the second result bus.

7. 3. The system of claim 1, wherein the first instruction execution unit is located adjacent to the second instruction execution unit.

8. 3. The system of claim 1, wherein the processor instruction comprises a vector floating point (FP) load extend instruction.

9. 3. The system of claim 1, wherein the first instruction execution unit and the second instruction execution unit are configured to employ a single transaction model.

10. determining whether a received processor instruction produces a result having a data width greater than a width of a first result bus of a first instruction execution unit and greater than a width of a second result bus of a second instruction execution unit, the first instruction execution unit and the second instruction execution unit being configured to perform the same operation on different input data; determining whether the second instruction execution unit is not utilized to execute the received processor instruction and whether the second instruction execution unit is available in response to determining whether the received processor instruction produces a result having a data width greater than a width of the first result bus and greater than a width of the second result bus, the second instruction execution unit being communicatively coupled to the first instruction execution unit; selectively transmitting a portion of results calculated by the first instruction execution unit for output to the second result bus of the second instruction execution unit during execution of the processor instruction in response to determining that the second instruction execution unit is available to the second result bus of the second instruction execution unit. Including, A method of processing an instruction that produces an extended result, the result of said processor instruction being output by a first result bus and a second result bus in the same computation cycle.

11. In response to determining that the second instruction execution unit is unavailable, outputting results computed by the first instruction execution unit onto the first result bus in a plurality of computation cycles. The method of claim 10, comprising:

12. 12. The method of claim 10 or 11, wherein determining whether the second instruction execution unit is not utilized to execute the received processor instruction further comprises determining whether the second instruction execution unit is not utilized to execute the received processor instruction based on a predefined lane mask.

13. 13. The method of claim 12, wherein the first instruction execution unit and the second instruction execution unit comprise single instruction, multiple data (SIMD) processing units, and the processor instructions comprise SIMD instructions.

14. 14. The method of claim 13, wherein the first instruction execution unit and the second instruction execution unit include a mask register, the mask register configured to store the predefined lane mask.

15. 12. The method of claim 10 or 11, wherein the first instruction execution unit is located adjacent to the second instruction execution unit.

16. 12. The method of claim 10 or 11, wherein the processor instruction comprises a vector floating point (FP) load extend instruction.

17. 12. The method of claim 10 or 11, wherein the first instruction execution unit and the second instruction execution unit are configured to employ a single transaction model.

18. A computer program for processing instructions for generating an extended result, the computer program causing one or more processors to carry out a method according to any one of claims 10 to 17. Computer program.

Citation Information

Patent Citations

  • Multiprocessor system

    US20080077928A1

  • Reconfigurable elements

    US20110145547A1

  • Processor architecture and method for simplifying programming single instruction, multiple data within a register

    US20140115301A1

  • Chained split execution of fused compound arithmetic operations

    US20170097824A1

  • Processing of multiple instruction streams in a parallel slice processor

    US20170168837A1