https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91719

--- Comment #4 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Jakub Jelinek from comment #3)
> So, I guess we need to benchmark both and if xchg is beneficial on some
> CPUs, use it there guarded by some tuning flag.

Yes, my patch assumes that XCHG is beneficial on all CPUs, which may not be the
case.

Reply via email to