Fusible instructions and logic to provide OR-test and AND-test functionality using multiple test sources
    3.
    发明授权
    Fusible instructions and logic to provide OR-test and AND-test functionality using multiple test sources 有权
    使用多个测试源提供OR-test和AND-test功能的易熔指令和逻辑

    公开(公告)号:US09483266B2

    公开(公告)日:2016-11-01

    申请号:US13843020

    申请日:2013-03-15

    IPC分类号: G06F9/30 G06F9/38

    摘要: Fusible instructions and logic provide OR-test and AND-test functionality on multiple test sources. Some embodiments include a processor decode stage to decode a test instruction for execution, the instruction specifying first, second and third source data operands, and an operation type. Execution units, responsive to the decoded test instruction, perform one logical operation, according to the specified operation type, between data from the first and second source data operands, and perform a second logical operation between the data from the third source data operand and the result of the first logical operation to set a condition flag. Some embodiments generate the test instruction dynamically by fusing one logical instruction with a prior-art test instruction. Other embodiments generate the test instruction through a just-in-time compiler. Some embodiments also fuse the test instruction with a subsequent conditional branch instruction, and perform a branch according to how the condition flag is set.

    摘要翻译: 易熔指令和逻辑在多个测试源上提供OR测试和与测试功能。 一些实施例包括解码用于执行的测试指令的处理器解码级,指定第一,第二和第三源数据操作数的指令以及操作类型。 执行单元响应于解码的测试指令,根据指定的操作类型在来自第一和第二源数据操作数的数据之间执行一个逻辑操作,并且执行来自第三源数据操作数的数据和 第一个逻辑运算结果设置条件标志。 一些实施例通过将一个逻辑指令与现有技术的测试指令进行融合来动态地产生测试指令。 其他实施例通过即时编译器生成测试指令。 一些实施例还将测试指令与随后的条件分支指令融合,并且根据条件标志的设置来执行分支。

    Bit Range Isolation Instructions, Methods, and Apparatus
    4.
    发明申请
    Bit Range Isolation Instructions, Methods, and Apparatus 有权
    位范围隔离说明,方法和设备

    公开(公告)号:US20110153997A1

    公开(公告)日:2011-06-23

    申请号:US12645307

    申请日:2009-12-22

    IPC分类号: G06F9/305 G06F9/30 G06F12/02

    摘要: Receiving an instruction indicating a source operand and a destination operand. Storing a result in the destination operand in response to the instruction. The result operand may have: (1) first range of bits having a first end explicitly specified by the instruction in which each bit is identical in value to a bit of the source operand in a corresponding position; and (2) second range of bits that all have a same value regardless of values of bits of the source operand in corresponding positions. Execution of instruction may complete without moving the first range of the result relative to the bits of identical value in the corresponding positions of the source operand, regardless of the location of the first range of bits in the result. Execution units to execute such instructions, computer systems having processors to execute such instructions, and machine-readable medium storing such an instruction are also disclosed.

    摘要翻译: 接收指示源操作数和目标操作数的指令。 将结果存储在目标操作数中以响应指令。 结果操作数可以具有:(1)具有第一端的第一范围,其中每个位在相应位置中的每个位与源操作数的位相同的指令明确地指定; 和(2)与相应位置中的源操作数的位的值无关的所有位都具有相同值的第二范围。 不管移动第一范围的结果相对于源操作数的相应位置中相同值的位,执行指令都可以完成,而不考虑结果中第一个位的位置。 还公开了执行这些指令的执行单元,具有执行这种指令的处理器的计算机系统以及存储这种指令的机器可读介质。

    Bit range isolation instructions, methods, and apparatus
    6.
    发明授权
    Bit range isolation instructions, methods, and apparatus 有权
    位范围隔离指令,方法和设备

    公开(公告)号:US09003170B2

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

    申请号:US12645307

    申请日:2009-12-22

    摘要: Receiving an instruction indicating a source operand and a destination operand. Storing a result in the destination operand in response to the instruction. The result operand may have: (1) first range of bits having a first end explicitly specified by the instruction in which each bit is identical in value to a bit of the source operand in a corresponding position; and (2) second range of bits that all have a same value regardless of values of bits of the source operand in corresponding positions. Execution of instruction may complete without moving the first range of the result relative to the bits of identical value in the corresponding positions of the source operand, regardless of the location of the first range of bits in the result. Execution units to execute such instructions, computer systems having processors to execute such instructions, and machine-readable medium storing such an instruction are also disclosed.

    摘要翻译: 接收指示源操作数和目标操作数的指令。 将结果存储在目标操作数中以响应指令。 结果操作数可以具有:(1)具有第一端的第一范围,其中每个位在相应位置中的每个位与源操作数的位相同的指令明确地指定; 和(2)与相应位置中的源操作数的位的值无关的所有位都具有相同值的第二范围。 不管移动第一范围的结果相对于源操作数的相应位置中相同值的位,执行指令都可以完成,而不考虑结果中第一个位的位置。 还公开了执行这些指令的执行单元,具有执行这种指令的处理器的计算机系统以及存储这种指令的机器可读介质。

    APPARATUS AND METHOD FOR VECTOR COMPUTE AND ACCUMULATE
    9.
    发明申请
    APPARATUS AND METHOD FOR VECTOR COMPUTE AND ACCUMULATE 审中-公开
    用于矢量计算和累积的装置和方法

    公开(公告)号:US20140108480A1

    公开(公告)日:2014-04-17

    申请号:US13994090

    申请日:2011-12-22

    IPC分类号: G06F17/16

    摘要: An apparatus and method are described for comparing elements between two immediate values. For example, a method according to one embodiment includes the following operations: reading values of a first set of elements stored in a first immediate value, each element having a defined element position in the first immediate value; comparing each element from the first set of elements with each of a second set of elements stored in a second immediate value; counting the number of times the value of each element of the first set of elements is found in the second set of elements to arrive at a final count for each element of the first set of elements; and transferring the final count for each element to a third immediate value, wherein the final count is stored in an element position in the third immediate value corresponding to the defined element position in the first immediate value.

    摘要翻译: 描述了用于比较两个立即值之间的元素的装置和方法。 例如,根据一个实施例的方法包括以下操作:读取存储在第一立即值中的第一组元素的值,每个元素在第一立即值中具有定义的元素位置; 将来自第一组元素的每个元素与存储在第二立即值中的第二组元素进行比较; 对在第二组元素中找到第一组元素的每个元素的值的次数进行计数,以得到第一组元素的每个元素的最终计数; 以及将每个元素的最终计数转移到第三立即值,其中最终计数被存储在与第一立即值中定义的元素位置对应的第三立即值中的元素位置中。