| CPC G06F 12/0875 (2013.01) [G06F 9/3016 (2013.01); G06F 2212/452 (2013.01)] | 19 Claims |

|
1. An apparatus comprising:
instruction decoding circuitry to decode a sequence of instructions; and
processing circuitry to perform data processing in response to decoding of the sequence of instructions by the instruction decoding circuitry; in which:
in response to the instruction decoding circuitry decoding a conditional write instruction, the processing circuitry is configured to:
determine whether a predetermined condition is satisfied for a target cache line corresponding to a target address specified by the conditional write instruction;
in response to determining that the predetermined condition is satisfied for the target cache line, issue a write request to update the target cache line; and
in response to determining that the predetermined condition is not satisfied for the target cache line, return a failure indication; and
select, depending on whether the sequence of instructions specifies cache-line-retention hint information applicable to the conditional write instruction, whether to prevent a unique coherency state of the target cache line being relinquished by a local cache associated with the processing circuitry for a retention period following processing of the conditional write instruction, the unique coherency state comprising a coherency state in which the processing circuitry has exclusive right to update the target cache line.
|