Method and computer program product for precise feedback data generation and updating for compile-time optimizations
    1.
    发明授权
    Method and computer program product for precise feedback data generation and updating for compile-time optimizations 有权
    用于编译时优化的精确反馈数据生成和更新的方法和计算机程序产品

    公开(公告)号:US07120906B1

    公开(公告)日:2006-10-10

    申请号:US09560555

    申请日:2000-04-28

    IPC分类号: G06F9/45

    CPC分类号: G06F8/443

    摘要: A method and computer program product, within an optimizing compiler, for precise feedback data generation and updating. The method and computer program uses instrumentation and annotation of frequency values to allow feedback data to stay current during the multiple optimizations that the program code undergoes during compilation. Global propagation of known precise feedback values are used to replace approximate and unavailable values, and global verification of feedback data after optimization to detect discrepancies is employed. The method and computer program also provides improved instrumentation to anticipate cloning when code is cloned during ceratin compiler optimizations and handles inlined procedures. The result is compiled executables with improved SPECint benchmarks.

    摘要翻译: 一种优化编译器内的方法和计算机程序产品,用于精确的反馈数据生成和更新。 该方法和计算机程序使用频率值的仪器和注释来允许反馈数据在程序代码在编译期间经历的多次优化期间保持最新。 使用已知精确反馈值的全局传播来代替近似值和不可用值,并且采用优化后的反馈数据的全局验证来检测差异。 该方法和计算机程序还提供了改进的仪器,以便在ceratin编译器优化期间克隆代码时预期克隆,并处理内联过程。 结果是编译可执行文件,改进了SPECint基准。