APPARATUS AND METHOD FOR DOWN CONVERSION OF DATA TYPES
    1.
    发明申请
    APPARATUS AND METHOD FOR DOWN CONVERSION OF DATA TYPES 审中-公开
    数据类型下变换的装置和方法

    公开(公告)号:US20140208080A1

    公开(公告)日:2014-07-24

    申请号:US13997006

    申请日:2011-12-23

    IPC分类号: G06F9/30

    摘要: An apparatus and method are described for down-converting from a source operand to a destination operand with masking. For example, a method according to one embodiment includes the following operations: reading a source operand value to be down-converted from a first value to a down-converted value and stored in a destination location; reading each mask register bit stored in a mask register, the mask register bit(s) indicating whether to perform a masking operation or a conversion operation on the source operand value; if the mask register bit(s) indicates that a masking operation is to be performed, then performing a specified masking operation and storing the results of the masking operation in the destination location; and if the mask register bit(s) indicates that a masking operation is not to be performed, then down-converting the source operand value and storing the down-converted value in the specified destination location.

    摘要翻译: 描述了用于从源操作数到具有掩蔽的目的地操作数的下变频的装置和方法。 例如,根据一个实施例的方法包括以下操作:将从第一值下变频的源操作数值读取到下变换值并存储在目的位置; 读取存储在掩码寄存器中的每个掩码寄存器位,指示是否对源操作数值执行掩蔽操作或转换操作的掩码寄存器位; 如果屏蔽寄存器位指示要执行屏蔽操作,则执行指定的屏蔽操作并将掩蔽操作的结果存储在目的地位置中; 并且如果屏蔽寄存器位指示不执行屏蔽操作,则对源操作数值进行下变频并将下变频值存储在指定的目的地位置。

    Apparatus and method for down conversion of data types

    公开(公告)号:US10474463B2

    公开(公告)日:2019-11-12

    申请号:US13997006

    申请日:2011-12-23

    IPC分类号: G06F9/30

    摘要: An apparatus and method are described for down-converting from a source operand to a destination operand with masking. For example, a method according to one embodiment includes the following operations: reading a source operand value to be down-converted from a first value to a down-converted value and stored in a destination location; reading each mask register bit stored in a mask register, the mask register bit(s) indicating whether to perform a masking operation or a conversion operation on the source operand value; if the mask register bit(s) indicates that a masking operation is to be performed, then performing a specified masking operation and storing the results of the masking operation in the destination location; and if the mask register bit indicates that a masking operation is not to be performed, then down-converting the source operand value and storing the down-converted value in the specified destination location.

    Apparatus and method for shuffling floating point or integer values
    3.
    发明授权
    Apparatus and method for shuffling floating point or integer values 有权
    用于混洗浮点或整数值的装置和方法

    公开(公告)号:US09524168B2

    公开(公告)日:2016-12-20

    申请号:US13997244

    申请日:2011-12-23

    IPC分类号: G06F9/38 G06F9/30

    摘要: An apparatus and method are described for shuffling data elements from source registers to a destination register. For example, a method according to one embodiment includes the following operations: reading each mask bit stored in a mask data structure, the mask data structure containing mask bits associated with data elements of a destination register, the values usable for determining whether a masking operation or a shuffle operation should be performed on data elements stored within a first source register and a second source register; for each data element of the destination register, if a mask bit associated with the data element indicates that a shuffle operation should be performed, then shuffling data elements from the first source register and the second source register to the specified data element within the destination register; and if the mask bit indicates that a masking operation should be performed, then performing a specified masking operation with respect to the data element of the destination register.

    摘要翻译: 描述了将数据元素从源寄存器混合到目的地寄存器的装置和方法。 例如,根据一个实施例的方法包括以下操作:读取存储在掩模数据结构中的每个掩码位,所述掩码数据结构包含与目的地寄存器的数据元素相关联的掩码位,可用于确定掩蔽操作 或者应当对存储在第一源寄存器和第二源寄存器中的数据元素执行混洗操作; 对于目标寄存器的每个数据元素,如果与数据元素相关联的掩码位指示应当执行混洗操作,则将数据元素从第一源寄存器和第二源寄存器混洗到目标寄存器中的指定数据元素 ; 并且如果掩码位指示应当执行掩蔽操作,则对目的地寄存器的数据元素执行指定的掩蔽操作。

    Apparatus and method for performing a permute operation
    4.
    发明授权
    Apparatus and method for performing a permute operation 有权
    用于执行置换操作的装置和方法

    公开(公告)号:US09495162B2

    公开(公告)日:2016-11-15

    申请号:US13996072

    申请日:2011-12-23

    IPC分类号: G06F9/30

    摘要: An apparatus and method are described for permuting data elements with masking. For example, a method according to one embodiment includes the following operations: reading values from a mask data structure to determine whether masking is implemented for each data element of a destination operand; if masking not implemented for a particular data element, then selecting data elements from the destination operand and a second source operand based on index values stored in a first source operand to be copied to data element positions within the destination operand, wherein any one of the data elements from either the destination operand and the second source operand may be copied to any one of the data element positions within the destination operand; if masking is implemented for a particular data element of the destination operand, then performing a designated masking operation with respect to that particular data element.

    摘要翻译: 描述了用掩模来置换数据元素的装置和方法。 例如,根据一个实施例的方法包括以下操作:从掩模数据结构读取值以确定是否对目的地操作数的每个数据元素实施掩蔽; 如果对特定数据元素没有实现掩蔽,则根据存储在第一源操作数中的索引值从目的地操作数和第二源操作数中选择要复制到目的地操作数内的数据元素位置的第二源操作数,其中, 来自目的地操作数和第二源操作数的数据元素可以被复制到目的地操作数中的任何一个数据元素位置; 如果针对目的地操作数的特定数据元素实现掩蔽,则对该特定数据元素执行指定的屏蔽操作。

    Apparatus and method for performing permute operations
    5.
    发明授权
    Apparatus and method for performing permute operations 有权
    用于执行置换操作的装置和方法

    公开(公告)号:US09513918B2

    公开(公告)日:2016-12-06

    申请号:US13995974

    申请日:2011-12-22

    IPC分类号: G06F9/30 G06F9/38

    摘要: An apparatus and method are described for permuting data elements with masking. For example, a method according to one embodiment includes the following operations: reading values from a mask data structure to determine whether masking is implemented for each data element of a destination operand; if masking not implemented for a particular data element, then selecting data elements from a first source operand and a second source operand based on index values stored in destination operand to be copied to data element positions within the destination operand, wherein any one of the data elements from either the first source operand and the second source operand may be copied to any one of the data element positions within the destination operand; and if masking is implemented for a particular data element of the destination operand, then performing a designated masking operation with respect to that particular data element.

    摘要翻译: 描述了用掩模来置换数据元素的装置和方法。 例如,根据一个实施例的方法包括以下操作:从掩模数据结构读取值以确定是否对目的地操作数的每个数据元素实施掩蔽; 如果对于特定数据元素没有被实现掩蔽,则基于存储在目的地操作数中的索引值从第一源操作数和第二源操作数中选择数据元素以被复制到目的地操作数中的数据元素位置,其中数据中的任何一个 可以将来自第一源操作数和第二源操作数的元素复制到目的地操作数中的任何一个数据元素位置; 并且如果针对目的地操作数的特定数据元素实现掩蔽,则对该特定数据元素执行指定的掩蔽操作。

    APPARATUS AND METHOD FOR PERFORMING PERMUTE OPERATIONS
    6.
    发明申请
    APPARATUS AND METHOD FOR PERFORMING PERMUTE OPERATIONS 有权
    用于执行操作的装置和方法

    公开(公告)号:US20150026439A1

    公开(公告)日:2015-01-22

    申请号:US13995974

    申请日:2011-12-22

    IPC分类号: G06F9/30

    摘要: An apparatus and method are described for permuting data elements with masking. For example, a method according to one embodiment includes the following operations: reading values from a mask data structure to determine whether masking is implemented for each data element of a destination operand; if masking not implemented for a particular data element, then selecting data elements from a first source operand and a second source operand based on index values stored in destination operand to be copied to data element positions within the destination operand, wherein any one of the data elements from either the first source operand and the second source operand may be copied to any one of the data element positions within the destination operand; and if masking is implemented for a particular data element of the destination operand, then performing a designated masking operation with respect to that particular data element.

    摘要翻译: 描述了用掩模来置换数据元素的装置和方法。 例如,根据一个实施例的方法包括以下操作:从掩模数据结构读取值以确定是否对目的地操作数的每个数据元素实施掩蔽; 如果对于特定数据元素没有被实现掩蔽,则基于存储在目的地操作数中的索引值从第一源操作数和第二源操作数中选择数据元素以被复制到目的地操作数中的数据元素位置,其中数据中的任何一个 可以将来自第一源操作数和第二源操作数的元素复制到目的地操作数中的任何一个数据元素位置; 并且如果针对目的地操作数的特定数据元素实现掩蔽,则对该特定数据元素执行指定的掩蔽操作。

    METHODS, APPARATUS, INSTRUCTIONS AND LOGIC TO PROVIDE VECTOR SUB-BYTE DECOMPRESSION FUNCTIONALITY
    7.
    发明申请
    METHODS, APPARATUS, INSTRUCTIONS AND LOGIC TO PROVIDE VECTOR SUB-BYTE DECOMPRESSION FUNCTIONALITY 有权
    方法,装置,说明和逻辑提供矢量子字节分解功能

    公开(公告)号:US20150039851A1

    公开(公告)日:2015-02-05

    申请号:US13956347

    申请日:2013-07-31

    IPC分类号: G06F9/30

    摘要: Methods, apparatus, instructions and logic provide SIMD vector sub-byte decompression functionality. Embodiments include shuffling a first and second byte into the least significant portion of a first vector element, and a third and fourth byte into the most significant portion. Processing continues shuffling a fifth and sixth byte into the least significant portion of a second vector element, and a seventh and eighth byte into the most significant portion. Then by shifting the first vector element by a first shift count and the second vector element by a second shift count, sub-byte elements are aligned to the least significant bits of their respective bytes. Processors then shuffle a byte from each of the shifted vector elements' least significant portions into byte positions of a destination vector element, and from each of the shifted vector elements' most significant portions into byte positions of another destination vector element.

    摘要翻译: 方法,装置,指令和逻辑提供SIMD矢量子字节解压缩功能。 实施例包括将第一和第二字节混洗到第一向量元素的最低有效部分中,以及将第三和第四字节混入最重要部分。 处理继续将第五和第六字节洗牌到第二向量元素的最低有效部分,并将第七和第八字节重新排列到最高有效部分。 然后,通过将第一移位计数和第二向量元素移位第二移位计数,将子字节元素与它们各自的字节的最低有效位对齐。 然后,处理器将来自移位向量元素的最小有效部分的每一个的字节从目的地向量元素的字节位置以及从每个移位向量元素的最高有效部分转移到另一目的地向量元素的字节位置。

    APPARATUS AND METHOD FOR PERFORMING A PERMUTE OPERATION
    8.
    发明申请
    APPARATUS AND METHOD FOR PERFORMING A PERMUTE OPERATION 有权
    用于执行操作的装置和方法

    公开(公告)号:US20150026440A1

    公开(公告)日:2015-01-22

    申请号:US13996072

    申请日:2011-12-23

    IPC分类号: G06F9/30

    摘要: An apparatus and method are described for permuting data elements with masking. For example, a method according to one embodiment includes the following operations: reading values from a mask data structure to determine whether masking is implemented for each data element of a destination operand; if masking not implemented for a particular data element, then selecting data elements from the destination operand and a second source operand based on index values stored in a first source operand to be copied to data element positions within the destination operand, wherein any one of the data elements from either the destination operand and the second source operand may be copied to any one of the data element positions within the destination operand; if masking is implemented for a particular data element of the destination operand, then performing a designated masking operation with respect to that particular data element.

    摘要翻译: 描述了用掩模来置换数据元素的装置和方法。 例如,根据一个实施例的方法包括以下操作:从掩模数据结构读取值以确定是否对目的地操作数的每个数据元素实施掩蔽; 如果对特定数据元素没有实现掩蔽,则根据存储在第一源操作数中的索引值从目的地操作数和第二源操作数中选择要复制到目的地操作数内的数据元素位置的第二源操作数,其中, 来自目的地操作数和第二源操作数的数据元素可以被复制到目的地操作数中的任何一个数据元素位置; 如果针对目的地操作数的特定数据元素实现掩蔽,则对该特定数据元素执行指定的屏蔽操作。

    INSTRUCTION AND LOGIC TO PROVIDE VECTOR COMPRESS AND ROTATE FUNCTIONALITY
    9.
    发明申请
    INSTRUCTION AND LOGIC TO PROVIDE VECTOR COMPRESS AND ROTATE FUNCTIONALITY 有权
    指令和逻辑提供向量压缩和旋转功能

    公开(公告)号:US20140122831A1

    公开(公告)日:2014-05-01

    申请号:US13664401

    申请日:2012-10-30

    IPC分类号: G06F15/80

    摘要: Instructions and logic provide vector compress and rotate functionality. Some embodiments, responsive to an instruction specifying: a vector source, a mask, a vector destination and destination offset, read the mask, and copy corresponding unmasked vector elements from the vector source to adjacent sequential locations in the vector destination, starting at the vector destination offset location. In some embodiments, the unmasked vector elements from the vector source are copied to adjacent sequential element locations modulo the total number of element locations in the vector destination. In some alternative embodiments, copying stops whenever the vector destination is full, and upon copying an unmasked vector element from the vector source to an adjacent sequential element location in the vector destination, the value of a corresponding field in the mask is changed to a masked value. Alternative embodiments zero elements of the vector destination, in which no element from the vector source is copied.

    摘要翻译: 说明和逻辑提供矢量压缩和旋转功能。 一些实施例,响应于指定向量源,掩码,向量目的地和目的地偏移的指令,读取掩码,并将向量源中的相应未屏蔽向量元素复制到向量目的地中的相邻顺序位置,从向量开始 目的地偏移位置。 在一些实施例中,来自向量源的未屏蔽向量元素被复制到向量目的地中的元素位置的总数的相邻顺序元素位置。 在一些备选实施例中,只要向量目的地已满,复制就停止,并且在将未屏蔽向量元素从向量源复制到向量目的地中的相邻顺序元素位置时,掩码中相应字段的值被改变为被掩码 值。 替代实施例的向量目的地的零元素,其中没有复制来自向量源的元素。

    APPARATUS AND METHOD FOR SHUFFLING FLOATING POINT OR INTEGER VALUES
    10.
    发明申请
    APPARATUS AND METHOD FOR SHUFFLING FLOATING POINT OR INTEGER VALUES 有权
    浮动点或整数值的装置和方法

    公开(公告)号:US20130318328A1

    公开(公告)日:2013-11-28

    申请号:US13997244

    申请日:2011-12-23

    IPC分类号: G06F9/38

    摘要: An apparatus and method are described for shuffling data elements from source registers to a destination register. For example, a method according to one embodiment includes the following operations: reading each mask bit stored in a mask data structure, the mask data structure containing mask bits associated with data elements of a destination register, the values usable for determining whether a masking operation or a shuffle operation should be performed on data elements stored within a first source register and a second source register; for each data element of the destination register, if a mask bit associated with the data element indicates that a shuffle operation should be performed, then shuffling data elements from the first source register and the second source register to the specified data element within the destination register; and if the mask bit indicates that a masking operation should be performed, then performing a specified masking operation with respect to the data element of the destination register.

    摘要翻译: 描述了将数据元素从源寄存器混合到目的地寄存器的装置和方法。 例如,根据一个实施例的方法包括以下操作:读取存储在掩模数据结构中的每个掩码位,所述掩码数据结构包含与目的地寄存器的数据元素相关联的掩码位,可用于确定掩蔽操作 或者应当对存储在第一源寄存器和第二源寄存器中的数据元素执行混洗操作; 对于目标寄存器的每个数据元素,如果与数据元素相关联的掩码位指示应当执行混洗操作,则将数据元素从第一源寄存器和第二源寄存器混洗到目标寄存器中的指定数据元素 ; 并且如果掩码位指示应当执行掩蔽操作,则对目的地寄存器的数据元素执行指定的掩蔽操作。