Compiler apparatus for optimizing high-level language programs using directives
    1.
    发明授权
    Compiler apparatus for optimizing high-level language programs using directives 有权
    用于使用指令优化高级语言程序的编译器设备

    公开(公告)号:US07571432B2

    公开(公告)日:2009-08-04

    申请号:US10944831

    申请日:2004-09-21

    IPC分类号: G06F9/45

    CPC分类号: G06F8/4442

    摘要: A compiler 58, which is a compiler that realizes program development in a fewer man hours, translates a source program 72 written in a high-level language into a machine language program. This compiler 58 is comprised of: a directive obtainment unit that obtains a directive that a machine language program to be generated should be optimized; a parser unit 76 that parses the source program 72; an intermediate code conversion unit 78 that converts the source program 72 into intermediate codes based on a result of the parsing performed by the parser unit 76; an optimization unit 68 that optimizes the intermediate codes according to the directive; and a code generation unit 90 that converts the intermediate codes into the machine language program. The above directive is a directive to optimize the machine language program targeted at a processor that uses a cache memory.

    摘要翻译: 编译器58是以较少的工时实现程序开发的编译器,将以高级语言编写的源程序72翻译成机器语言程序。 该编译器58包括:指令获取单元,其获得应当优化要生成的机器语言程序的指令; 解析源程序72的解析器单元76; 中间代码转换单元78,其基于由解析器单元76执行的解析的结果将源程序72转换为中间代码; 优化单元68,根据该指令优化中间代码; 以及将中间代码转换为机器语言程序的代码生成单元90。 上述指令是优化针对使用高速缓存的处理器的机器语言程序的指令。

    Compiler apparatus
    2.
    发明申请
    Compiler apparatus 有权
    编译器

    公开(公告)号:US20050086653A1

    公开(公告)日:2005-04-21

    申请号:US10944831

    申请日:2004-09-21

    IPC分类号: G06F9/45

    CPC分类号: G06F8/4442

    摘要: A compiler 58, which is a compiler that realizes program development in a fewer man hours, translates a source program 72 written in a high-level language into a machine language program. This compiler 58 is comprised of: a directive obtainment unit that obtains a directive that a machine language program to be generated should be optimized; a parser unit 76 that parses the source program 72; an intermediate code conversion unit 78 that converts the source program 72 into intermediate codes based on a result of the parsing performed by the parser unit 76; an optimization unit 68 that optimizes the intermediate codes according to the directive; and a code generation unit 90 that converts the intermediate codes into the machine language program. The above directive is a directive to optimize the machine language program targeted at a processor that uses a cache memory.

    摘要翻译: 编译器58是以较少的工时实现程序开发的编译器,将以高级语言编写的源程序72翻译成机器语言程序。 该编译器58包括:指令获取单元,其获得应当优化要生成的机器语言程序的指令; 解析源程序72的解析器单元76; 中间代码转换单元78,其基于由解析器单元76执行的解析的结果将源程序72转换为中间代码; 优化单元68,根据该指令优化中间代码; 以及将中间代码转换为机器语言程序的代码生成单元90。 上述指令是优化针对使用高速缓存的处理器的机器语言程序的指令。