INSTRUCTIONS AND SUPPORT FOR CALCULATING PREFIX SUMS

    公开(公告)号:US20230409333A1

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

    申请号:US17843823

    申请日:2022-06-17

    CPC classification number: G06F9/3818 G06F9/30105

    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