-
1.
公开(公告)号:US20200050452A1
公开(公告)日:2020-02-13
申请号:US16367186
申请日:2019-03-27
Applicant: Intel Corporation
Inventor: Dan BAUM , Ronen ZOHAR , Asit MISHRA , Prasoonkumar Surti , Elmoustapha OULD-AHMED-VALL , Christopher HUGHES , Alexander HEINECKE
IPC: G06F9/30
Abstract: Disclosed embodiments relate to apparatuses, systems, and methods for performing sort indexing and/or permutation using an index. An exemplary apparatus includes decode circuitry to decode an instruction, the instruction to include a first field to identify a location of a source vector, a second field to identify a location of a destination vector, and an opcode to indicate to execution circuitry to execute the decoded instruction to sort values of the source vector and store a result of the sort in the destination vector by generating, per each element of the source vector, an index value using one or more comparisons of the element itself and to other data elements of the source vector, and permuting the values of the elements of the source vector based upon the index values for the elements and execution circuitry to execute the decoded instruction as indicated by the opcode.