Processor, compiler and compilation method

    公开(公告)号:US07076638B2

    公开(公告)日:2006-07-11

    申请号:US10246482

    申请日:2002-09-19

    IPC分类号: G06F9/30

    摘要: In order to overcome the problem that conditionally executed instructions are executed as no-operation instructions if their condition is not fulfilled, leading to poor utilization efficiency of the hardware and lowering the effective performance, the processor decodes a number of instructions that is greater than the number of provided computing units and judges their execution conditions with an instruction issue control portion before the execution stage, Instructions for which the condition is false are invalidated, and subsequent valid instructions are assigned so that the computing units (hardware) is used efficiently. A compiler performs scheduling such that the number of instructions whose execution condition is true does not exceed the upper limit of the degree of parallelism of the hardware. The number of instructions arranged in parallel at each cycle may exceed the degree of parallelism of the hardware.

    Compiler device with branch instruction inserting unit
    3.
    发明授权
    Compiler device with branch instruction inserting unit 有权
    具有分支指令插入单元的编译器

    公开(公告)号:US07073169B2

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

    申请号:US10174108

    申请日:2002-06-17

    IPC分类号: G06F9/45

    CPC分类号: G06F8/4441

    摘要: A compiler device includes a conditional-executable-instruction generation unit and a branch instruction insertion unit. The conditional-executable-instruction generation unit generates a conditional executable instruction that is executed when a condition that the conditional executable instruction refers to is satisfied. In the case where there is a section containing a non-executive condition under which no instruction is executed in one cycle or a plurality of cycles in series, the branch instruction insertion unit inserts a conditional branch instruction that refers to the non-executive condition and instructs to branch to a cycle immediately after a last cycle of the section, to after an instruction of a cycle immediately before a start of the section. Thus, a compiler device employing conditional executable instructions is provided that is capable of generating an assembler code that does not degrade the performance when the instructions are executed, even if a source program includes a branch instruction that causes a then part and an else part to be executed through unbalanced numbers of cycles, respectively.

    摘要翻译: 编译器装置包括条件可执行指令生成单元和分支指令插入单元。 条件可执行指令生成单元生成当满足条件可执行指令引用的条件时执行的条件可执行指令。 在存在包含在一个周期或多个周期中不执行指令的非执行条件的部分的情况下,分支指令插入单元插入参考非执行条件的条件分支指令,并且 指示在该部分的最后一个周期之后立即分支到一个周期,直到在该部分开始之前的一个周期的指令之后。 因此,提供了一种使用条件可执行指令的编译器装置,其能够生成当执行指令时不降低性能的汇编代码,即使源程序包括分支指令,该分支指令导致随后的部分和其他部分 分别通过不平衡的周期数执行。

    Processor, compiler and compilation method
    6.
    发明授权
    Processor, compiler and compilation method 有权
    处理器,编译器和编译方法

    公开(公告)号:US07761692B2

    公开(公告)日:2010-07-20

    申请号:US11452282

    申请日:2006-06-14

    IPC分类号: G06F9/38 G06F9/45

    摘要: In order to overcome the problem that conditionally executed instructions are executed as no-operation instructions if their condition is not fulfilled, leading to poor utilization efficiency of the hardware and lowering the effective performance, the processor decodes a number of instructions that is greater than the number of provided computing units and judges their execution conditions with an instruction issue control portion before the execution stage, Instructions for which the condition is false are invalidated, and subsequent valid instructions are assigned so that the computing units (hardware) is used efficiently. A compiler performs scheduling such that the number of instructions whose execution condition is true does not exceed the upper limit of the degree of parallelism of the hardware. The number of instructions arranged in parallel at each cycle may exceed the degree of parallelism of the hardware.

    摘要翻译: 为了克服有条件执行的指令如果不满足条件而被执行为无操作指令的问题,导致硬件的利用效率差并且降低了有效性能,则处理器解码大于 提供的计算单元的数量并且在执行阶段之前用指令发布控制部分判断其执行条件,条件为假的指令被无效,并且分配后续的有效指令,使得有效地使用计算单元(硬件)。 编译器执行调度,使得执行条件为真的指令数量不超过硬件的并行度的上限。 在每个周期上平行布置的指令数可能超过硬件的并行程度。

    Processor, compiler and compilation method

    公开(公告)号:US20060242387A1

    公开(公告)日:2006-10-26

    申请号:US11452282

    申请日:2006-06-14

    IPC分类号: G06F9/44

    摘要: In order to overcome the problem that conditionally executed instructions are executed as no-operation instructions if their condition is not fulfilled, leading to poor utilization efficiency of the hardware and lowering the effective performance, the processor decodes a number of instructions that is greater than the number of provided computing units and judges their execution conditions with an instruction issue control portion before the execution stage, Instructions for which the condition is false are invalidated, and subsequent valid instructions are assigned so that the computing units (hardware) is used efficiently. A compiler performs scheduling such that the number of instructions whose execution condition is true does not exceed the upper limit of the degree of parallelism of the hardware. The number of instructions arranged in parallel at each cycle may exceed the degree of parallelism of the hardware.