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.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 24 · Forward citations: 12.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method, in a data processing system, for inserting instructions into code for checking for in-data path special exception values indicative of deferred exception conditions, comprising: analyzing, by a compiler executing on a processor of the data processing system, a portion of first code to identify at least one non-speculative instruction performing a designated non-speculative operation in the first code that is a candidate for replacement by an operation-and-indicate instruction that performs the designated non-speculative operation and further performs an indication operation for indic
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (12 of 12 total)
References Cited — Backward Prior Art (24)
Non-Patent Literature (5)
- "Intel (Itanium Architecture Software Developer's Manual)", vol. 1: Application Architecture-Revision 2.1, Oct. 2002, part 1, 112 pages.
- "Intel (Itanium Architecture Software Developer's Manual)", vol. 1: Application Architecture-Revision 2.1, Oct. 2002, part 2, 114 pages.
- Asanovic, Krste, "Vector Microprocessors", Disseration, University of California, Berkeley, 1998, http://citeseer.ist.psu.edu/cache/papers/cs/11989/http:zSzzSzwww.icsi.berkeley.eduzSz~krstezSzthesis.pdf, 268 pages.
- Asanovic, Krste, "Vector Microprocessors", Disseration, University of California, Berkeley, 1998, http://citeseer.ist.psu.edu/cache/papers/cs/11989/http:zSzzSzwww.icsi.berkeley.eduzSz˜krstezSzthesis.pdf, 268 pages.
- Buchholz, W., "The IBM System/370 vector architecture", IBM Systems Journal, vol. 25, No. 1, 1986, pp. 51-62.