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: 46 · Forward citations: 3.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A computer implemented method comprising: responsive to a single decoded instruction: copying from one or more registers a set of indices and a corresponding set of mask elements to an index array responsive to a first micro-operation generated by decoding a SIMD gather instruction; 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 load a corresponding data element if a corresponding mask element has said first value; and initializing a finite state machin
- Claim 2Depends on #1
The computer implemented method of claim 1 , wherein said initializing
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (46)
Non-Patent Literature (5)
- Final Office action from U.S. Appl. No. 13/977,727, dated May 9, 2016, 8 pages.
- International Search Report and Written Opinion for PCT Application No. PCT/US20121040628, Korean Search Authority, Daejeon Metropolitan City, Republic of Korea, mailed on Jan. 29, 2013, 9 pages.
- Notice of Allowance from U.S. Appl. No. 13/977,727, dated Aug. 19, 2016, 7 pages.
- Office action from U.S. Appl. No. 13/977,727, dated Dec. 31, 2015, 8 pages.
- PCT/US2012/040628 Notification Concerning Transmittal of International Preliminary Report on Patentability, dated Dec. 11, 2014, 6 pages.