首页> 外国专利> Technique for managing a cache memory in a system employing transactional memory including storing a backup copy of initial data for quick recovery from a transaction abort

Technique for managing a cache memory in a system employing transactional memory including storing a backup copy of initial data for quick recovery from a transaction abort

机译:用于在采用事务存储器的系统中管理高速缓存存储器的技术,包括存储初始数据的备份副本以便从事务中止快速恢复

摘要

A technique is described for managing a cache structure in a system employing transactional memory. The apparatus comprises processing circuitry to perform data processing operations in response to instructions, the processing circuitry comprising transactional memory support circuitry to support execution of a transaction, and a cache structure comprising a plurality of cache entries for storing data for access by the processing circuitry. Each cache entry has associated therewith an allocation tag, and allocation tag control circuitry is provided to control use of a plurality of allocation tags and to maintain an indication of a current state of each of those allocation tags. The transactional memory support circuitry is arranged, when initial data in a chosen cache entry is to be written to during the transaction, to cause a backup copy of the initial data to be stored in a further cache entry and to cause the allocation tag control circuitry to associate with that further cache entry a selected allocation tag selected for the transaction. The current state of that selected allocation tag is updated to a first state which prevents the processing circuitry from accessing that further cache entry. In the event that the transaction is aborted prior to reaching a transaction end point, the transactional memory support circuitry causes the chosen cache entry to be invalidated, and the allocation tag control circuitry changes the state of the selected allocation tag to a second state that allows the processing circuitry to access the further cache entry. As a result, this enables a hit to subsequently be detected within the cache structure for the initial data without a requirement to refetch the initial data into the cache structure. This can give rise to significant performance enhancements.
机译:描述了一种用于在采用事务存储器的系统中管理高速缓存结构的技术。该装置包括处理电路,以响应于指令执行数据处理操作,处理电路包括结交存储器支持电路,以支持执行事务的执行,以及包括多个高速缓存条目的用于存储用于由处理电路访问的数据的高速缓存结构。与其相关联的每个高速缓存条目都与分配标签相关联,并且提供分配标签控制电路以控制使用多个分配标签并保持每个分配标签的当前状态的指示。交易存储器支持电路被安排,当要在事务期间写入所选择的高速缓存条目中的初始数据时,以使初始数据的备份副本存储在进一步的高速缓存条目中并导致分配标签控制电路与进一步的缓存条目关联,为事务选择了所选的分配标记。将所选分配标签的当前状态被更新为第一状态,这防止处理电路访问该进一步缓存条目。如果事务在达到事务结束点之前中止交易时,事务存储器支持电路会导致所选择的高速缓存条目无效,并且分配标签控制电路将所选分配标记的状态改变为允许的第二状态用于访问其他缓存条目的处理电路。结果,这使得能够在初始数据的高速缓存结构内检测到初始数据,而无需将初始数据重新入到高速缓存结构中。这可能产生显着的性能增强。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号