VECTOR WIDTH-AWARE SYNCHRONIZATION-ELISION FOR VECTOR PROCESSORS
First Claim
1. A computer-readable storage medium storing program instructions executable by a computer to implement a compiler configured to:
- create a width-specific executable version of program code, wherein producing the width-specific executable version comprises;
determining a vector width of a target computer system; and
in response to determining that the vector width meets one or more criteria, omitting a function from the width-specific executable version.
2 Assignments
0 Petitions
Accused Products
Abstract
A medium, method, and apparatus are disclosed for eliding superfluous function invocations in a vector-processing environment. A compiler receives program code comprising a width-contingent invocation of a function. The compiler creates a width-specific executable version of the program code by determining a vector width of a target computer system and omitting the function from the width-specific executable if the vector width meets one or more criteria. For example, the compiler may omit the function call if the vector width is greater than a minimum size.
34 Citations
20 Claims
-
1. A computer-readable storage medium storing program instructions executable by a computer to implement a compiler configured to:
create a width-specific executable version of program code, wherein producing the width-specific executable version comprises; determining a vector width of a target computer system; and in response to determining that the vector width meets one or more criteria, omitting a function from the width-specific executable version. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
9. A computer-implemented method of compiling program code, the method comprising:
creating a width-specific executable version of the program code, wherein producing the width-specific executable version comprises; determining a vector width of a target computer system; and in response to determining that the vector width is greater than a threshold indicated by the width-contingent invocation, omitting a function from the width-specific executable version. - View Dependent Claims (10, 11, 12, 13, 14)
-
15. An apparatus comprising:
-
a memory storing a computer program; a vector processor configured to elide a function call in the computer program in response to determining that the function call is superfluous, wherein determining that the function call is superfluous is based on a vector width of the vector processor. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification