首页> 外国专利> Method and apparatus for conditional storing of data using a compare-and-swap based approach

Method and apparatus for conditional storing of data using a compare-and-swap based approach

机译:使用基于比较和交换的方法有条件地存储数据的方法和装置

摘要

According to at least one example embodiment, a method and corresponding apparatus for conditionally storing data include initiating an atomic sequence by executing, by a core processor, an instruction/operation designed to initiate an atomic sequence. Executing the instruction designed to initiate the atomic sequence includes loading content associated with a memory location into a first cache memory, and maintaining an indication of the memory location and a copy of the corresponding content loaded. A conditional storing operation is then performed, the conditional storing operation includes a compare-and-swap operation, executed by a controller associated with a second cache memory, based on the maintained copy of the content and the indication of the memory location.
机译:根据至少一个示例实施例,一种用于有条件地存储数据的方法和相应的装置包括:通过由核心处理器执行被设计为启动原子序列的指令/操作来启动原子序列。执行被设计成启动原子序列的指令包括:将与存储器位置相关联的内容加载到第一高速缓冲存储器中;以及保持存储器位置的指示以及所加载的相应内容的副本。然后执行条件存储操作,该条件存储操作包括比较和交换操作,该操作由与第二高速缓冲存储器相关联的控制器基于内容的维护副本和存储器位置的指示来执行。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号