Method and apparatus for vector-matrix comparison

    公开(公告)号:US10782971B1

    公开(公告)日:2020-09-22

    申请号: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.

    Performing Rounding Operations Responsive To An Instruction
    29.
    发明申请
    Performing Rounding Operations Responsive To An Instruction 审中-公开
    对指令进行圆角运算

    公开(公告)号:US20160139918A1

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

    申请号:US15003951

    申请日:2016-01-22

    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.

    Abstract translation: 在一个实施例中,本发明包括一种用于在处理器中接收舍入指令和立即值的方法,确定立即值的舍入模式超驰指示符是否是活动的,并且如果这样执行对源操作数的舍入操作 处理器的浮点单元响应于舍入指令,并根据立即操作数中列出的舍入模式。 描述和要求保护其他实施例。

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

    公开(公告)号:US20150212816A1

    公开(公告)日:2015-07-30

    申请号:US14684412

    申请日:2015-04-12

    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数据元素的比较和整数数据元素的比较,并且设置至少一个位以指示结果。 基于这些比较,采取分支支持行动。 这种分支支持动作可以包括设置至少一个比特,响应于分支指令又可以由分支单元利用该比特。 或者,分支支持动作可以包括分支到指示的目标代码位置。

Patent Agency Ranking