Re: [PATCH 1/2] x86: optimize XCHG to MOV for same-register forms

Jan Beulich via Valgrind-developers <valgrind-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Newsgroups gmane.comp.debugging.valgrind.devel,gmane.comp.gnu.binutils
Message-ID <[email protected]>
On 06.07.2026 23:12, H.J. Lu wrote:
> We should consider benefits vs drawbacks for this optimization.  Do we have
> a list of applications which benefit from this optimization?

This question was raised before (in different words), and the answer is still
the same - how could we possibly know? The same is true though for about any
other of the optimizations we meanwhile have. IOW to me that's _still_ not a
viable criteria to work from.

Jan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.