APPARATUS AND METHOD FOR EXECUTING BOOLEAN FUNCTIONS VIA FORMING INDEXES TO AN IMMEDIATE VALUE FROM SOURCE REGISTER BITS

    公开(公告)号:US20190310848A1

    公开(公告)日:2019-10-10

    申请号:US16452390

    申请日:2019-06-25

    Abstract: An apparatus and method are described for performing efficient Boolean operations in a pipelined processor which, in one embodiment, does not natively support three operand instructions. For example, in one embodiment, a processor comprises: a set of registers for storing packed operands; Boolean operation logic to execute a single instruction which uses three or more source operands packed in the set of registers, the Boolean operation logic to read at least three source operands and an immediate value to perform a Boolean operation on the three source operands, wherein the Boolean operation comprises: combining a bit read from each of the three operands to form an index to the immediate value, the index identifying a bit position within the immediate value; reading the bit from the identified bit position of the immediate value; and storing the bit from the identified bit position of the immediate value in a destination register.

Patent Agency Ranking