首页> 外国专利> Processing long-latency instructions in a pipelined processor

Processing long-latency instructions in a pipelined processor

机译:在流水线处理器中处理长等待时间指令

摘要

There is provided a method and processor for processing a thread. The thread comprises a plurality of sequential instructions, the plurality of sequential instructions comprising some short-latency instructions and some long-latency instructions and at least one hazard instruction, the hazard instruction requiring one or more preceding instructions to be processed before the hazard instruction is processed. The method comprises the steps of: a) before processing each long-latency instruction, incrementing by one, a counter associated with the thread; b) after each long-latency instruction has been processed, decrementing by one, the counter associated with the thread; c) before processing each hazard instruction, checking the value of the counter associated with the thread, and i) if the counter value is zero, processing the hazard instruction, or ii) if the counter value is non-zero, pausing processing of the hazard instruction until a later time. The processor includes means for performing steps a), b) and c) of the method.
机译:提供了一种用于处理线程的方法和处理器。该线程包括多个顺序指令,该多个顺序指令包括一些短等待时间指令和一些长等待时间指令以及至少一个危险指令,该危险指令要求在危险指令被处理之前要处理一个或多个先前的指令。处理。该方法包括以下步骤:a)在处理每个长等待时间指令之前,将与线程相关的计数器加1; b)在处理完每条长等待时间指令之后,将与该线程关联的计数器减一; c)在处理每条危险指令之前,检查与线程关联的计数器的值,并且i)如果计数器值为零,则处理危险指令,或者ii)如果计数器值非零,则暂停处理危险说明,直到以后。该处理器包括用于执行该方法的步骤a),b)和c)的装置。

著录项

  • 公开/公告号US8407454B2

    专利类型

  • 公开/公告日2013-03-26

    原文格式PDF

  • 申请/专利权人 MORRIE BERGLAS;YOONG CHERT FOO;

    申请/专利号US201213487218

  • 发明设计人 MORRIE BERGLAS;YOONG CHERT FOO;

    申请日2012-06-03

  • 分类号G06F9/30;G06F9/40;G06F9/00;G06F9/44;G06F7/38;

  • 国家 US

  • 入库时间 2022-08-21 16:44:33

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号