Transfer buffer between a scalar pipeline and vector pipeline
Abstract
Systems and methods are disclosed for transferring an operand between a vector pipeline and a scalar pipeline. For example, some methods may include transferring an operand from a scalar pipeline to a scalar-to-vector buffer responsive to the scalar pipeline executing a first micro-op, wherein the scalar-to-vector buffer includes an entry having a width equal to a width of a scalar register of the scalar pipeline and a data store configured to store an indication mapping the entry to the first micro-op; updating the data store to include the indication mapping the entry to the first micro-op; identifying, by the vector pipeline in response to execution of a second micro-op and in dependence on the indication mapping the entry to the first micro-op, the entry storing the operand; and transferring the operand from the entry in the scalar-to-vector buffer to the vector pipeline responsive to the vector pipeline executing the second micro-op.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 0.
Claims (20 — 3 Independent, 17 Dependent)
- Claim 1Independent Claim
An integrated circuit comprising: a scalar pipeline including a scalar register configured to store a single element operand; a vector pipeline including a vector register configured to store a multiple-element operand; a scalar-to-vector buffer configured to store a single element operand being transferred from the scalar pipeline to the vector pipeline, wherein the scalar-to-vector buffer includes an entry having a width equal to a width of the scalar register and a data store configured to store an indication mapping the entry to an instruction; scalar-to-buffer execution circuitry configured to, responsive to the instruction, transfer an operand from the scalar pipeline to the entry in the scalar-to-vector buffer and update the data store to map the entry to the instruction; and buffer-to-vector execution circuitry configured to, responsive to the instruction, identify the entry as storing the operand based on the indication in the data store and transfer the operand from the entry in the scalar-to-vector buffer to the vector pipeline.
- Claim 2Depends on #1
The integrated circuit of claim 1 wherein the buffer-to-vector execution circuitry is configured to transfer the operand from the entry to the vector register.
- Claim 3Depends on #1
The integrated circuit of claim 1 wherein the scalar-to-buffer execution circuitry is configured to transfer the operand from the scalar register to the entry in the scalar-to-vector buffer.
- Claim 4Depends on #1
The integrated circuit of claim 1 wherein the instruction is cracked into multiple micro-ops including a first micro-op that flows to the scalar pipeline and causes the scalar execution circuitry to transfer the operand from the scalar pipeline to the entry in the scalar-to-vector buffer and update the data store to map the entry to the instruction and a second micro-op that flows to the vector pipeline and causes the vector execution circuitry to identify the entry as storing the operand based on the indication in the data store and transfer the operand from the entry in the scalar-to-vector buffer to the vector pipeline.
- Claim 5Depends on #1
The integrated circuit of claim 1 wherein the data store of the scalar-to-vector buffer includes a tag for the entry and the indication is an instruction identifier associated with the instruction.
- Claim 6Depends on #5
The integrated circuit of claim 5 wherein the instruction identifier is a reorder buffer identifier of the instruction that is assigned to the instruction by a reorder buffer shared by the scalar pipeline and the vector pipeline.
- Claim 7Depends on #1
The integrated circuit of claim 1 wherein the transfer of the operand from the scalar register to the entry in the scalar-to-vector buffer is asynchronous with the transfer of the operand from the entry in the scalar-to-vector buffer to the vector pipeline.
- Claim 8Depends on #1
The integrated circuit of claim 1 wherein the scalar-to-vector buffer includes multiple entries for storing operands being transferred between the scalar pipeline and the vector pipeline.
- Claim 9Depends on #1
The integrated circuit of claim 1 wherein the scalar pipeline, the vector pipeline, and the scalar-to-vector buffer are components of a single processor core.
- Claim 10Independent Claim
An integrated circuit comprising: a scalar pipeline including a scalar register configured to store a single element operand; a vector pipeline including a vector register configured to store a multiple-element operand; a vector-to-scalar buffer configured to store a single element operand being transferred from the vector pipeline to the scalar pipeline, wherein the vector-to-scalar buffer includes an entry with a width equal to a width of the scalar register and a data store configured to store an indication mapping the entry to an instruction; vector-to-buffer execution circuitry configured to, responsive to the instruction, transfer an operand from the vector pipeline to the entry in the vector-to-scalar buffer and update the data store to map the entry to the single element operand; and buffer-to-scalar execution circuitry configured to, responsive to the instruction, identify the entry as storing the operand based on the indication in the data store and transfer from the entry in the vector-to-scalar buffer to the scalar pipeline.
- Claim 11Depends on #10
The integrated circuit of claim 10 wherein the instruction is cracked into multiple micro-ops including a first micro-op that flows to the vector pipeline and causes the vector-to-buffer execution circuitry to transfer the operand from the vector pipeline to the entry in the vector-to-scalar buffer and update the data store to map the entry to the instruction and a second micro-op that flows to the scalar pipeline and causes the scalar execution circuitry to identify the entry as storing the operand based on the indication in the data store and transfer the operand from the entry in the vector-to-scalar buffer to the scalar pipeline.
- Claim 12Depends on #10
The integrated circuit of claim 10 wherein the data store of the vector-to-scalar buffer includes a tag for the entry and the indication is an instruction identifier associated with the instruction.
- Claim 13Depends on #12
The integrated circuit of claim 12 wherein the instruction identifier is a reorder buffer identifier of the instruction that is assigned to the instruction by a reorder buffer shared by the scalar pipeline and the vector pipeline.
- Claim 14Depends on #10
The integrated circuit of claim 10 wherein the transfer of the operand from the vector pipeline to the entry in the vector-to-scalar buffer is asynchronous with the transfer of the operand from the entry in the vector-to-scalar buffer to the scalar pipeline.
- Claim 15Depends on #10
The integrated circuit of claim 10 wherein the scalar pipeline, the vector pipeline, and the vector-to-scalar buffer are components of a single processor core.
- Claim 16Independent Claim
A method for transferring an operand from a scalar pipeline to a vector pipeline in a processor core, the method comprising: transferring the operand from a scalar pipeline to a scalar-to-vector buffer responsive to the scalar pipeline executing a first micro-op, wherein the scalar-to-vector buffer includes an entry having a width equal to a width of a scalar register of the scalar pipeline and a data store configured to store an indication mapping the entry to the first micro-op; updating the data store to include the indication mapping the entry to the first micro-op; identifying, by the vector pipeline in response to execution of a second micro-op and in dependence on the indication mapping the entry to the first micro-op, the entry storing the operand; and transferring the operand from the entry in the scalar-to-vector buffer to the vector pipeline responsive to the vector pipeline executing the second micro-op.
- Claim 17Depends on #16
The method of claim 16, further comprising updating a pointer referencing the entry in the scalar-to-vector buffer in response to the first micro-op being committed.
- Claim 18Depends on #16
The method of claim 16, further comprising cracking an instruction into multiple micro-ops including the first micro-op that flows to the scalar pipeline and the second micro-op that flows to the vector pipeline.
- Claim 19Depends on #16
The method of claim 16, further comprising holding the operand in the scalar-to-vector buffer for a number of clock cycles greater than a length of the scalar pipeline.
- Claim 20Depends on #16
The method of claim 16, further comprising updating a pointer to allocate the entry in the scalar-to-vector buffer.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATION(S) This application claims priority to and the benefit of U.S. Provisional Patent Application Ser. No. 63/429,658, filed Dec. 2, 2022, the entire disclosure of which is hereby incorporated by reference. TECHNICAL FIELD This disclosure relates generally to central processing units or processor cores and, more specifically, to a transfer buffer for transferring operands between a scalar pipeline and a vector pipeline. BACKGROUND A central processing unit (CPU) or processor core may be implemented according to a particular microarchitecture. As used herein, a “ microarchitecture ” refers to the way an instruction set architecture (ISA) (e.g., the RISC-V instruction set) is implemented by a processor core. A microarchitecture may be implemented by various components, such as dispatch units, execution units, registers, caches, queues, data paths, and/or other logic associated with instruction flow. A processor core may execute instructions in a pipeline based on the microarchitecture that is implemented. BRIEF DESCRIPTION OF THE DRAWINGS The disclosure is best understood from the following detailed description when read in conjunction with the accompanying drawings. It is emphasized that, according to common practice, the various features of the drawings are not to-scale. On the contrary, the dimensions of the various features are arbitrarily expanded or reduced for clarity. FIG. 1 is a block diagram of an example of a system for facilitating generation and manufacture of integrated circuits. FIG. 2 is a block diagram of an example of a system for facilitating generation of a circuit representation. FIG. 3 A is a block diagram of an example of a processor core pipeline having scalar pipelines and vector pipelines with buffers for asynchronous transfer of data between the scalar pipelines and the vector pipelines. FIG. 3 B is a block diagram of an example of a processor core pipeline having scalar pipelines and vector pipelines with
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (4)
| Patent | Title | Year | Citations |
|---|