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.
But you have better resources that I, so if you think that C2D should be left out of X86_TUNE_USE_INCDEC, then the patch is pre- approved for mainline.
I'm confused again, it isn't that it should be left out, it is that it should be included. My patch adds inc/dec selection for C2D. I'd also like it for generic on darwin, as that makes more sense for us. How does the rest of the community feel about inc/dec selection for generic?