发明申请
- 专利标题: FAST CONTEXT SAVE IN TRANSACTIONAL MEMORY
- 专利标题(中): 快速的内容保存在交易记忆中
-
申请号: US12708634申请日: 2010-02-19
-
公开(公告)号: US20100217945A1公开(公告)日: 2010-08-26
- 发明人: Yi Ge , Rui Hou , Huayong Wang
- 申请人: Yi Ge , Rui Hou , Huayong Wang
- 申请人地址: US NY Armonk
- 专利权人: INTERNATIONAL BUSINESS MACHINES CORPORATION
- 当前专利权人: INTERNATIONAL BUSINESS MACHINES CORPORATION
- 当前专利权人地址: US NY Armonk
- 优先权: CN200910008371.3 20090226
- 主分类号: G06F12/00
- IPC分类号: G06F12/00 ; G06F12/06
摘要:
The present invention provides a method, apparatus and article of manufacture, for fast context saving in transactional memory. The method creates a mapping table that includes entries corresponding to architectural registers. Each entry includes a physical register index and shadow bit of a first physical register mapped to an architectural register. In response to a detection that an update occurs to an architectural register in a transaction and its shadow bit being an invalid value, the method sets the shadow bit to be a valid value and sets a shadow register for the architectural register using the physical register index of the first physical register. The method maps a second physical register to the shadow register in order to save a modified value generated by an update process and saves the original value before the update process by use of the first physical register corresponding to the architecture register.
信息查询