发明名称 Saving/restoring selected registers in transactional processing
摘要 A TRANSACTION BEGIN instruction begins execution of a transaction and includes a general register save mask having bits, that when set, indicate registers to be saved in the event the transaction is aborted. At the beginning of the transaction, contents of the registers are saved in memory not accessible to the program, and if the transaction is aborted, the saved contents are copied to the registers.
申请公布号 US9361115(B2) 申请公布日期 2016.06.07
申请号 US201213524882 申请日期 2012.06.15
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 Greiner Dan F.;Jacobi Christian;Slegel Timothy J.
分类号 G06F9/38;G06F9/46;G06F9/30 主分类号 G06F9/38
代理机构 Heslin Rothenberg Farley & Mesiti P.C. 代理人 Kinnaman, Jr., Esq. William A.;Schiller, Esq. Blanche E.;Heslin Rothenberg Farley & Mesiti P.C.
主权项 1. A computer system for facilitating processing of transactions within a computing environment, said computer system comprising: a memory; and a processor in communications with the memory, wherein the computer system is configured to perform a method, said method comprising: obtaining a transaction begin instruction, the transaction begin instruction comprising an opcode that specifies a transaction begin instruction of a particular type, and a field that specifies a general register save mask to explicitly specify a set of individually selected registers to be saved based on executing the transaction begin instruction, the transaction begin instruction to initiate a transaction, and the general register save mask explicitly specifying the set of individually selected registers to be saved at a start of the transaction, wherein the general register save mask comprises a plurality of bits, and each bit of the plurality of bits represents an even-odd pair of registers, the transaction effectively delaying committing transactional stores to main memory until completion of a selected transaction; andexecuting the transaction begin instruction, the executing the transaction begin instruction comprising saving contents of the set of individually selected registers explicitly specified in the general register save mask of the transaction begin instruction, and initiating execution of the transaction.
地址 Armonk NY US