Patent ID: 7895423

Claim:
A method, comprising: receiving a packet with an index key embedded in the packet; extracting the index key; and accessing a data set using the index key, wherein extracting the index key comprises: storing at least a portion of the packet in a pair of general purpose registers; executing a first extract instruction, wherein executing the first extract instruction includes extracting a copy of any part of the index key in a first one of the pair of general purpose registers designated as a first source register; executing a second extract instruction, wherein executing the second extract instruction includes extracting a copy of any part of the index key in a second one of the pair of general purpose registers designated as a second source register; and inserting, in response to executing the second extract instruction, any part of the index key extracted from the second source register along with any part of the index key extracted from the first source register into a final result register of the general purpose registers.