METHOD AND APPARATUS FOR PERFORMING LOGICAL COMPARE OPERATION
    1.
    发明申请
    METHOD AND APPARATUS FOR PERFORMING LOGICAL COMPARE OPERATION 审中-公开
    用于执行逻辑比较操作的方法和装置

    公开(公告)号:WO2008036946A1

    公开(公告)日:2008-03-27

    申请号:PCT/US2007/079235

    申请日:2007-09-21

    Abstract: A method and apparatus for including in a processor instructions for performing logical-comparison and branch support operations on packed or unpacked data. In one embodiment, a processor is coupled to a memory. The memory has stored therein a first data and a second data. The processor performs logical comparisons on the first and second data. The logical comparisons may be performed on each bit of the first and second data, or may be performed only on certain bits. For at least one embodiment, at least the first data includes packed data elements, and the logical comparisons are performed on the most significant bits of the packed data elements. The logical comparisons may include comparison of the same respective bits of the first and second data, and also includes logical comparisons of bits of the first data with the complement of the corresponding bits of the second data. Based on these comparisons, branch support actions are taken. Such branch support actions may include setting one or more flags, which in turn may be utilized by a branching unit. Alternatively, the branch support actions may include branching to an indicated target code location.

    Abstract translation: 一种用于在处理器中包括用于对打包或未打包的数据执行逻辑比较和分支支持操作的指令的方法和装置。 在一个实施例中,处理器耦合到存储器。 存储器中存储有第一数据和第二数据。 处理器对第一和第二数据执行逻辑比较。 可以对第一和第二数据的每个比特执行逻辑比较,或者可以仅对某些比特执行逻辑比较。 对于至少一个实施例,至少第一数据包括打包数据元素,并且对打包数据元素的最高有效位执行逻辑比较。 逻辑比较可以包括第一和第二数据的相同各个比特的比较,并且还包括第一数据的比特与第二数据的相应比特的补码的逻辑比较。 基于这些比较,采取分支支持行动。 这种分支支持动作可以包括设置一个或多个标志,其又可以由分支单元使用。 或者,分支支持动作可以包括分支到指示的目标代码位置。

    A SYSTEM FOR PROVIDING THE ABSOLUTE DIFFERENCE OF UNSIGNED VALUES
    2.
    发明申请
    A SYSTEM FOR PROVIDING THE ABSOLUTE DIFFERENCE OF UNSIGNED VALUES 审中-公开
    用于提供不相关值的绝对差异的系统

    公开(公告)号:WO1997023822A1

    公开(公告)日:1997-07-03

    申请号:PCT/US1996020207

    申请日:1996-12-18

    Abstract: A computer system (100) storing a first packed data and a second packed data having corresponding data elements where the data elements representing unsigned values has a processor (105) for determining the absolute difference of the corresponding data elements. The processor (105) subtracts with saturation the data elements in the first packed data from the corresponding data elements in the second packed data to generate a third packed data in response to a first instruction, subtracts with saturation other data elements in the second packed data from the corresponding data elements in the first packed data to generate a fourth packed data in response to a second instruction and performs an operation to select the data elements of the third packed data and the fourth packed data of greatest value to generate a fifth packed data in response to a third instruction.

    Abstract translation: 存储第一打包数据和具有相应数据元素的第二打包数据的计算机系统(100),其中表示无符号值的数据元素具有用于确定相应数据元素的绝对差的处理器(105)。 处理器(105)饱和地从第二打包数据中的相应数据元素中饱和第一打包数据中的数据元素,以响应于第一指令生成第三打包数据,用第二打包数据中的饱和其他数据元素减去 从第一打包数据中的对应的数据元素发出响应于第二指令的第四打包数据,并且执行选择第三打包数据的数据元素和最大值的第四打包数据的操作以产生第五打包数据 响应第三条指令。

Patent Agency Ranking