Method and apparatus for software-assisted data cache and prefetch control
    1.
    发明申请
    Method and apparatus for software-assisted data cache and prefetch control 有权
    用于软件辅助数据缓存和预取控制的方法和装置

    公开(公告)号:US20070088915A1

    公开(公告)日:2007-04-19

    申请号:US11250054

    申请日:2005-10-13

    IPC分类号: G06F13/00

    摘要: The present invention provides a computer implemented method, apparatus, and computer usable program code for compiling instructions to manage a cache system. Loop constructs are analyzed to identify data usage characteristics for cache and prefetching conditions in instructions to form identified prefetch conditions. A set of control instructions are inserted into the instructions based on the data usage characteristics and the identified prefetch conditions to form multiple modified instructions. The set of multiple modified instructions are compiled to generate code for execution to form compiled instructions. The set of control instructions in the compiled instructions form a cache management policy to control movement of data in a memory system during execution of the compiled instructions.

    摘要翻译: 本发明提供了一种用于编译用于管理高速缓存系统的指令的计算机实现的方法,装置和计算机可用程序代码。 分析循环结构以识别指令中的缓存和预取条件的数据使用特征以形成识别的预取条件。 基于数据使用特性和识别的预取条件将一组控制指令插入到指令中以形成多个修改的指令。 编译多组修改指令的集合以生成用于执行的代码以形成编译指令。 编译指令中的一组控制指令形成高速缓存管理策略以在执行编译指令期间控制存储器系统中数据的移动。