首页> 外国专利> Instructions and logic for providing vector scattering calculation function and vector collection calculation function

Instructions and logic for providing vector scattering calculation function and vector collection calculation function

机译:提供矢量散射计算功能和矢量集合计算功能的指令和逻辑

摘要

Instructions and logic provide vector scatter-op and/or gather-op functionality. In some embodiments, responsive to an instruction specifying: a gather and a second operation, a destination register, an operand register, and a memory address; execution units read values in a mask register, wherein fields in the mask register correspond to offset indices in the indices register for data elements in memory. A first mask value indicates the element has not been gathered from memory and a second value indicates that the element does not need to be, or has already been gathered. For each having the first value, the data element is gathered from memory into the corresponding destination register location, and the corresponding value in the mask register is changed to the second value. When all mask register fields have the second value, the second operation is performed using corresponding data in the destination and operand registers to generate results.
机译:指令和逻辑提供矢量分散操作和/或聚集操作功能。在一些实施例中,响应于指定以下指令的指令:聚集和第二操作,目的地寄存器,操作数寄存器和存储器地址;以及执行单元读取掩码寄存器中的值,其中掩码寄存器中的字段对应于存储器中数据元素的索引寄存器中的偏移索引。第一个掩码值指示该元素尚未从内存中收集,第二个值指示该元素不需要或已被收集。对于每个具有第一值的数据元素,数据元素从存储器中收集到相应的目标寄存器位置,并且掩码寄存器中的相应值更改为第二值。当所有掩码寄存器字段都具有第二值时,使用目标寄存器和操作数寄存器中的相应数据执行第二次操作以生成结果。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号