Gather using index array and finite state machine
Abstract
Methods and apparatus are disclosed for using an index array and finite state machine for scatter/gather operations. Embodiment of apparatus may comprise: decode logic to decode a scatter/gather instruction and generate a set of micro-operations, and an index array to hold a set of indices and a corresponding set of mask elements. A finite state machine facilitates the gather operation. Address generation logic generates an address from an index of the set of indices for at least each of the corresponding mask elements having a first value. An address is accessed to load a corresponding data element if the mask element had the first value. The data element is written at an in-register position in a destination vector register according to a respective in-register position the index. Values of corresponding mask elements are changed from the first value to a second value responsive to completion of their respective loads.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 49 · Forward citations: 2.
Claims (3 — 2 Independent, 1 Dependent)
- Claim 1Independent Claim
A computer implemented method comprising: decoding a single instruction; executing the decoded single instruction by: copying, from one or more registers, a set of indices and a corresponding set of mask elements to an index array, generating a set of addresses from the set of indices in the index array for at least each corresponding mask element having a first value; accessing an address from the set of addresses to store a corresponding data element if a corresponding mask element has said first value, and changing the values of corresponding mask elements from the first value to a second v
- Claim 2Depends on #1
The computer implemented method of claim 1 , wherein the single instruction is a single instruction multiple data (SIMD) instruction.
- Claim 3Independent Claim
The comput
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (49)
Non-Patent Literature (5)
- Final office action from U.S. Appl. No. 13/487,184, dated Aug. 20, 2014, 12 pages.
- Final Office action from U.S. Appl. No. 13/977,727, dated May 9, 2016, 8 pages.
- Final Office Action from U.S. Appl. No. 15/490,743, dated Mar. 8, 2018, 9 pages.
- International Preliminary Report on Patentability for Application No. PCT/US2012/040628, dated Dec. 11, 2014, 6 pages.
- International Search Report and Written Opinion for Application No. PCT/US2012/040628, dated Jan. 29, 2013, 9 pages.