Method for generating optimized vector instructions from high level programming languages
AssigneeAdvanced Micro Devices, Inc.
InventorsGwangwoo “Johnny” Choe, James R. MacDonald, Paul B. Mann
Life of this patent
Estimating the term…
Loading patent…
AssigneeAdvanced Micro Devices, Inc.
InventorsGwangwoo “Johnny” Choe, James R. MacDonald, Paul B. Mann
Estimating the term…
A method for compiling source code to produce vector instructions, wherein parallel operands are placed in adjacent locations in memory and wherein the realignment of the operands is minimized. One embodiment generates two-element vector instructions from generalized (e.g., non-loop) source instructions. Memory locations are assigned to the corresponding operands based on the operations which are selected for parallel execution, so that parallel operations operate on data which are adjacent in memory. The memory locations are assigned in a way which minimizes realignment of the data (i.e., swapping positions of two operands.) Another embodiment comprises a software program (e.g., a vectorizing compiler) which examines a block of program code, analyzes the operators within the code and generates vectorized code in accordance with the foregoing method.
A method comprising
A computer readable storage medium having instructions recorded therein, wherein said instructions are operable to:
A method for selecting operators in a computer program for parallel execution, the method comprising:
Dependencies are inferred from the claim text.