首页> 外国专利> Apparatus and method for multiplication and accumulation of complex and real packed data elements

Apparatus and method for multiplication and accumulation of complex and real packed data elements

机译:用于复杂和实数打包数据元素的乘法和累加的设备和方法

摘要

An apparatus and method for multiplying packed real and imaginary components of complex numbers. For example, one embodiment of a processor comprises: a decoder to decode a first instruction to generate a decoded instruction; a first source register to store a first plurality of packed real and imaginary data elements; a second source register to store a second plurality of packed real and imaginary data elements; execution circuitry to execute the decoded instruction, the execution circuitry comprising: multiplier circuitry to select real and imaginary data elements in the first source register and second source register to multiply, the multiplier circuitry to multiply each selected imaginary data element in the first source register with a selected real data element in the second source register, and to multiply each selected real data element in the first source register with a selected imaginary data element in the second source register to generate a plurality of imaginary products, adder circuitry to add a first subset of the plurality of imaginary products to generate a first temporary result and to add a second subset of the plurality of imaginary products to generate a second temporary resu accumulation circuitry to combine the first temporary result with first data from a destination register to generate a first final result and to combine the second temporary result with second data from the destination register to generate a second final result and to store the first final result and second final result back in the destination register.
机译:一种用于将复数的打包实部和虚部相乘的装置和方法。例如,处理器的一个实施例包括:解码器,其对第一指令进行解码以生成解码后的指令;以及第一源寄存器,用于存储第一多个打包的实数和虚数数据元素;第二源寄存器,用于存储第二多个打包的实部和虚部数据元素;执行电路以执行解码的指令,该执行电路包括:乘法器电路,用于选择第一源寄存器中的实数和虚数数据元素;第二乘法器,用于将第一源寄存器中的每个选定虚数数据元素乘以将第二源寄存器中的选定实数数据元素与第一源寄存器中的每个选定实数数据元素与第二源寄存器中选定的虚数数据元素相乘以生成多个虚积,加法器电路将第一子集相加多个假想积中的一个生成第一临时结果,并添加多个假想积中的第二子集以生成第二临时结果;累加电路,将第一临时结果与来自目标寄存器的第一数据相结合以产生第一最终结果,并将第二临时结果与来自目标寄存器的第二数据相结合以产生第二最终结果并存储第一最终结果和第二结果。最终结果返回到目标寄存器。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号