Method and apparatus for splitting packets in multithreaded VLIW processor
First Claim
1. A multithreaded very large instruction word processor, comprising:
- a plurality of functional units for executing instructions from a multithreaded instruction stream, said instructions being grouped into instruction packets by a compiler; and
an allocator that selects instructions from said instruction stream and forwards said instructions to said plurality of functional units, said allocator assigning instructions from at least one of said instruction packets to a plurality of said functional units, wherein said functional units can be allocated independently to any thread in said multithreaded instruction stream.
6 Assignments
0 Petitions
Accused Products
Abstract
A method and apparatus are disclosed for allocating functional units in a multithreaded very large instruction word (VLIW) processor. The present invention combines the techniques of conventional very long instruction word architectures and conventional multithreaded architectures to reduce execution time within an individual program, as well as across a workload. The present invention utilizes instruction packet splitting to recover some efficiency lost with conventional multithreaded architectures. Instruction packet splitting allows an instruction bundle to be partially issued in one cycle, with the remainder of the bundle issued during a subsequent cycle. The allocation hardware assigns as many instructions from each packet as will fit on the available functional units, rather than allocating all instructions in an instruction packet at one time. Those instructions that cannot be allocated to a functional unit are retained in a ready-to-run register. On subsequent cycles, instruction packets in which all instructions have been issued to functional units are updated from their thread'"'"'s instruction stream, while instruction packets with instructions that have been held are retained. The functional unit allocation logic can then assign instructions from the newly-loaded instruction packets as well as instructions that were not issued from the retained instruction packets.
39 Citations
16 Claims
-
1. A multithreaded very large instruction word processor, comprising:
-
a plurality of functional units for executing instructions from a multithreaded instruction stream, said instructions being grouped into instruction packets by a compiler; and an allocator that selects instructions from said instruction stream and forwards said instructions to said plurality of functional units, said allocator assigning instructions from at least one of said instruction packets to a plurality of said functional units, wherein said functional units can be allocated independently to any thread in said multithreaded instruction stream. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method for processing instructions in a multithreaded very large instruction word processor, comprising the steps of:
- executing said instructions using a plurality of functional units, wherein said instructions are grouped into instruction packets by a compiler;
assigning instructions from said instruction stream to said plurality of functional units, wherein instructions from at least one of said instruction packets are assigned to a plurality of said functional units, wherein said functional units can be allocated independently to any thread in said multithreaded instruction stream; and forwarding said selected instructions to said corresponding functional units. - View Dependent Claims (9, 10, 11, 12, 13, 14)
- executing said instructions using a plurality of functional units, wherein said instructions are grouped into instruction packets by a compiler;
-
15. An article of manufacture for processing instructions from an instruction stream having a plurality of threads in a multithreaded very large instruction word processor, comprising:
-
a computer readable medium having computer readable program code means embodied thereon, said computer readable program code means comprising program code means for causing a computer to; execute said instructions using a plurality of functional units, wherein said instructions are grouped into instruction packets by a compiler; assign instructions from said instruction stream to said plurality of functional units, wherein instructions from at least one of said instruction packets are assigned to a plurality of said functional units wherein said functional units can be allocated independently to any thread in said multithreaded instruction stream; and forward said selected instructions to said corresponding functional units.
-
-
16. A multithreaded very large instruction word processor, comprising:
-
a plurality of functional units for executing instructions from a multithreaded instruction stream, said instructions being grouped into instruction packets by a compiler; and an allocator that selects instructions from said instruction stream and forwards said instructions to said plurality of functional units, said allocator assigning instructions from at least one of said instruction packets to a plurality of said functional units, wherein said functional units can be allocated independently to any thread in said multithreaded instruction stream, provided the semantics of said instruction packet assembled by said compiler are not violated.
-
Specification