Microarchitecture
Techniques such as branch prediction and speculative execution are used to reduce these branch penalties. Branch prediction is  where the hardware makes educated guesses on whether a particular branch will be taken. The guess allows the hardware to prefetch instructions without waiting for the register read. Speculative execution is a further enhancement in which the code along the predicted path is executed before it is known whether the branch should be taken or not.