STSHH

Store shared hint

This instruction signals to the memory system that if the next instruction in program order generates an explicit write effect, then it is to a location that one or more other threads of execution will observe, and there is a performance benefit to ensuring that the updated value from the write to that location propagates to those other observers with minimal latency.

The thread of execution on the other observers might be polling the location using load or load-exclusive instructions, or may have executed a PRFM IR instruction targeting the location.

Encoding: System

Variants: FEAT_PCDPHINT (ARMv9.6)

313029282726252423222120191817161514131211109876543210
11010101000000110010011000x11111
CRmop2

STSHH <policy>

Decoding algorithm

if !IsFeatureImplemented(FEAT_PCDPHINT) then EndOfDecode(Decode_NOP);
constant boolean stream = op2<0> == '1';

Operation

Hint_StoreShared(stream);

Explanations

<policy>: