[PATCH 2/3] x86: disassembler macro for condition code

Jiang, Haochen haochen.jiang@intel.com
Fri May 31 01:59:34 GMT 2024


> > >> This then also renders condition codes printed consistent across
> > >> all respective insns; CMPxxXADD had a number of outliers so far.
> > >
> > > Although the table seems much more "elegant" and alias is not that
> > > wrong, I suppose we should still stick to documentation and output
> > > what it is in documentation in disassembler for CMPccXADD, or the
> > > documentation is useless.
> >
> > I did long ago ask for the documentation to be updated, to name all
> > (and in particular the more sensible) possible spellings, just like is
> > the case with other condition-code insns. I hope that the latest when
> > the insn is integrated into Vol 2 of the SDM, this will finally
> > happen. As to more
> 
> Actually I am ok with both. Let me check with the documentation guy.

I am ok with that. I suppose documentation will name that in the future.

Thx,
Haochen

> 
> Thx,
> Haochen
> 
> > sensible: We're talking of condition codes resulting from comparisons here.
> > Z/NZ is less meaningful there than E/NE; Z/NZ are the better forms for
> > things like TEST.
> >
> > Jan


More information about the Binutils mailing list