Patent · US Active

SIMD code generation for loops with mixed data lengths

US7475392B2 · kind B2 · utility

8Cited by
19References
7Claims
0Family size

Assignee

Inventors

Key dates

Filing dateAug 16, 2004
Grant dateJan 6, 2009
Priority date
Expiry dateDec 28, 2026

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F8/4452
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

Generating loop code to execute on Single-Instruction Multiple-Datapath (SIMD) architectures, where the loop operates on datatypes having different lengths, is disclosed. Further, a preferred embodiment of the present invention includes a novel technique to efficiently realign or shift arbitrary streams to an arbitrary offset, regardless whether the alignments or offsets are known at the compile time or not. This technique enables the application of advanced alignment optimizations to runtime alignment. Length conversion operations, for packing and unpacking data values, are included in the alignment handling framework. These operations are formally defined in terms of standard SIMD instructions that are readily available on various SIMD platforms. This allows sequential loop code operating on datatypes of disparate length to be transformed (“simdized”) into optimized SIMD code through a fully automated process.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.