CPC G06F 9/30032 (2013.01) [G06F 9/30123 (2013.01)] | 20 Claims |
1. An article of manufacture comprising a non-transitory machine-readable medium, the medium comprising instructions, the instructions, when read and executed by a processor, cause the processor to execute a shift instruction, the shift instruction to cause a source data in memory to be shifted left or shifted right, the source data including a plurality of source words, the shift instruction to include a source parameter to identify the source data, the shift instruction to include a bit size parameter to identify a specified number of bits by which the source data is to be shifted, through:
a shift of a first source word of the source data by the specified number of bits to yield a first intermediate word;
a shift of a second source word of the source data by the specified number of bits to yield a second intermediate word and a first set of shifted-out bits; and
execution of a logical OR operation on the first intermediate word and the first set of shifted-out bits to yield a first result word.
|