首页> 外国专利> Method and system for executing a program within a multiscalar processor by processing linked thread descriptors

Method and system for executing a program within a multiscalar processor by processing linked thread descriptors

机译:通过处理链接的线程描述符在多标量处理器中执行程序的方法和系统

摘要

A multiscalar processor and method of executing a multiscalar program within a multiscalar processor having a plurality of processing elements and a thread scheduler are provided. The multiscalar program includes a plurality of threads that are each composed of one or more instructions of a selected instruction set architecture. Each of the plurality of threads has a single entry point and a plurality of possible exit points. The multiscalar program further comprises thread code including a plurality of data structures that are each associated with a respective one of the plurality of threads. According to the method, a third data structure among the plurality of data structures is supplied to the thread scheduler. The third data structure, which is associated with a third thread among the plurality of threads, specifies a first data structure associated with a first possible exit point of the third thread and a second data structure associated with a second possible exit point of the third thread. The third thread is assigned to a selected one of the plurality of processing elements for execution. Prior to completing execution of the third thread, the thread scheduler selects from among the first and the second possible exit points of the third thread. In response to the selection, a corresponding one of the first and second data structures is loaded into the thread scheduler for processing.
机译:提供了一种多标量处理器以及在具有多个处理元件和线程调度器的多标量处理器内执行多标量程序的方法。多标量程序包括多个线程,每个线程由所选指令集体系结构的一个或多个指令组成。多个线程中的每一个具有单个入口点和多个可能的出口点。该多标量程序还包括线程代码,该线程代码包括多个数据结构,每个数据结构分别与多个线程中的相应一个线程相关联。根据该方法,多个数据结构中的第三数据结构被提供给线程调度器。与多个线程中的第三线程相关联的第三数据结构指定与第三线程的第一可能出口点相关联的第一数据结构和与第三线程的第二可能出口点相关联的第二数据结构。第三线程被分配给多个处理元件中的一个以便执行。在完成第三线程的执行之前,线程调度程序从第三线程的第一和第二可能的退出点中进行选择。响应于该选择,将第一和第二数据结构中的相应一个加载到线程调度器中以进行处理。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号