首页> 外国专利> VECTOR COMPRESS2 AND EXPAND2 INSTRUCTIONS WITH TWO MEMORY LOCATIONS

VECTOR COMPRESS2 AND EXPAND2 INSTRUCTIONS WITH TWO MEMORY LOCATIONS

机译:具有两个内存位置的矢量COMPRESS2和EXPAND2指令

摘要

Disclosed embodiments relate to vector compress2 and expand2 instructions with two memory locations. In one example, a system includes a memory and a processor that includes circuits to fetch, decode, and execute the instruction that includes an opcode, a first destination operand identifier, a second operand identifier, a source operand identifier, and a control mask, wherein, for each element of the source operand, the execution circuit is to generate a result by performing one of compression and expansion of the element; and, based on the value of a bit of the control mask corresponding to the element, store the result to a first location identified by the first destination operand identifier and increment the first destination operand identifier by a size of the result, and, otherwise, store the result to a second location identified by the second destination operand identifier and increment the second destination operand identifier by the size of the result.
机译:公开的实施例涉及具有两个存储器位置的向量compress2和expand2指令。在一个示例中,系统包括存储器和处理器,该处理器和处理器包括用于获取,解码和执行该指令的电路,该指令包括操作码,第一目标操作数标识符,第二操作数标识符,源操作数标识符和控制掩码,其中,对于源操作数的每个元素,执行电路将通过执行元素的压缩和扩展之一来生成结果;根据所述元素对应的所述控制掩码的比特值,将所述结果存储至所述第一目的操作数标识所标识的第一位置,并将所述第一目的操作数标识的大小增加所述结果的大小;否则,将结果存储到由第二目标操作数标识符标识的第二位置,并将第二目标操作数标识符递增结果的大小。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号