Method for performing multiply-substrate operations on packed data
    33.
    发明授权
    Method for performing multiply-substrate operations on packed data 失效
    对打包数据进行乘法减法运算的方法

    公开(公告)号:US5859997A

    公开(公告)日:1999-01-12

    申请号:US699993

    申请日:1996-08-20

    IPC分类号: G06F7/544 G06F9/00

    摘要: A method and apparatus for including in a processor instructions for performing multiply-subtract operations on packed data. In one embodiment, a processor is coupled to a memory. The memory has stored therein a first packed data and a second packed data. The processor performs operations on data elements in said first packed data and said second packed data to generate a third packed data in response to receiving an instruction. At least one of the data elements in this third packed data storing the result of performing a multiply-subtract operation on data elements in the first and second packed data.

    摘要翻译: 一种用于在处理器中包括用于对压缩数据进行乘法减法操作的指令的方法和装置。 在一个实施例中,处理器耦合到存储器。 存储器中存储有第一打包数据和第二打包数据。 处理器对所述第一打包数据和所述第二打包数据中的数据元素执行操作,以响应于接收到指令而产生第三打包数据。 该第三打包数据中的至少一个数据元素存储对第一和第二打包数据中的数据元素进行乘法运算的结果。

    Method of sorting signed numbers and solving absolute differences using
packed instructions
    40.
    发明授权
    Method of sorting signed numbers and solving absolute differences using packed instructions 失效
    使用打包指令排序有符号数字和求解绝对差异的方法

    公开(公告)号:US6036350A

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

    申请号:US859013

    申请日:1997-05-20

    摘要: A technique for sorting packed signed numbers of two operands into maxima and minima operands and solving absolute differences for each pair of corresponding values of maxima and minima. After packing two source operands with a plurality of data elements containing signed values, a greater-than comparison operation is performed on each pair of corresponding numbers in the two operands to determine which is greater. An exclusive-OR mask is generated for use in swapping those values which need to be rearranged so that all maxima are in one operand and all minima are in another operand. Once the sorting of maxima and minima is complete, a packed subtraction operation is then performed by subtracting the minima from corresponding maxima to obtain absolute differences.

    摘要翻译: 一种用于将两个操作数的有符号数目的最大值和最小值操作数进行排序并解决每一对最大值和最小值对应值的绝对差异的技术。 在包含具有包含有符号值的多个数据元素的两个源操作数之后,对两个操作数中的每对相应数字执行大于比较的操作,以确定哪个更大。 生成异或掩码以用于交换需要重新排列的那些值,使得所有最大值都在一个操作数中,并且所有最小值都在另一个操作数中。 一旦最大值和最小值的分类完成,则通过从相应的最大值中减去最小值来进行压缩减法运算,以获得绝对差。