Compiler-assisted inter-SIMD-group register sharing
AssigneeAdvanced Micro Devices, Inc.
InventorsFarzad Khorasani, Amin Farmahini-Farahani, Nuwan S. Jayasena
Life of this patent
Estimating the term…
Loading patent…
AssigneeAdvanced Micro Devices, Inc.
InventorsFarzad Khorasani, Amin Farmahini-Farahani, Nuwan S. Jayasena
Estimating the term…
Systems, apparatuses, and methods for efficiently sharing registers among threads are disclosed. A system includes at least a processor, control logic, and a register file with a plurality of registers. The processor assigns a base set of registers to each thread of a plurality of threads executing on the processor. When a given thread needs more than the base set of registers to execute a given phase of program code, the given thread executes an acquire instruction to acquire exclusive access to an extended set of registers from a shared resource pool. When the given thread no longer needs additional registers, the given thread executes a release instruction to release the extended set of registers back into the shared register pool for other threads to use. In one implementation, the compiler inserts acquire and release instructions into the program code based on a register liveness analysis performed during compilation.
A processor comprising:
A method comprising:
A system comprising:
Dependencies are inferred from the claim text.