Methods and apparatuses for thread management of multi-threading
    6.
    发明授权
    Methods and apparatuses for thread management of multi-threading 失效
    多线程线程管理方法与设备

    公开(公告)号:US07398521B2

    公开(公告)日:2008-07-08

    申请号:US10779193

    申请日:2004-02-13

    IPC分类号: G06F9/45

    CPC分类号: G06F8/441

    摘要: Methods and apparatuses for thread management for multi-threading are described herein. In one embodiment, exemplary process includes selecting, during a compilation of code having one or more threads executable in a data processing system, a current thread having a most bottom order, determining resources allocated to one or more child threads spawned from the current thread, and allocating resources for the current thread in consideration of the resources allocated to the current thread's one or more child threads to avoid resource conflicts between the current thread and its one or more child threads. Other methods and apparatuses are also described.

    摘要翻译: 本文描述了用于多线程的线程管理的方法和装置。 在一个实施例中,示例性过程包括在具有在数据处理系统中可执行的一个或多个线程的代码的编译期间选择具有最低阶的当前线程,确定分配给从当前线程产生的一个或多个子线程的资源, 并且考虑分配给当前线程的一个或多个子线程的资源来为当前线程分配资源,以避免当前线程与其一个或多个子线程之间的资源冲突。 还描述了其它方法和装置。

    Methods and apparatuses for compiler-creating helper threads for multi-threading
    7.
    发明授权
    Methods and apparatuses for compiler-creating helper threads for multi-threading 有权
    用于多线程的编译器创建帮助线程的方法和设备

    公开(公告)号:US08612949B2

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

    申请号:US12650630

    申请日:2009-12-31

    IPC分类号: G06F9/45

    摘要: Methods and apparatuses for compiler-created helper thread for multi-threading are described herein. In one embodiment, exemplary process includes identifying a region of a main thread that likely has one or more delinquent loads, the one or more delinquent loads representing loads which likely suffer cache misses during an execution of the main thread, analyzing the region for one or more helper threads with respect to the main thread, and generating code for the one or more helper threads, the one or more helper threads being speculatively executed in parallel with the main thread to perform one or more tasks for the region of the main thread. Other methods and apparatuses are also described.

    摘要翻译: 本文描述了用于多线程的编译器创建的辅助线程的方法和装置。 在一个实施例中,示例性过程包括识别可能具有一个或多个拖欠负载的主线程的区域,所述一个或多个违规负载表示在执行主线程期间可能遭受高速缓存未命中的负载,分析该区域中的一个或多个 相对于主线程的更多帮助线程,以及为一个或多个辅助线程生成代码,一个或多个辅助线程与主线程并行地被推测地执行,以对主线程的区域执行一个或多个任务。 还描述了其它方法和装置。