首页> 外国专利> APPARATUS AND METHOD FOR RIGHT-SHIFTING PACKED QUADWORDS AND EXTRACTING PACKED WORDS

APPARATUS AND METHOD FOR RIGHT-SHIFTING PACKED QUADWORDS AND EXTRACTING PACKED WORDS

机译:权利对打包的四字和换出打包的字的装置和方法

摘要

An apparatus and method for performing right-shifting operations on packed quadword data. For example, one embodiment of a processor comprises: a decoder to decode a right-shift instruction to generate a decoded right-shift instruction; a first source register to store a plurality of packed quadword data elements, each of the packed quadword data elements including a sign bit; execution circuitry to execute the decoded right-shift instruction, the execution circuitry comprising shift circuitry with sign preservation logic to right-shift first and second packed quadword data elements from first and second packed quadword data element locations, respectively, in the first source register by an amount specified in an immediate value or in a control value in a second source register, the right-shifting to generate first and second right-shifted quadwords, the sign preservation logic to shift in the sign bit to any bit positions exposed by the right-shifting of the first and second quadwords; the execution circuitry to cause selection of 16 most significant bits of the first and second right-shifted quadwords, including the sign bit, to be written to 16 least significant bit regions of first and second quadword data element locations, respectively, of a destination register.
机译:一种用于对打包的四字数据执行右移操作的装置和方法。例如,处理器的一个实施例包括:解码器,其对右移指令进行解码以生成解码后的右移指令;以及第一源寄存器,用于存储多个打包的四字数据元素,每个打包的四字数据元素包括符号位;执行电路以执行解码的右移指令,该执行电路包括具有符号保留逻辑的移位电路,以将第一和第二打包四字数据元素分别从第一源寄存器中的第一和第二打包四字数据元素位置右移分别在第二个源寄存器中的立即值或控制值中指定的数量,右移以生成第一和第二个右移双精度数,符号保留逻辑将符号位移入右侧显示的任何位位置-第一个和第二个adwords的转换;执行电路,以使选择第一和第二个右移双位数的最高有效位(包括符号位)的选择分别写入目标寄存器的第一和第二四字数据元素位置的16个最低有效位区域。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号