DOE OSTI · 1084334
Insertion of operation-and-indicate instructions for optimized SIMD code
Abstract
Mechanisms are provided for inserting indicated instructions for tracking and indicating exceptions in the execution of vectorized code. A portion of first code is received for compilation. The portion of first code is analyzed to identify non-speculative instructions performing designated non-speculative operations in the first code that are candidates for replacement by replacement operation-and-indicate instructions that perform the designated non-speculative operations and further perform an indication operation for indicating any exception conditions corresponding to special exception values present in vector register inputs to the replacement operation-and-indicate instructions. The replacement is performed and second code is generated based on the replacement of the at least one non-speculative instruction. The data processing system executing the compiled code is configured to store special exception values in vector output registers, in response to a speculative instruction generating an exception condition, without initiating exception handling.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Eichenberger, Alexander E, Gara, Alan, Gschwind, Michael K. 2013-06-04. Insertion of operation-and-indicate instructions for optimized SIMD code. https://www.osti.gov/biblio/1084334
Cite the original work for its findings. Save a collection to share your selection of sources.