Vector scaling instructions for use in an arithmetic logic unit
AssigneeQUALCOMM Incorporated
InventorsLin Chen, Andrew Evan Gruber, Guofang Jiao, Chiente Ho, Pramod Vasant Argade
Life of this patent
Estimating the term…
Abstract
At least one processor may receive components of a vector, wherein each of the components of the vector comprises at least an exponent. The at least one processor may further determine a maximum exponent out of respective exponents of the components of the vector, and may determine a scaling value based at least in part on the maximum exponent. An arithmetic logic unit of the at least one processor may scale the vector, by subtracting the scaling value from each of the respective exponents of the components of the vector.
Claims30
A method for scaling a vector, the method comprising:
- receiving, by at least one processor, components of a vector, wherein each of the components of the vector comprises at least an exponent;
- determining, by the at least one processor, a maximum exponent out of respective exponents of the components of the vector;
- determining a scaling value based at least in part on the maximum exponent;
- and
- scaling, by an arithmetic logic unit (ALU) of the at least one processor, the vector by subtracting the scaling value from each of the respective exponents of the components of the vector.
An apparatus for scaling a vector, the apparatus comprising:
- a memory configured to store components of a vector, wherein each of the components of the vector comprises at least an exponent;
- at least one processor configured to:
- determine a maximum exponent out of respective exponents of the components of the vector, and
- determine a scaling value based at least in part on the maximum exponent;
- and
- an arithmetic logic unit (ALU) configured to scale the vector by subtracting the scaling value from each of the respective exponents of the components of the vector.
An apparatus for scaling a vector, the apparatus comprising:
- means for receiving components of a vector, wherein each of the components of the vector comprises at least an exponent;
- means for determining a maximum exponent out of respective exponents of the components of the vector;
- means for determining a scaling value based at least in part on the maximum exponent;
- and
- means for scaling the vector by subtracting the scaling value from each of the respective exponents of the components of the vector.
A computer-readable storage medium storing instructions that, when executed, cause one or more programmable processors to:
- receive components of a vector, wherein each of the components of the vector comprises at least an exponent;
- determine a maximum exponent out of respective exponents of the components of the vector;
- determine a scaling value based at least in part on the maximum exponent;
- and
- scale the vector by subtracting the scaling value from each of the respective exponents of the components of the vector.
Dependencies are inferred from the claim text.