首页> 外国专利> A method and apparatus for implementing check instructions that allow for the reuse of memory conflict information if no memory conflict occurs

A method and apparatus for implementing check instructions that allow for the reuse of memory conflict information if no memory conflict occurs

机译:用于实现检查指令的方法和装置,如果没有发生存储器冲突,该检查指令允许重新使用存储器冲突信息

摘要

A method and apparatus for implementing check instructions that allow for the reuse of memory conflict information if no memory conflict occurs. According to one aspect of the invention, a machine-readable medium having stored thereon data representing sequences of instructions is described. When executed by a computer system, the sequences of instructions cause the computer system to perform a series of steps. One of these steps involves preloading one of a set of registers data retrieved from a memory starting at a first address. Another of these steps involves storing memory conflict information representing the first address. This memory conflict information is later used for determining if a memory conflict has occurred. Another of these steps involves storing data at a second address in the memory. Yet another of these steps involves determining if a memory conflict has occurred between the first address and the second address using the previously stored memory conflict information. If a memory conflict occurred between the first and second addresses, then one of the registers is reloaded with the data located at the first address. However, if a memory conflict did not occur between the first and second addresses, then the memory conflict information is left for use during subsequent memory conflict checks. According to one embodiment of the invention, the data is reloaded into a register by causing the computer system to branch to recovery code. According to another embodiment of the invention, the data is reloaded into a register without performing any branch instructions.
机译:一种用于实现检查指令的方法和装置,如果没有发生存储器冲突,该检查指令允许重新使用存储器冲突信息。根据本发明的一个方面,描述了一种机器可读介质,其上存储有表示指令序列的数据。当由计算机系统执行时,指令序列使计算机系统执行一系列步骤。这些步骤之一涉及预加载从存储器中从第一地址开始的一组寄存器数据中的一个。这些步骤中的另一个涉及存储代表第一地址的存储器冲突信息。此内存冲突信息以后将用于确定是否发生了内存冲突。这些步骤中的另一个涉及将数据存储在存储器中的第二地址处。这些步骤中的又一个涉及使用先前存储的存储器冲突信息来确定在第一地址和第二地址之间是否发生了存储器冲突。如果在第一个地址和第二个地址之间发生了内存冲突,那么将使用位于第一个地址的数据重新加载其中一个寄存器。但是,如果在第一地址和第二地址之间未发生内存冲突,则该内存冲突信息将留在以后的内存冲突检查中使用。根据本发明的一个实施例,通过使计算机系统分支到恢复代码,将数据重新加载到寄存器中。根据本发明的另一实施例,在不执行任何分支指令的情况下将数据重新加载到寄存器中。

著录项

  • 公开/公告号AU3644797A

    专利类型

  • 公开/公告日1998-01-21

    原文格式PDF

  • 申请/专利权人 IDEA CORPORATION;

    申请/专利号AU19970036447

  • 发明设计人 ALAN KARP;H. ROLAND KENNER;WILLIAM CHEN;

    申请日1997-06-25

  • 分类号G06F19/00;

  • 国家 AU

  • 入库时间 2022-08-22 02:53:24

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号