首页> 外国专利> System and method using partial trap barrier instruction to provide trap barrier class-based selective stall of instruction processing pipeline

System and method using partial trap barrier instruction to provide trap barrier class-based selective stall of instruction processing pipeline

机译:使用部分陷阱屏障指令提供基于陷阱屏障类的指令处理流水线的选择性停顿的系统和方法

摘要

A new “partial trap barrier” instruction can be inserted in an instruction stream to cut off trap shadows of instructions of a respective one of a plurality of particular classes associated with each instruction. Several criteria may be used to assign instructions to trap barrier classes, including (i) explicit encoding of a trap barrier value which is contained in the respective instructions; (ii) resource(s) of the processor which is or are used in their execution, and (iii) where the instructions are located in the instruction stream in relation to the partial trap barrier instructions in the instruction stream. When the processor executes a partial trap barrier instruction in a particular class, while an earlier instruction in the same class is casting its trap shadow, the processor will stall the pipeline in connection with an instruction of the same class after the partial trap barrier instruction in the pipeline, as well as instructions in the instruction stream subsequent thereto. When the earlier instruction's trap shadow terminates, the processor can resume processing of the stalled and subsequent instructions. However, if no instruction in the instruction stream enters the pipeline prior to termination of the earlier instruction's trap shadow, the pipeline will not stall.
机译:一种新的“部分陷阱壁垒”可以将指令插入指令流中,以切断与每个指令相关联的多个特定类别中的相应特定类别的指令的陷阱阴影。可以使用几种标准来将指令分配给陷阱屏障类,包括:(i)包含在相应指令中的陷阱屏障值的显式编码; (ii)在执行中使用的处理器资源,以及(iii)相对于指令流中的部分陷阱屏障指令而言,指令在指令流中的位置。当处理器在特定类别中执行部分陷阱屏障指令时,而同一类别中的较早指令正在投射其陷阱阴影时,处理器将在执行部分陷阱陷阱指令后,停顿与同一类别的指令有关的管线。流水线以及随后的指令流中的指令。当较早指令的陷阱阴影终止时,处理器可以恢复对停顿的指令和后续指令的处理。但是,如果在终止较早指令的陷阱阴影之前,指令流中没有指令进入流水线,则流水线将不会停止。

著录项

  • 公开/公告号US6295601B1

    专利类型

  • 公开/公告日2001-09-25

    原文格式PDF

  • 申请/专利权人 SUN MICRO SYSTEMS INC.;

    申请/专利号US19970866101

  • 发明设计人 GUY L. STEELE JR.;

    申请日1997-05-30

  • 分类号G06F94/40;

  • 国家 US

  • 入库时间 2022-08-22 01:03:11

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号