首页> 外国专利> Dynamic priority switching of load and store buffers in superscalar processor

Dynamic priority switching of load and store buffers in superscalar processor

机译:超标量处理器中的加载和存储缓冲区的动态优先级切换

摘要

A method and apparatus for dynamically switching the relative priorities of the load buffer and store buffer with respect to external memory resources in a superscalar processor. According to a first embodiment, a protocol dictates that the load buffer always prevails until the store buffer reaches a certain "high water mark," (an upper threshold) at which time the store buffer gains priority. After the store buffer has gained priority, it continues to access the memory until it is depleted to a "low water mark," (a lower threshold) at which time the load buffer regains priority. Whenever the store buffer reaches the high water mark, it gains priority until it drains down to the low water mark. This reduces the tendency for the store buffer to become full and block the processor. According to a second embodiment, the load buffer prevails if it is above its high water mark. If the load buffer is below its high water mark, the load buffer prevails until the store buffer reaches its high water mark, at which time the store buffer gains priority. After the store buffer has gained priority, it maintains priority until the load buffer reaches its high water mark. This reduces the tendency for either buffer to become full and block the processor.
机译:一种用于在超标量处理器中相对于外部存储器资源动态地切换负载缓冲器和存储缓冲器的相对优先级的方法和装置。根据第一实施例,协议指示加载缓冲器总是占优势,直到存储缓冲器达到某个“高水位线”(上限)为止,这时存储缓冲器获得优先级。存储缓冲区获得优先级之后,它将继续访问内存,直到耗尽到“低水位线”(较低的阈值)为止,此时加载缓冲区重新获得优先级。每当存储缓冲区达到高水位线时,它就会获得优先权,直到耗尽到低水位线为止。这减少了存储缓冲区变满并阻塞处理器的趋势。根据第二实施例,如果负载缓冲器高于其高水位线,则占主导。如果加载缓冲区低于其高水位线,则以加载缓冲区为准,直到存储缓冲区达到其高水位线为止,此时存储缓冲区将获得优先级。存储缓冲区获得优先级之后,它将保持优先级,直到加载缓冲区达到其高水位线为止。这减少了任何一个缓冲区变满并阻塞处理器的趋势。

著录项

  • 公开/公告号US5904732A

    专利类型

  • 公开/公告日1999-05-18

    原文格式PDF

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

    申请/专利号US19960641206

  • 发明设计人 LESLIE KOHN;DALE GREENLEY;

    申请日1996-04-30

  • 分类号G06F13/00;

  • 国家 US

  • 入库时间 2022-08-22 02:08:07

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号