Method of sorting numbers to obtain maxima/minima values with ordering
    46.
    发明授权
    Method of sorting numbers to obtain maxima/minima values with ordering 有权
    排序数字获得最大/最小值的方法

    公开(公告)号:US6128614A

    公开(公告)日:2000-10-03

    申请号:US246575

    申请日:1999-02-08

    摘要: A technique for sorting packed numbers of two operands into minima or maxima operand with their indices to identify the origin of those selected values. After packing two source operands with a plurality of data elements containing numerical values, greater-than comparison operation is performed on the two operands to generate a mask. The mask is used to identify those corresponding pair of data elements of the first and second operands which need to be passed through the subsequent stages in order to generate a sorted minima or maxima. The operands are AND'ed with the mask or the complement of the mask to generate the required minima/maxima result. The same AND'ing technique is used with two other operands containing indices of the values in the first two operands. The indices identify the originating location of the sorted maxima/minima.

    摘要翻译: 一种用于将两个操作数的打包数分成最小值或最大值操作数的技术,其索引用于标识这些选定值的起始点。 在使用包含数值的多个数据元素打包两个源操作数之后,对两个操作数进行大于比较的操作以生成掩码。 掩模用于识别需要通过后续阶段的第一和第二操作数的相应数据元素对,以便生成排序的最小值或最大值。 操作数与掩码或掩码的补码进行“和”生成所需的最小/最大值结果。 使用与前两个操作数中包含值的两个其他操作数相同的AND'ing技术。 这些索引标识了排序最大值/最小值的起始位置。

    Packing signed word elements from two source registers to saturated signed byte elements in destination register
    49.
    发明授权
    Packing signed word elements from two source registers to saturated signed byte elements in destination register 失效
    将来自两个源寄存器的符号字元素包装到目标寄存器中的饱和有符号字节元素

    公开(公告)号:US08639914B2

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

    申请号:US13730831

    申请日:2012-12-29

    IPC分类号: G06F15/80

    摘要: An apparatus includes an instruction decoder, first and second source registers and a circuit coupled to the decoder to receive packed data from the source registers and to unpack the packed data responsive to an unpack instruction received by the decoder. A first packed data element and a third packed data element are received from the first source register. A second packed data element and a fourth packed data element are received from the second source register. The circuit copies the packed data elements into a destination register resulting with the second packed data element adjacent to the first packed data element, the third packed data element adjacent to the second packed data element, and the fourth packed data element adjacent to the third packed data element.

    摘要翻译: 一种装置包括指令解码器,第一和第二源寄存器以及耦合到解码器的电路,用于从源寄存器接收压缩数据,并根据解码器接收到的解包指令对打包数据进行解包。 从第一源寄存器接收第一打包数据元素和第三打包数据元素。 从第二源寄存器接收第二打包数据元素和第四打包数据元素。 所述电路将打包的数据元素复制到目的地寄存器中,其中与第一打包数据元素相邻的第二打包数据元素,与第二打包数据元素相邻的第三打包数据元素以及与第三打包数据元素相邻的第四打包数据元素 数据元素。