Compiler device, compile method, compiler program and recording medium
    11.
    发明专利
    Compiler device, compile method, compiler program and recording medium 有权
    编译器,编译方法,编译程序和记录介质

    公开(公告)号:JP2004265279A

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

    申请号:JP2003056612

    申请日:2003-03-04

    CPC classification number: G06F8/41

    Abstract: PROBLEM TO BE SOLVED: To optimize a program by changing the execution order of instructions. SOLUTION: This compiler device for optimizing a program by changing the execution order of instructions is provided with a replaceability deciding part for deciding whether or not a first instruction included in a first instruction column and a second instruction included in a second instruction column to be executed the next to the first instruction column can be replaced with a common processing instruction group including a common processing instruction to process at least every portion of processing in accordance with the first instruction and the second instruction together, a common processing instruction group generating part for generating a common processing instruction group in a first instruction column instead of the first instruction when it is decided that those instructions can be replaced by the replaceability deciding part and an instruction inserting part for inserting the second instruction into a third instruction column, being an instruction column other than a first instruction column, succeeding to which a second instruction column is executed. COPYRIGHT: (C)2004,JPO&NCIPI

    Abstract translation: 要解决的问题:通过更改指令的执行顺序来优化程序。 解决方案:用于通过改变指令的执行顺序来优化程序的编译器装置被提供有可替换性判定部分,用于判定包括在第一指令列中的第一指令和包括在第二指令列中的第二指令 要执行的第一指令列的下一个可以由包括公共处理指令的公共处理指令组替换,以便根据第一指令和第二指令一起处理至少每个处理部分,公共处理指令组生成 当决定这些指令可被替换性判定部分代替时,用于在第一指令列而不是第一指令中生成公共处理指令组的部分​​,以及用于将第二指令插入第三指令列的指令插入部分, 一个除a之外的指令列 第一指令列,其后执行第二指令列。 版权所有(C)2004,JPO&NCIPI

    PROGRAM CONVERTING METHOD, COMPUTER DEVICE AND PROGRAM USING THE SAME

    公开(公告)号:JP2003216442A

    公开(公告)日:2003-07-31

    申请号:JP2002008904

    申请日:2002-01-17

    Applicant: IBM

    Abstract: PROBLEM TO BE SOLVED: To effectively perform a scalar replacement without performing analysis in a method when a program is optimized. SOLUTION: This program converting method comprises a code converting part 110 for creating a machine language code on the basis of a source code of an execution program as a processed object, an optimizing range determining part 120 for determining a range where the object created in a method does not escape, with respect to the method in the execution program by the machine language code, and a scalar replacement executing part 130 for performing the scalar replacement within the range where the object does not escape. COPYRIGHT: (C)2003,JPO

    Method, program, and system for code optimization
    14.
    发明专利
    Method, program, and system for code optimization 审中-公开
    用于代码优化的方法,程序和系统

    公开(公告)号:JP2013242700A

    公开(公告)日:2013-12-05

    申请号:JP2012115496

    申请日:2012-05-21

    CPC classification number: G06F8/4441 G06F8/31 G06F8/443 G06F9/30036 G06F9/3824

    Abstract: PROBLEM TO BE SOLVED: To provide a technique for optimizing a use of a code setup instruction for correctly setting a Packed Decimal type code.SOLUTION: An attention is focused on sizes of input/output fields of a code setup instruction for correctly setting a Packed Decimal code, for example a ZAP instruction. When the input/output fields of the instruction are identical in size to each other, the optimization is carried out by: (1) processing of removing a ZAP instruction or replacing it with a copy instruction, when it can be determined that an input value of the ZAP instruction is not -0 at all times, the processing being performed when it can be determined that the input value results from an add operation or a subtraction operation and the value is greater than the value prior to the operation (for example, the operation of adding 1); (2) removing the ZAP instruction when the input and output addresses are also identical to each other; and (3) replacing the ZAP instruction with the instruction for copying the input to the output when it can be determined that the input and output addresses are different from each other and do not overlap each other.

    Abstract translation: 要解决的问题:提供一种用于优化使用代码设置指令以正确设置打包十进制类型代码的技术。解决方案:注意力集中在用于正确设置打包的代码设置指令的输入/输出字段的大小 十进制代码,例如ZAP指令。 当指令的输入/输出字段的大小彼此相同时,优化通过以下步骤来执行:(1)当确定输入值可以确定ZAP指令的移除或用复制指令替换时, 的ZAP指令始终不为-0,当可以确定输入值是从加法操作或减法操作产生的并且该值大于操作前的值时,执行处理(例如, 操作加1); (2)当输入和输出地址彼此相同时,删除ZAP指令; 以及(3)当可以确定输入和输出地址彼此不同并且彼此不重叠时,用用于将输入复制到输出的指令来替换ZAP指令。

    Compiler, compile method, compile program, and recording medium
    15.
    发明专利
    Compiler, compile method, compile program, and recording medium 有权
    编译器,COMPILE方法,COMPILE程序和记录介质

    公开(公告)号:JP2005215830A

    公开(公告)日:2005-08-11

    申请号:JP2004019506

    申请日:2004-01-28

    Abstract: PROBLEM TO BE SOLVED: To optimize much more instruction columns to processing when variables are specific values for compilation. SOLUTION: This optimization compiler is provided with an update instruction detecting part which detects an update instruction to update the contents of variables and a storage region designated by the variables in a program to be optimized, an instruction column detecting part for detecting an instruction column for executing different processing according to the contents of the variables or the storage region when control is shifted by a control shift instruction for shifting control to another instruction column in the target program, an instruction column compiling part for optimizing the detected instruction column to processing when the contents of the variables or the storage region are preliminarily decided specific contents for compilation and a setting instruction generating part for generating a setting instruction to be executed when the contents of the variables or the contents of the storage region are specific contents from the update instruction to the control shift instruction in the object program for setting the shift destination address of the control shift instruction to the address of the instruction column optimized by the instruction column compiling part. COPYRIGHT: (C)2005,JPO&NCIPI

    Abstract translation: 要解决的问题:为了优化更多的指令列来处理变量是编译的特定值。 解决方案:该优化编译器具有更新指令检测部分,该更新指令检测部分检测更新指令以更新变量的内容以及由待优化的程序中的变量指定的存储区域,指令列检测部分,用于检测 指令列,用于当通过用于将目标程序中的另一指令列移位控制的控制移位指令移位时,根据变量或存储区域的内容执行不同的处理;指令列编译部分,用于使检测到的指令列最优化 当变量或存储区域的内容被预先确定用于编辑的特定内容时的处理以及当存储区域的变量或内容的内容是来自所述存储区域的特定内容时生成要执行的设置指令的设置指令生成部分 更新指令到控制班 用于将控制移位指令的移位目的地地址设置为由指令列编译部分优化的指令列的地址的目标程序中的指令。 版权所有(C)2005,JPO&NCIPI

    CONVERSION PROGRAM, COMPILER, COMPUTER DEVICE, PROGRAM CONVERTING METHOD, AND STORAGE MEDIUM

    公开(公告)号:JP2002312176A

    公开(公告)日:2002-10-25

    申请号:JP2001102343

    申请日:2001-03-30

    Applicant: IBM

    Abstract: PROBLEM TO BE SOLVED: To enhance efficiency in executing a program by removing redundant sign extension commands in the program. SOLUTION: This conversion program, in particular, a compiler 10 is used for converting the execution program by controlling a computer, and causes the execution program to be realized, in the computer, the function of performing analysis on sign extension commands for extending the signs of values defined in the execution program, and the function of removing prescribed sign extension commands among sign extension commands, in the execution program according to the result of the analysis.

    COMPILER, COMPUTER SYSTEM, OPTIMIZING METHOD, COMPUTER PROGRAM, STORAGE MEDIUM AND PROGRAM TRANSMITTER

    公开(公告)号:JP2001306331A

    公开(公告)日:2001-11-02

    申请号:JP2000114193

    申请日:2000-04-14

    Applicant: IBM

    Abstract: PROBLEM TO BE SOLVED: To perform optimization with high effect to a program including an instruction in which an exception processing is possible to happen. SOLUTION: In this compiler to convert a source code of a program described in a programming language into the one in a machine language, an optimization processing executing part 12 to perform an optimization processing to an object program converted into the machine language, a pre-processing part 11 and a post-processing part 13 to perform deformation to absorb difference in the contents between a generation point of the exception processing regarding the instruction in which the exception processing is possible to happen in the object program and a place where the exception processing is performed to the object program are provided.

    Method for optimizing binary code of language having access to variable of zone decimal number form, device for optimizing the same and computer program
    19.
    发明专利
    Method for optimizing binary code of language having access to variable of zone decimal number form, device for optimizing the same and computer program 有权
    优化具有可变区域十进制数形式的语言的二进制代码的方法,用于优化其相关的设备和计算机程序

    公开(公告)号:JP2012248139A

    公开(公告)日:2012-12-13

    申请号:JP2011121446

    申请日:2011-05-31

    CPC classification number: G06F8/4441

    Abstract: PROBLEM TO BE SOLVED: To solve the problem in which an optimization technique for directly executing optimization to a binary code of a language having access to a variable of a zone decimal form, and applicable to a binary code having an instruction which can be an adverse effect is demanded.SOLUTION: The present invention provides an optimization technique for optimizing a binary code. The optimization technique includes steps of: detecting an area without an instruction which includes access to a variable of a zone decimal form and can be an adverse effect for the respective variables from the inside of the binary code read in a memory; and performing, in the detected area, processing for converting the variable of the zone decimal form into a binary type, processing for deleting from the binary code a code of PACK/UNPACK of which the converted result does not change even when the code of PACK/UNPACK is deleted, or processing in combination of them.

    Abstract translation: 要解决的问题:为了解决用于直接执行优化的优化技术的问题,该优化技术可以访问具有区域小数形式的变量的语言的二进制代码,并且适用于具有可指定的指令的二进制代码 是要求的不利影响。 解决方案:本发明提供了一种用于优化二进制码的优化技术。 该优化技术包括以下步骤:检测没有指令的区域,该指令包括对区域十进制形式的变量的访问,并且可能是来自在存储器中读取的二进制码的内部的各个变量的不利影响; 并且在检测区域中执行用于将区域十进制形式的变量转换为二进制类型的处理,用于从二进制代码中删除即使当PACK的代码时转换结果也不改变的PACK / UNPACK的代码的处理 / UNPACK被删除,或者它们的组合处理。 版权所有(C)2013,JPO&INPIT

    Program, apparatus and method
    20.
    发明专利
    Program, apparatus and method 审中-公开
    程序,装置和方法

    公开(公告)号:JP2011013985A

    公开(公告)日:2011-01-20

    申请号:JP2009158204

    申请日:2009-07-02

    CPC classification number: G06F8/443 G06F8/315

    Abstract: PROBLEM TO BE SOLVED: To manage an object by accessing management information by non-detection write processing which does not detect the generation of writing in an unchangeable object.SOLUTION: An apparatus for executing a target program includes: a storage part for storing a value of an object and management information of the object in association with each other; a code generation part for generating an optimized object optimized under a condition that the value of the object is unchangeable and an unoptimized code which is executed when the value of the object is changed from the target program; a switching part which when the target program is executed by the optimized code, switches the execution of the target program from execution on the basis of the optimized code to execution on the basis of the unoptimized code according to the generation of writing of a value to the object; and a management part for managing the object by accessing management information by the non-detection write processing which does not detect the generation of writing in the object.

    Abstract translation: 要解决的问题:通过不检测不可更改对象中的写入生成的非检测写入处理来访问管理信息来管理对象。解决方案:一种用于执行目标程序的装置,包括:存储部件,用于存储值 对象的对象和管理信息相关联; 用于生成在所述对象的值不可改变的条件下优化的优化对象的代码生成部,以及当所述对象的值从所述目标程序改变时执行的未优化的代码; 切换部,当通过优化代码执行目标程序时,根据优化代码的执行将目标程序的执行从基于优化代码的执行切换到基于未优化代码的执行,根据生成写入值 物体; 以及管理部件,用于通过不检测对象中的写入生成的非检测写入处理访问管理信息来管理对象。

Patent Agency Ranking