摘要:
A user interface 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 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.
摘要:
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.
摘要:
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).
摘要:
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.