07-01-2016 дата публикации
Номер: US20160004589A1
Принадлежит:
A transactional memory system salvages a hardware transaction. A processor of the transactional memory system executes a salvage indicator instruction, such execution including obtaining a salvage indication information specified by the salvage indicator instruction, and saving the salvage indication information comprising a salvage indication. Based on a pending point of failure being detected, the processor uses the saved salvage indication information to avoid aborting a hardware transaction, wherein absent salvage indication information, the pending point of failure causes a hardware transaction to abort. The processor detects the point of failure, and based on the detecting, determines whether the salvage indication has been recorded. Based on determining that the salvage indication has been recorded, the processor executes an about-to-fail handler, and based on determining that the salvage indication has not been recorded, the processor aborts the transactional execution of the code region. 1. A method for salvaging a hardware transaction , the method comprising: a) obtaining a salvage indication information specified by the salvage indicator instruction; and', 'b) saving, by the processor, the salvage indication information comprising a salvage indication; and, 'executing, by a processor, a salvage indicator instruction, the execution comprising a) and b)based on a pending point of failure being detected by the processor, using the saved salvage indication information to avoid aborting a hardware transaction, wherein absent salvage indication information, the pending point of failure causes a hardware transaction to abort.2. The method of claim 1 , further comprising:detecting, by the processor, the pending point of failure in a code region during transactional execution of the code region;based on the detecting, determining, by the processor, whether the salvage indication has been saved;based on determining, by the processor, that the salvage indication has ...
Подробнее