首页> 外国专利> Device and method for horizontal vector addition of signed / unsigned words and double words

Device and method for horizontal vector addition of signed / unsigned words and double words

机译:用于对有符号/无符号字和双字进行水平矢量相加的装置和方法

摘要

An apparatus and method for performing a packed horizontal addition of words and double words. An embodiment of a processor includes, for example: a decoder for decoding a packed horizontal add instruction to generate a decoded packed horizontal add instruction, the packaged horizontal add instruction including opcode and operands identifying a plurality of packed words; a source register for storing a first plurality of packed words; an execution circuit for executing the decoded instruction, the execution circuit comprising: an operand selection circuit for identifying a first and second packed word from the source register according to the operand and the opcode of the packed horizontal addition instruction; an adder circuit for adding the first and second packed words to produce a temporary sum; a temporary memory of at least 17 bits for storing the temporary sum; a saturation circuit for saturating the temporary sum, if necessary, to produce a final resu a destination register for storing the final result as a packed result word at a designated data element position.
机译:一种用于执行单词和双单词的压缩水平加法的设备和方法。处理器的实施例包括例如:解码器,用于解码打包水平加法指令以生成解码的打包水平加法指令,打包水平加法指令包括操作码和标识多个打包字的操作数;以及源寄存器,用于存储第一多个打包词;执行电路,用于执行解码后的指令,该执行电路包括:操作数选择电路,用于根据打包水平加法指令的操作数和操作码从源寄存器中识别第一和第二打包字;加法器电路,用于将第一和第二打包字相加以产生临时和;至少17位的临时存储器,用于存储临时和;饱和电路,用于在必要时使临时和饱和,以产生最终结果;一个目的地寄存器,用于将最终结果作为打包结果字存储在指定的数据元素位置。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号