Instructions for storing in general purpose registers one of two scalar constants based on the contents of vector write masks

    公开(公告)号:US10157061B2

    公开(公告)日:2018-12-18

    申请号:US13994060

    申请日:2011-12-22

    IPC分类号: G06F9/30

    摘要: According to one embodiment, an occurrence of an instruction is fetched. The instruction's format specifies its only source operand from a single vector write mask register, and specifies as its destination a single general purpose register. In addition, the instruction's format includes a first field whose contents selects the single vector write mask register, and includes a second field whose contents selects the single general purpose register. The source operand is a write mask including a plurality of one bit vector write mask elements that correspond to different multi-bit data element positions within architectural vector registers. The method also includes, responsive to executing the single occurrence of the single instruction, storing data in the single general purpose register such that its contents represent either a first or second scalar constant based on whether the plurality of one bit vector write mask elements in the source operand are all zero.

    Instruction execution that broadcasts and masks data values at different levels of granularity
    7.
    发明授权
    Instruction execution that broadcasts and masks data values at different levels of granularity 有权
    指令执行,以不同的粒度级别广播和屏蔽数据值

    公开(公告)号:US09424327B2

    公开(公告)日:2016-08-23

    申请号:US13976433

    申请日:2011-12-23

    IPC分类号: G06F7/00 G06F17/30 G06F9/30

    摘要: An apparatus is described that includes an execution unit to execute a first instruction and a second instruction. The execution unit includes input register space to store a first data structure to be replicated when executing the first instruction and to store a second data structure to be replicated when executing the second instruction. The first and second data structures are both packed data structures. Data values of the first packed data structure are twice as large as data values of the second packed data structure. The execution unit also includes replication logic circuitry to replicate the first data structure when executing the first instruction to create a first replication data structure, and, to replicate the second data structure when executing the second data instruction to create a second replication data structure. The execution unit also includes masking logic circuitry to mask the first replication data structure at a first granularity and mask the second replication data structure at a second granularity. The second granularity is twice as fine as the first granularity.

    摘要翻译: 描述了包括执行第一指令和第二指令的执行单元的装置。 执行单元包括输入寄存器空间,以在执行第一指令时存储待复制的第一数据结构,并且在执行第二指令时存储要复制的第二数据结构。 第一和第二数据结构都是打包数据结构。 第一打包数据结构的数据值是第二打包数据结构的数据值的两倍。 当执行第一指令以创建第一复制数据结构时,执行单元还包括复制第一数据结构的复制逻辑电路,以及在执行第二数据指令以创建第二复制数据结构时复制第二数据结构。 执行单元还包括掩蔽逻辑电路,以第一粒度掩蔽第一复制数据结构,并以第二粒度掩蔽第二复制数据结构。 第二粒度是第一粒度的两倍。

    Instruction execution unit that broadcasts data values at different levels of granularity
    9.
    发明授权
    Instruction execution unit that broadcasts data values at different levels of granularity 有权
    指令执行单元,以不同的粒度级别广播数据值

    公开(公告)号:US09336000B2

    公开(公告)日:2016-05-10

    申请号:US13976003

    申请日:2011-12-23

    IPC分类号: G06F9/30 G06F9/38

    摘要: An apparatus is described that includes an execution unit to execute a first instruction and a second instruction. The execution unit includes input register space to store a first data structure to be replicated when executing the first instruction and to store a second data structure to be replicated when executing the second instruction. The first and second data structures are both packed data structures. Data values of the first packed data structure are twice as large as data values of the second packed data structure. The first data structure is four times as large as the second data structure. The execution unit also includes replication logic circuitry to replicate the first data structure when executing the first instruction to create a first replication data structure, and, to replicate the second data structure when executing the second instruction to create a second replication data structure.

    摘要翻译: 描述了包括执行第一指令和第二指令的执行单元的装置。 执行单元包括输入寄存器空间,用于在执行第一指令时存储要复制的第一数据结构,并且在执行第二指令时存储要复制的第二数据结构。 第一和第二数据结构都是打包数据结构。 第一打包数据结构的数据值是第二打包数据结构的数据值的两倍。 第一个数据结构是第二个数据结构的四倍。 执行单元还包括复制逻辑电路,以在执行第一指令以创建第一复制数据结构时复制第一数据结构,并且在执行第二指令以创建第二复制数据结构时复制第二数据结构。