Processors, methods, and systems to implement partial register accesses with masked full register accesses
    33.
    发明授权
    Processors, methods, and systems to implement partial register accesses with masked full register accesses 有权
    处理器,方法和系统,用于实现具有屏蔽的完全寄存器访问的部分寄存器访问

    公开(公告)号:US09477467B2

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

    申请号:US13854089

    申请日:2013-03-30

    申请人: Intel Corporation

    IPC分类号: G06F15/76 G06F15/00 G06F9/30

    摘要: A method includes receiving a packed data instruction indicating a first narrower source packed data operand and a narrower destination operand. The instruction is mapped to a masked packed data operation indicating a first wider source packed data operand that is wider than and includes the first narrower source operand, and indicating a wider destination operand that is wider than and includes the narrower destination operand. A packed data operation mask is generated that includes a mask element for each corresponding result data element of a packed data result to be stored by the masked packed data operation. All mask elements that correspond to result data elements to be stored by the masked operation that would not be stored by the packed data instruction are masking out. The masked operation is performed using the packed data operation mask. The packed data result is stored in the wider destination operand.

    摘要翻译: 一种方法包括:接收指示第一较窄的源打包数据操作数和较窄的目的地操作数的打包数据指令。 指令被映射到掩码的打包数据操作,指示比第一较窄源操作数宽的第一较宽的源打包数据操作数,并且包括第一较窄的源操作数,并且指示较宽的目的地操作数,并且包括较窄的目的地操作数。 生成打包数据操作掩码,其包括用于通过掩蔽的打包数据操作存储的打包数据结果的每个对应结果数据元素的掩码元素。 对应于由打包数据指令不存储的掩蔽操作存储的结果数据元素的所有掩码元素都将被遮蔽。 使用打包数据操作掩码执行屏蔽操作。 打包数据结果存储在更宽的目标操作数中。

    Instructions for manipulating a multi-bit predicate register for predicating instruction sequences

    公开(公告)号:US10579378B2

    公开(公告)日:2020-03-03

    申请号:US14228016

    申请日:2014-03-27

    申请人: Intel Corporation

    IPC分类号: G06F9/30

    摘要: An apparatus and method are described for executing instructions using a predicate register. For example, one embodiment of a processor comprises: a register set including a predicate register to store a set of predicate condition bits, the predicate condition bits specifying whether results of a particular predicated instruction sequence are to be retained or discarded; and predicate execution logic to execute a first predicate instruction to indicate a start of a new predicated instruction sequence by copying a condition value from a processor control register in the register set to the predicate register. In a further embodiment, the predicate condition bits in the predicate register are to be shifted in response to the first predicate instruction to free space within the predicate register for the new condition value associated with the new predicated instruction sequence.