发明名称 Rotate-Mask-Merge and Deposit Field Instructions for Packet Processing
摘要 In an embodiment of the invention, a method of performing a byte-rotate-merge on computer hardware is discussed. Byte-rotating is performed on first and second source operands and are byte-rotated by first and second rotation constants respectively. The first byte-rotate output and the second byte-rotate output are merged. Bytes from the first byte-rotate output are output to a byte-rotate-merge output when control bits from a byte-mask are logical ones. Bytes from the second byte-rotate output are output to a byte-rotate-merge output when control bits from the byte-mask are logical zeros.
申请公布号 US2016191383(A1) 申请公布日期 2016.06.30
申请号 US201615059340 申请日期 2016.03.03
申请人 TEXAS INSTRUMENTS INCORPORATED 发明人 Bosshart Patrick W.
分类号 A61B19/00;H04L29/12;H04N19/10 主分类号 A61B19/00
代理机构 代理人
主权项 1. A method for performing a byte-rotate-merge instruction on computer hardware comprising: receiving a first source argument and a second source argument; byte-rotating the first source argument by a number of bytes specified by a first rotation constant resulting in a first byte-rotate output; byte-rotating the second source argument by a number of bytes specified by a second rotation constant resulting in a second byte-rotate output; merging the first byte-rotate output with the second byte-rotate output creating a byte-rotate-merge output wherein the byte-rotate-merge output comprises a plurality of bytes wherein each byte of the plurality of bytes has a corresponding control bit from a byte mask; selecting the first byte-rotate output for each byte in the byte-rotate-merge output when the corresponding control bit from the byte mask is a logical one; selecting the second byte-rotate output for each byte in the byte-rotate-merge output when the corresponding control bit from the byte mask is a logical zero.
地址 Dallas TX US