Method of generating profile-optimized code
    2.
    发明授权
    Method of generating profile-optimized code 有权
    生成配置文件优化代码的方法

    公开(公告)号:US06922829B2

    公开(公告)日:2005-07-26

    申请号:US09761152

    申请日:2001-01-17

    IPC分类号: G06F9/45 G06F9/44

    CPC分类号: G06F8/4441

    摘要: A method of generating profiled optimized code using user interface (17) that allows a user to visually understand, inspect, and manipulate a compiled application program as a function of compiler options, such as, code size and speed, is provided. A program (11) is compiled in a compiler (13) with two or more compiler options such as size and speed and the resulting executables (14) are profiled (15). The results of the profiles (19) are analyed in a solver (21) for generating sets of useful solutions (23) wherein the sets have methods of compiling at the function level. The useful solutions (23) are displayed (18) at the user interface (17) to allow the user to visually understand, inspect and manipulate compiler options to select compiler options (13a) for the program.

    摘要翻译: 提供了一种使用用户界面(17)生成分析优化代码的方法,该方法允许用户视编程应用程序视觉上理解,检查和操作编译应用程序,这些编译应用程序作为代码大小和速度等编译器选项。 程序(11)在具有两个或多个编译器选项(诸如大小和速度)的编译器(13)中编译,并且生成的可执行程序(14)被分析(15)。 在求解器(21)中分析简档(19)的结果,用于生成有用解的集合(23),其中集合具有在功能级别的编译方法。 有用的解决方案(23)在用户界面(17)处被显示(18),以允许用户在视觉上理解,检查和操纵编译器选项以选择程序的编译器选项(13a)。

    Methods and apparatus for reducing the size of code with an exposed pipeline by encoding NOP operations as instruction operands
    3.
    发明授权
    Methods and apparatus for reducing the size of code with an exposed pipeline by encoding NOP operations as instruction operands 有权
    用于通过将NOP操作编码为指令操作数来减少具有暴露管线的代码大小的方法和装置

    公开(公告)号:US06799266B1

    公开(公告)日:2004-09-28

    申请号:US09702484

    申请日:2000-10-31

    IPC分类号: G06F9345

    摘要: A method for reducing total code size in a processor having an exposed pipeline may include the steps of determining a latency between a load instruction, and a using instruction and inserting a NOP field into the defining or using instruction. When inserted into the load instruction, the NOP field defines the following latency following the load instruction. When inserted into the using instruction, the NOP field defines the latency preceding the using instruction. In addition, a method for reducing total code size during branching may include the steps of determining a latency following a branch instruction for initiating a branch from a first point to a second point in an instruction stream, and inserting a NOP field into the branch instruction. Further, a method according to this invention may include the steps of locating delayed effect instructions followed by NOPs, such as load or branch instructions, within a code; deleting the NOPs from the code; and inserting a NOP field into the delayed effect instructions. Apparatus according to this invention may include a processor including a code containing a delayed effect instruction, wherein the delayed effect instruction includes a NOP field.

    摘要翻译: 一种用于减少具有暴露的管线的处理器中的总代码大小的方法可以包括以下步骤:确定加载指令和使用指令之间的等待时间,并将NOP字段插入到定义或使用指令中。 当插入加载指令时,NOP字段在加载指令之后定义以下延迟。 当插入使用指令时,NOP字段定义使用指令之前的延迟。 此外,用于减少分支期间的总代码大小的方法可以包括以下步骤:确定在从指令流中的第一点到第二点启动分支的分支指令之后的等待时间,以及将NOP字段插入分支指令 。 此外,根据本发明的方法可以包括以下步骤:在代码内定位延迟效应指令,随后是NOP,诸如加载或分支指令; 从代码中删除NOP; 并将NOP字段插入到延迟效果指令中。 根据本发明的设备可以包括处理器,其包括包含延迟效果指令的代​​码,其中所述延迟效果指令包括NOP字段。

    Method for collapsing the prolog and epilog of software pipelined loops
    4.
    发明授权
    Method for collapsing the prolog and epilog of software pipelined loops 有权
    破解软件流水线循环的序言和epilog的方法

    公开(公告)号:US06754893B2

    公开(公告)日:2004-06-22

    申请号:US09732257

    申请日:2000-12-07

    IPC分类号: G06F945

    CPC分类号: G06F8/4452

    摘要: A method for reducing a code size of a software pipelined loop, the software pipelined loop having a kernel and an epilog. The method includes first evaluating a stage of the epilog. This includes selecting a stage of the epilog to evaluate (504) and evaluating an instruction in a reference stage. This includes identifying an instruction in the reference stage that is not present in the selected stage of the epilog (506) and determining if the identified instruction can be speculated (508). If the identified instruction can be speculated, such is noted. If the instruction cannot be speculated, it is determined whether the identified instruction can be predicated (512). If the instruction can be predicated, it is marked as needing predication (514). Next, it is determined if another instruction in the reference stage is not present in the selected stage of the epilog (510). If there is, the instruction evaluation is repeated. If there is another stage of the epilog to evaluate, the evaluation is repeated (518).

    摘要翻译: 一种用于减少软件流水线循环的代码大小的方法,软件流水线循环具有内核和epilog。 该方法包括首先评估epilog的阶段。 这包括选择epilog的阶段来评估(504)并评估参考阶段中的指令。 这包括识别参考阶段中在epilog(506)的所选阶段中不存在并且确定所识别的指令是否可以被推测的指令(508)。 如果可以推测识别的指令,则可以这样说明。 如果不能推测该指令,则确定所识别的指令是否可以被预测(512)。 如果指令可以被预测,则将其标记为需要的预测(514)。 接下来,确定参考阶段中的另一个指令是否不存在于epilog(510)的选定阶段中。 如果有,重复说明评估。 如果有另一个阶段的epilog评估,重复评估(518)。

    Door stop
    5.
    发明授权
    Door stop 失效
    门挡

    公开(公告)号:US4867493A

    公开(公告)日:1989-09-19

    申请号:US849521

    申请日:1986-04-08

    申请人: Alan S. Ward

    发明人: Alan S. Ward

    IPC分类号: E05C17/50

    摘要: A mechanism for restricting the extent to which a closure member for an access aperture into a structure can be moved from a fully closed position to an open position via a predetermined partially open position at which further opening of the closure member can be impeded by the mechanism. The mechanism is adapted to be mounted internally of the structure and adjacent the head and/or foot of the aperture. The mechanism includes a stop member adapted to be mounted on or to engage with the head and/or foot of the closure member and a guide member adapted to co-operate with the said stop member guiding the travel of the stop member between an operative position at which the mechanism acts to impede further opening of the closure member beyond the predetermined partially open position and an inoperative position in which the mechanism does not impede the opening or closing of the closure member, such travel passing through an intermediate position at which the closure member must be substantially in the fully closed position to permit the passage of the stop member to enable it to travel from its operative position to its inoperative position. The guide member is adapted to be mounted adjacent the aperture so that at least that part thereof co-operating with the stop member is located below the lower or above the upper extremity of the closure member.

    摘要翻译: 用于限制进入结构的进入孔的关闭构件能够经由预定的部分打开位置从完全关闭位置移动到打开位置的程度的机构,在该位置处闭合构件的进一步打开可被该机构阻碍 。 该机构适于安装在结构内部并且邻近孔的头部和/或脚部。 所述机构包括适于安装在所述封闭构件的头部和/或脚部上或与所述封闭构件的头部和/或脚部接合的止动构件,以及适于与所述止动构件配合的引导构件,所述引导构件将所述止动构件的行进引导到操作位置 所述机构用于阻止所述封闭构件进一步打开超过所述预定的部分打开位置和所述机构不妨碍所述封闭构件的打开或关闭的非工作位置,所述行程通过中间位置,在所述中间位置处所述封闭件 构件必须基本上处于完全关闭位置,以允许止动构件通过以使其能够从其操作位置行进到其不工作位置。 引导构件适于邻近孔安装,使得至少其与止动构件配合的部分位于关闭构件的上端下方或上方的下方。