首页> 外国专利> Providing vector horizontal compare functionality within a vector register

Providing vector horizontal compare functionality within a vector register

机译:在向量寄存器中提供向量水平比较功能

摘要

A processor includes a vector register including data fields to store values of vector elements of data, a decoder to decode a single instruction multiple data (SIMD) instruction specifying a source operand and a mask to identify a masked portion of the data fields. An execution unit is to read a plurality of values from unmasked data fields of the plurality of data fields of the vector register; compare, within the vector register, each of the plurality of values from the unmasked data fields for equality with all other values of the plurality of values; and responsive to a detection of an inequality of any two values of the plurality of values, set a mask field, corresponding to a detected unequal value, to a masked state with a flip of a bit value of the mask field, to signal the detection of the inequality.
机译:处理器包括:向量寄存器,其包括用于存储数据的向量元素的值的数据字段;解码器,其用于对指定源操作数的单指令多数据(SIMD)指令进行解码;以及用于标识数据字段的被掩码部分的掩码。执行单元将从向量寄存器的多个数据字段的未屏蔽数据字段中读取多个值;在向量寄存器中,比较来自未屏蔽数据字段的多个值中的每个值,以与多个值中的所有其他值相等;并响应于检测到多个值中的任何两个值的不相等,将与检测到的不相等值相对应的掩码字段设置为掩码状态,并翻转掩码字段的位值,以用信号通知检测不平等。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号