EXECUTION OF VARIABLE WIDTH VECTOR PROCESSING INSTRUCTIONS
First Claim
1. A system for executing variable width vector processing instructions, comprising:
- at least one vector register, operable to store a vector;
at least one processing unit, communicably coupled to the at least one vector register, operable to execute code of at least one program that includes at least one variable vector processing instruction and at least one vector register width instruction and to supply a width of the at least one vector register in response to executing the at least one vector register width instruction;
wherein the at least one processing unit processes the at least one variable vector processing instruction utilizing the at least one vector register with a vector width of the width of the at least one vector register supplied by the at least one processing unit.
2 Assignments
0 Petitions
Accused Products
Abstract
A processing unit executes a vector width instruction in a program and the processing unit obtains and supplies the width of an appropriate vector register that will be used to process variable vector processing instructions. Then, when the processing unit executes variable vector processing instructions in the program, the processing unit processes the variable vector processing instructions using the appropriate vector register with the instructions having the same width as the appropriate vector register. The width that the processing unit obtains may be less than an actual width of the appropriate vector register and may set by the processing unit. In this way, many different vector widths can be supported using a single set of instructions for vector processing. New instructions are not required if vector widths are changed and processing units having vector registers of differing widths do not require different code.
-
Citations
20 Claims
-
1. A system for executing variable width vector processing instructions, comprising:
-
at least one vector register, operable to store a vector; at least one processing unit, communicably coupled to the at least one vector register, operable to execute code of at least one program that includes at least one variable vector processing instruction and at least one vector register width instruction and to supply a width of the at least one vector register in response to executing the at least one vector register width instruction; wherein the at least one processing unit processes the at least one variable vector processing instruction utilizing the at least one vector register with a vector width of the width of the at least one vector register supplied by the at least one processing unit. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A method for variable length vector operation instruction processing, comprising:
-
obtaining a width of at least one vector register during execution of code of a program utilizing at least one processing unit by executing at least one vector register width instruction in the code; executing at least one variable vector processing instruction in the code utilizing the at least one processing unit; and processing the at least one variable vector processing instruction utilizing the at least one vector register with a vector width of the obtained width of the at least one vector register. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19)
-
-
20. A computer program product, comprising:
-
a first set of instructions, stored in at least one computer readable storage medium, executable by at least one processing unit to obtain a width of at least one vector register during execution of code of a program by executing at least one vector register width instruction in the code; and a second set of instructions, stored in the at least one computer readable storage medium, executable by the at least one processing unit to execute at least one variable vector processing instruction in the code and process the at least one variable vector processing instruction utilizing the at least one vector register with a vector width of the obtained width of the at least one vector register.
-
Specification