Mike Stump wrote:
On Apr 8, 2007, at 2:37 AM, Uros Bizjak wrote:
My docs say that "INC/DEC does not change the carry flag".
Personally, I'm having a hard time envisioning how the semantics of
the instruction are relevant at all. This is all about instructing
tuning, so, semantics cannot matter, otherwise, it would be wrong to
make this a tune choice.
Well for sure INC and ADD have different semantics. INC does not
affect the carry flag, and ADD does, so there are definitely
situations where you want one and the other won't work!