×

AUTOMATIC LOOP VECTORIZATION USING HARDWARE TRANSACTIONAL MEMORY

  • US 20150268940A1
  • Filed: 03/21/2014
  • Published: 09/24/2015
  • Est. Priority Date: 03/21/2014
  • Status: Active Grant
First Claim
Patent Images

1. A computing device for loop vectorization, the computing device comprising:

  • an analysis module to detect a loop of a source program, the loop to define one or more scalar iterations and have a loop body for execution during each scalar iteration; and

    a vectorization module to;

    generate a transactional code segment, wherein to generate the transactional code segment comprises to generate a vectorized implementation of the loop body within the transactional code segment as a function of the loop of the source program, the vectorized implementation to define one or more vector iterations and to include a vector memory read instruction capable of generation of an exception; and

    generate a non-transactional fallback code segment associated with the transactional code segment, the non-transactional fallback code to be executed in response to generation of an exception within the transactional code segment and comprising a scalar implementation of the loop body.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×