×

Insertion of Operation-and-Indicate Instructions for Optimized SIMD Code

  • US 20110047359A1
  • Filed: 08/19/2009
  • Published: 02/24/2011
  • Est. Priority Date: 08/19/2009
  • Status: Active Grant
First Claim
Patent Images

1. 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 indicating any exception conditions corresponding to in-data path special exception values present in vector slots of vector register inputs to the operation-and-indicate instruction;

    replacing, by the compiler executing on the processor, the at least one non-speculative instruction performing a designated non-speculative operation in the first code with the operation-and-indicate instruction; and

    generating, by the compiler executing on the processor, second code based on the replacement of the at least one non-speculative instruction in the first code.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×