SYSTEMS, APPARATUSES, AND METHODS FOR STRIDE PATTERN GATHERING OF DATA ELEMENTS AND STRIDE PATTERN SCATTERING OF DATA ELEMENTS
First Claim
Patent Images
1. A method of performing a gather stride instruction in a computer processor, comprising:
- fetching the gather stride instruction, wherein the gather stride instruction includes a destination register operand, a writemask, and memory source addressing information including scale, base, and stride values;
decoding the fetched gather stride instruction;
executing the fetched gather stride instruction to conditionally store strided data elements from memory into the destination register according to at least some of bit values of the writemask.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments of systems, apparatuses, and methods for performing gather and scatter stride instruction in a computer processor are described. In some embodiments, the execution of a gather stride instruction causes a conditionally storage of strided data elements from memory into the destination register according to at least some of bit values of a writemask.
-
Citations
20 Claims
-
1. A method of performing a gather stride instruction in a computer processor, comprising:
-
fetching the gather stride instruction, wherein the gather stride instruction includes a destination register operand, a writemask, and memory source addressing information including scale, base, and stride values; decoding the fetched gather stride instruction; executing the fetched gather stride instruction to conditionally store strided data elements from memory into the destination register according to at least some of bit values of the writemask. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method of performing a scatter stride instruction in a computer processor, comprising:
-
fetching the scatter stride instruction, wherein the scatter stride instruction includes a source register operand, a writemask, and memory destination addressing information including scale, base, and stride values; decoding the scatter stride instruction; executing the scatter stride instruction to conditionally store data elements from the source register into strided positions of the memory according to at least some of bit values of the writemask. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
-
17. An apparatus comprising;
-
a hardware decoder to decode a gather stride instruction, wherein the gather stride instruction includes a destination register operand, a writemask, and memory source addressing information including scale, base, and stride values, and a scatter stride instruction, wherein the gather stride instruction includes a source register operand, a writemask, and memory destination addressing information including scale, base, and stride values; execution logic to execute decoded gather stride and scatter stride instructions, wherein an execution of a decoded gather stride instruction to cause strided data elements from memory to be conditionally stored into the destination register according to at least some of bit values of the writemask of the gather stride instruction, and an execution of a decoded scatter gather stride to cause data elements to be conditionally stored into strided positions of the memory according to at least some of bit values of the writemask of the scatter stride instruction. - View Dependent Claims (18, 19, 20)
-
Specification