Automatic verification of optimization of high level constructs using test vectors

    公开(公告)号:GB2604237A

    公开(公告)日:2022-08-31

    申请号:GB202201366

    申请日:2020-07-24

    Applicant: IBM

    Abstract: A method for automatic verification of optimization of high level constructs includes generating a first executable code by compiling a computer program that includes a high level construct. The compiling includes generating a first set of machine instructions for the high level construct and storing compile-time information for the high level construct. The method further includes optimizing the first executable code which includes converting the first executable code into an intermediate language representation. The optimization further includes generating a second executable code. For this, the method includes generating a second set of machine instructions for the high level construct from the intermediate language representation. If the behavior of the first set of machine instructions and the second set of machine instructions matches, the second set of machine instructions is included in the second executable code, otherwise the first set of machine instructions is included.

Patent Agency Ranking