METHOD AND APPARATUS FOR PERFORMING LOGICAL COMPARE OPERATIONS

    公开(公告)号:US20190286444A1

    公开(公告)日:2019-09-19

    申请号:US16184994

    申请日:2018-11-08

    申请人: INTEL CORPORATION

    IPC分类号: G06F9/30 G06F9/38

    摘要: A method and apparatus for including in processor instructions for performing logical-comparison and branch support operations on packed or unpacked data. In one embodiment, instruction decode logic decodes instructions for an execution unit to operate on packed data elements including logical comparisons. A register file including 128-bit packed data registers stores packed single-precision floating point (SPFP) and packed integer data elements. The logical comparisons may include comparison of SPFP data elements and comparison of integer data elements and setting at least one bit to indicate the results. Based on these comparisons, branch support actions are taken. Such branch support actions may include setting the at least one bit, which in turn may be utilized by a branching unit in response to a branch instruction. Alternatively, the branch support actions may include branching to an indicated target code location.

    SYSTEMS, APPARATUSES, AND METHODS FOR GENERATING AN INDEX BY SORT ORDER AND REORDERING ELEMENTS BASED ON SORT ORDER

    公开(公告)号:US20200050452A1

    公开(公告)日:2020-02-13

    申请号:US16367186

    申请日:2019-03-27

    申请人: Intel Corporation

    IPC分类号: G06F9/30

    摘要: 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.