首页> 外国专利> Detecting segment limit violations for branch target when the branch unit does not supply the linear address

Detecting segment limit violations for branch target when the branch unit does not supply the linear address

机译:当分支单元不提供线性地址时,检测分支目标的段限制冲突

摘要

A pipelined 32 bit x86 processor including a prefetch unit and a branch unit. During sequential prefetching, the prefetch unit increments a prefetch physical address PFPA and a corresponding prefetch linear address PFLA--for each prefetch address, the PFLA is compared with the code segment limit linear address CSLA to determine if the corresponding prefetch block of 16 instruction bytes (cache line) contains the segment limit. If a COF hits in the branch unit, it outputs corresponding target address information used to generate a prefetch address--this target address information includes bits [11:0] of the target address (which are the same for the target physical address), i.e., the branch unit does not provide a full PFLA for comparison with the CSLA. Instead, the prefetch unit compares the low order bits [11:0] of the target address supplied by the branch unit with the CSLA--if a partial match occurs indicating that the CSLA address is potentially within such target prefetch block, the prefetch unit asserts a segment limit violation state that inhibits any instruction bytes from the target prefetch block from being transferred to the decoder. When the full target linear address is generated during the address calculation stage, it is compared with the CSLA address--(i) if they do not match, the segment limit violation state is deasserted, or (ii) if they match, the segment limit violation state is adjusted such that the transfer of instruction bytes from the target prefetch block is permitted up to the segment limit as represented by the CSLA address, and then a segment limit violation is signaled.
机译:流水线的32位x86处理器,包括一个预取单元和一个分支单元。在顺序预取期间,预取单元将预取物理地址PFPA和对应的预取线性地址PFLA递增-对于每个预取地址,将PFLA与代码段限制线性地址CSLA进行比较,以确定相应的16个指令字节的预取块(缓存行)包含细分限制。如果COF进入分支单元,它将输出用于生成预取地址的相应目标地址信息-该目标地址信息包含目标地址的位[11:0](与目标物理地址相同),也就是说,分支机构未提供完整的PFLA与CSLA进行比较。取而代之的是,预取单元将分支单元提供的目标地址的低位[11:0]与CSLA进行比较-如果发生部分匹配,表明CSLA地址可能在目标预取块中,则预取单元声明一个段限制违反状态,该状态禁止将来自目标预取块的任何指令字节传输到解码器。在地址计算阶段生成完整的目标线性地址时,会将其与CSLA地址进行比较-(i)如果不匹配,则断言段限制违反状态,或者(ii)如果它们匹配,则分段调整限制超限状态,以允许从目标预取块传输指令字节,直到达到CSLA地址所表示的分段限制为止,然后用信号通知分段限制。

著录项

  • 公开/公告号US5701448A

    专利类型

  • 公开/公告日1997-12-23

    原文格式PDF

  • 申请/专利权人 CYRIX CORPORATION;

    申请/专利号US19950572949

  • 发明设计人 CHRISTOPHER E. WHITE;

    申请日1995-12-15

  • 分类号G06F9/00;

  • 国家 US

  • 入库时间 2022-08-22 02:40:37

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号