Medium
A load to an unmapped page on the wrong path of a mispredicted branch
The branch predictor predicts jae skip not-taken, so the out-of-order core keeps fetching and executes mov rax, [rbx] speculatively. rbx points into a virtual page with no mapping at all, so the load's page walk finds a not-present entry. The add that consumes rax is also in flight. A few cycles later the branch resolves as actually taken: the load was on the wrong path all along. What does the core do about the fault?
cmp rdi, rsi
jae skip ; predicted not-taken, actually taken
mov rax, [rbx] ; rbx -> unmapped page
add rcx, rax
skip:
...36 of 47 in Computer Architecture