|
|
|
|
|
by Aardwolf
4042 days ago
|
|
> However, the carry flag produces false positives because nearly any negative delta will cause a carry to happen. Correct me if I'm wrong, but I think that when going to the right, the carry flag indicates that it wrapped, while when going to the left, the carry flag indicates that it didn't wrap. So the flag is still usable when going to the left, just interpret it the opposite way. Do you think that's correct? |
|
Avoiding branching is still relevant on modern machines when optimizing hotspots, and even moreso as cpu instruction pipelines get longer.