首页> 外国专利> Single-instruction multiple-data vector permutation instruction and method for performing table lookups for in-range index values and determining constant values for out-of-range index values

Single-instruction multiple-data vector permutation instruction and method for performing table lookups for in-range index values and determining constant values for out-of-range index values

机译:用于对范围内的索引值执行表查找并为范围外的索引值确定常数的单指令多数据向量置换指令和方法

摘要

A processor in a data processing system executes a permutation instruction which identifies a first source register, at least one other source register, and a destination register. The first source register stores at least one in-range index value for the at least one other source register and at least one out-of-range index value for the at least one other source register. The at least one other source register stores a plurality of vector element values, wherein each in-range index value indicates which vector element value of the at least one other source register is to be stored into a corresponding vector element of the destination register. Each out-of-range index value is used to indicate which one of at least two predetermined constant values is to be stored into a corresponding vector element of the destination register. Partial table lookups using a permutation instruction shortens the time required to retrieve data.
机译:数据处理系统中的处理器执行置换指令,该置换指令标识第一源寄存器,至少一个其他源寄存器和目的寄存器。第一源寄存器存储用于至少一个其他源寄存器的至少一个范围内的索引值和用于至少一个其他源寄存器的至少一个范围外的索引值。至少另一个其他源寄存器存储多个矢量元素值,其中每个范围内索引值指示将至少另一个其他源寄存器的哪个矢量元素值存储到目标寄存器的对应矢量元素中。每个超出范围的索引值用于指示将至少两个预定常数值中的哪一个存储到目标寄存器的相应向量元素中。使用置换指令的部分表查找可缩短检索数据所需的时间。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号