Skip to Content
Find More Like This
Return to Search

Optimized scalar promotion with load and splat SIMD instructions

United States Patent

8,572,586
October 29, 2013
View the Complete Patent at the US Patent & Trademark Office
Mechanisms for optimizing scalar code executed on a single instruction multiple data (SIMD) engine are provided. Placement of vector operation-splat operations may be determined based on an identification of scalar and SIMD operations in an original code representation. The original code representation may be modified to insert the vector operation-splat operations based on the determined placement of vector operation-splat operations to generate a first modified code representation. Placement of separate splat operations may be determined based on identification of scalar and SIMD operations in the first modified code representation. The first modified code representation may be modified to insert or delete separate splat operations based on the determined placement of the separate splat operations to generate a second modified code representation. SIMD code may be output based on the second modified code representation for execution by the SIMD engine.
Eichenberger; Alexandre E. (Chappaqua, NY), Gschwind; Michael K. (Chappaqua, NY), Gunnels; John A. (Yorktown Heights, NY)
International Business Machines Corporation (Armonk, NY)
13/ 555,435
20120290816
July 23, 2012
This invention was made with United States Government support under Contract No.: B554331 awarded by Department of Energy. The Government has certain rights in this invention.