首页> 外国专利> ISSUANCE AND EXECUTION OF MEMORY INSTRUCTIONS TO AVOID READ-AFTER-WRITE HAZARDS

ISSUANCE AND EXECUTION OF MEMORY INSTRUCTIONS TO AVOID READ-AFTER-WRITE HAZARDS

机译:避免读后写危害的存储指令的发布和执行

摘要

A method and apparatus for issuing and executing memory instructions from a computer system so as to (1) maximize the number of requests issued to a highly pipe-lined memory, the only limitation being data dependencies in the program and (2) avoid reading data from memory before a corresponding write to memory. The memory instructions are organized to read and write into memory, by using explicit move instructions, thereby avoiding any data storage limitations in the processor. The memory requests are organized to carry complete information, so that they can be processed independently when memory returns the requested data. The memory is divided into a number of regions, each of which is associated with a fence counter. The fence counter for a memory region is incremented each time a memory instruction that is targeted to the memory region is issued and decremented each time there is a write to the memory region. After a fence instruction is issued, no further memory instructions are issued if the counter for the memory region specified in the fence instruction is above a threshold. When a sufficient number of the outstanding issued instructions are executed, the counter will be decremented below the threshold and further memory instructions are then issued.
机译:一种用于从计算机系统发布和执行存储器指令的方法和装置,以(1)最大化发布给高度流水线存储器的请求的数量,唯一的限制是程序中的数据依赖性,以及(2)避免读取数据从内存中进行相应的写操作之前。通过使用显式移动指令来组织存储指令以读取和写入存储器,从而避免了处理器中任何数据存储的限制。内存请求被组织为携带完整的信息,以便在内存返回所请求的数据时可以独立处理它们。存储器分为多个区域,每个区域都与围栏计数器关联。每当发出针对该存储区域的存储指令时,该存储区域的篱笆计数器就会增加,并且每当对该存储区域进行写操作时,该存储区的篱笆计数器就会减少。发出篱笆指令后,如果篱笆指令中指定的存储区域的计数器高于阈值,则不会再发布其他存储指令。当执行足够数量的未完成的已发出指令时,计数器将递减到阈值以下,然后再发出更多的存储器指令。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号