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

Jan Beulich jbeulich@suse.com
Tue Jul 7 05:53:26 GMT 2026


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


More information about the Binutils mailing list