Patent ID: 11947964
Assignee: MARVELL ASIA PTE LTD
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A method for performing an operation on operands of an instruction, the method comprising:
accessing a mask, wherein the mask comprises a sequence of bit values, wherein the mask is based on a size of elements of the operands, and wherein the bit values correspond to slices of the operation;
selecting, based on a bit value of the bit values, one of: i) carrying a result of performing a first slice of the operation on a first element of a first operand of the operands and a corresponding first element of a second operand of the operands, into a second slice of the operation, and ii) carrying an a priori carry-in into the second slice, wherein the second slice is performed on a second element of the first operand and a corresponding second element of the second operand according to a result of said selecting; and
outputting results of performing the first and second slices.