-
公开(公告)号:US10528345B2
公开(公告)日:2020-01-07
申请号:US14671914
申请日:2015-03-27
Applicant: Intel Corporation
Inventor: Ilan Pardo , Oren Ben-Kiki , Arch D. Robison , Nadav Chachmon , James H. Cownie
Abstract: Instructions and logic provide atomic range operations in a multiprocessing system. In one embodiment an atomic range modification instruction specifies an address for a set of range indices. The instruction locks access to the set of range indices and loads the range indices to check the range size. The range size is compared with a size sufficient to perform the range modification. If the range size is sufficient to perform the range modification, the range modification is performed and one or more modified range indices of the set of range indices is stored back to memory. Otherwise an error signal is set when the range size is not sufficient to perform said range modification. Access to the set of range indices is unlocked responsive to completion of the atomic range modification instruction. Embodiments may include atomic increment next instructions, add next instructions, decrement end instructions, and/or subtract end instructions.