Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OpcodeDispatcher: eliminate branch in cmpxchg pair
In the old case: * if we take the branch, 1 instruction * if we don't take the branch, 3 instruction * branch predictor fun * 3 instructions of icache pressure In the new case: * unconditionally 2 instructions * no branch predictor dependence * 2 instructions of icache pressure This should not be non-neglibly worse, and it simplifies things for RA. Signed-off-by: Alyssa Rosenzweig <[email protected]>
- Loading branch information