INSTRUCTIONS AND SUPPORT FOR CALCULATING PREFIX SUMS

    公开(公告)号:EP4293504A1

    公开(公告)日:2023-12-20

    申请号:EP23173881.6

    申请日:2023-05-17

    Abstract: Techniques for performing prefix sums in response to a single instruction are describe are described. In some examples, the single instruction includes fields for an opcode, one or fields to reference a first source operand, one or fields to reference a second source operand, one or fields to reference a destination operand, wherein the opcode is to indicate that execution circuitry is, in response to a decoded instance of the single instruction, to at least: perform a prefix sum by for each non-masked data element position of the second source operand adding a data element of that data element position to each data element of preceding data element positions and adding at least one data element of a defined data element position of the first source operand, and store each prefix sum for each data element position of the second source operand into a corresponding data element position of the destination operand.

Patent Agency Ranking