CLRBHB

Clear branch history

This instruction clears the branch history for the current context to the extent that branch history information created before the CLRBHB instruction cannot be used by code before the CLRBHB instruction to exploitatively control the execution of any indirect branches in code in the current context that appear in program order after the instruction.

Encoding: System

Variants: FEAT_CLRBHB (ARMv8.9)

313029282726252423222120191817161514131211109876543210
11010101000000110010001011011111
CRmop2

CLRBHB

Decoding algorithm

if !IsFeatureImplemented(FEAT_CLRBHB) then EndOfDecode(Decode_NOP);

Operation

Hint_CLRBHB();

Explanations