Patent ID: 9495162
Filing Date: 2016-11-15
CPC Classification: G06F

Claim Text:
1. A processor comprising: non-transitory machine-readable medium including an instruction including a first source operand, a second source operand, and a destination operand, the instruction when executed by the processor, causing the processor to perform: reading values from a mask data structure to determine whether masking is implemented for each data element of the destination operand; if masking is not implemented for a particular data element, then selecting one data element from the destination operand and the second source operand based on an index value of a plurality of index values stored in the first source operand to be copied to a data element position for that particular data element within the destination operand, wherein any one of the data elements from either the destination operand and the second source operand may be copied to any one of the data element positions within the destination operand based on the plurality of index values; if masking is implemented for a particular data element of the destination operand, then performing a designated masking operation with respect to that particular data element, wherein the designated masking operation comprises leaving current bit values stored in the particular data element unchanged.