Patents
US 7,730,463 B2#5889080 Most CitedActiveUnited States (USPTO)Utility

Efficient generation of SIMD code in presence of multi-threading and other false sharing conditions and in machines having memory protection support

16Forward Citations (#5889080 Global)
1.0/yrCitation Velocity (#6422768 Global)
2.34Citation PageRank (#11314042 Global)
17Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A computer implemented method, system and computer program product for automatically generating SIMD code. The method begins by analyzing data to be accessed by a targeted loop including at least one statement, where each statement has at least one memory reference, to determine if memory accesses are safe. If memory accesses are safe, the targeted loop is simdized. If not safe, it is determined if a scheme can be applied in which safety need not be guaranteed. If such a scheme can be applied, the targeted loop is simdized according to the scheme. If such a scheme cannot be applied, it is determined if padding is appropriate. If padding is appropriate, the data is padded and the targeted loop is simdized. If padding is not appropriate, non-simdized code is generated based on the targeted loop for handling boundary conditions, the targeted loop is simdized and combined with the non-simdized code.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 17 · Forward citations: 16.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer implemented method for automatically generating SIMD code, comprising: analyzing, by a processing unit, data to be accessed by a targeted loop, the targeted loop comprising at least one statement, each at least one statement having at least one memory reference, to determine whether memory accesses are both memory protection system safe and false sharing safe; responsive to a determination that memory accesses are both memory protection system safe and false sharing safe, simdizing the targeted loop; responsive to a determination that memory accesses are not both memory protection s

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (17)

PatentTitleYearCitations
US 5,522,074 AVectorization system for vectorizing loop containing condition induction variables199632
US 6,098,162 AVector shift functional unit for successively shifting operands stored in a vector register by corresponding shift counts stored in another vector register200031
US 6,106,575 ANested parallel language preprocessor for converting parallel language programs into sequential code2000126
US 6,113,650 ACompiler for optimization in generating instruction sequence and compiling method2000109
US 6,289,434 B1Apparatus and method of implementing systems on silicon using dynamic-adaptive run-time reconfigurable circuits for processing multiple, independent data and control streams of varying rates200171
US 6,334,176 B1Method and apparatus for generating an alignment control vector2001134
US 2002083292 A1Method of using memory, two dimensional data access memory and operation processing apparatus—24
US 2003233643 A1Method and apparatus for efficient code generation for modulo scheduled uncounted loops—71
US 2004003381 A1Compiler program and compilation processing method—82
US 2004006667 A1Apparatus and method for implementing adjacent, non-unit stride memory access patterns utilizing SIMD instructions—72
US 2005273770 A1System and method for SIMD code generation for loops with mixed data lengths—53
US 2005273769 A1Framework for generating mixed-mode operations in loop-level simdization—66
US 2006111881 A1Specialized processor for solving optimization problems—35
US 7,219,212 B1Load/store operation of memory misaligned vector data using alignment register storing realigned data portion for combining with remaining portion200797
US 7,249,350 B2Optimized translation of scalar type SIMD instructions into non-scalar SIMD instructions200711

Non-Patent Literature (5)

  • Eichenberger et al. Vectorization for SIMD Architectures with Alignment Constraints, Jun. 9, 2004, ACM, (Eichenberger-2004.pdf).
  • Eichenberger et al. Vectorization for SIMD Architectures with Alignment Constraints, Jun. 9, 2004, ACM, (Eichenberger—2004.pdf).
  • Gerald Cheong et al., An Optimizer for Multimedia Instruction Sets, Aug. 14, 1997, Stanford University (Cheong-1997.pdf).
  • Gerald Cheong et al., An Optimizer for Multimedia Instruction Sets, Aug. 14, 1997, Stanford University (Cheong—1997.pdf).
  • Ho et al. "Managing Side Effects on Shared Data", University of California at Berkeley, 1993, (Ho-Kinson.pdf, pp. 210-211, 221).