Method and apparatus for performing logical compare operations
    31.
    发明授权
    Method and apparatus for performing logical compare operations 有权
    用于执行逻辑比较操作的方法和装置

    公开(公告)号:US09037627B2

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

    申请号:US13763598

    申请日:2013-02-08

    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, instruction decode logic decodes instructions for an execution unit to operate on packed data elements including logical comparisons. A register file including 128-bit packed data registers stores packed single-precision floating point (SPFP) and packed integer data elements. The logical comparisons may include comparison of SPFP data elements and comparison of integer data elements and setting at least one bit to indicate the results. Based on these comparisons, branch support actions are taken. Such branch support actions may include setting the at least one bit, which in turn may be utilized by a branching unit in response to a branch instruction. Alternatively, the branch support actions may include branching to an indicated target code location.

    Abstract translation: 一种用于在处理器中包括用于对打包或未打包的数据执行逻辑比较和分支支持操作的指令的方法和装置。 在一个实施例中,指令解码逻辑解码用于执行单元对包括逻辑比较的打包数据元素进行操作的指令。 包括128位打包数据寄存器的寄存器文件存储打包的单精度浮点数(SPFP)和压缩整数数据元素。 逻辑比较可以包括SPFP数据元素的比较和整数数据元素的比较,并且设置至少一个位以指示结果。 基于这些比较,采取分支支持行动。 这种分支支持动作可以包括设置至少一个比特,响应于分支指令又可以由分支单元利用该比特。 或者,分支支持动作可以包括分支到指示的目标代码位置。

    Method and apparatus for vector-matrix comparison

    公开(公告)号:US10817297B2

    公开(公告)日:2020-10-27

    申请号:US16370922

    申请日:2019-03-30

    Abstract: Methods and apparatus for vector-matrix comparison are disclosed. In one embodiment, a processor comprises decoding and execution circuitry. The decoding circuitry decodes an instruction, where operands of the instruction specifies an output location to store output results, a vector of data element values, and a matrix of data element values. The execution circuitry executes the decoded instruction. The execution includes to map each of the data element values of the vector to one of consecutive rows of the matrix; for each data element value of the vector, to compare that data element value of the vector with data element values in a respective row of the matrix and obtain data element match results. The execution further includes to store the output results based on the data element match results, where each output result maps to a respective data element column position and indicates a vector match result.

    Method and apparatus for performing logical compare operations

    公开(公告)号:US10572251B2

    公开(公告)日:2020-02-25

    申请号:US16184994

    申请日:2018-11-08

    Abstract: A method and apparatus for including in processor instructions for performing logical-comparison and branch support operations on packed or unpacked data. In one embodiment, instruction decode logic decodes instructions for an execution unit to operate on packed data elements including logical comparisons. A register file including 128-bit packed data registers stores packed single-precision floating point (SPFP) and packed integer data elements. The logical comparisons may include comparison of SPFP data elements and comparison of integer data elements and setting at least one bit to indicate the results. Based on these comparisons, branch support actions are taken. Such branch support actions may include setting the at least one bit, which in turn may be utilized by a branching unit in response to a branch instruction. Alternatively, the branch support actions may include branching to an indicated target code location.

    Performing Rounding Operations Responsive To An Instruction

    公开(公告)号:US20170322805A1

    公开(公告)日:2017-11-09

    申请号:US15661219

    申请日:2017-07-27

    Abstract: In one embodiment, the present invention includes a method for receiving a rounding instruction and an immediate value in a processor, determining if a rounding mode override indicator of the immediate value is active, and if so executing a rounding operation on a source operand in a floating point unit of the processor responsive to the rounding instruction and according to a rounding mode set forth in the immediate operand. Other embodiments are described and claimed.

Patent Agency Ranking