https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107676
Andrew Pinski changed:
What|Removed |Added
Target Milestone|--- |13.0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107676
Alexander Monakov changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107676
--- Comment #7 from CVS Commits ---
The master branch has been updated by Alexander Monakov :
https://gcc.gnu.org/g:85966f0d20baf50a767ac1110f537395441604a9
commit r13-4094-g85966f0d20baf50a767ac1110f537395441604a9
Author: Alexander Monakov
D
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107676
--- Comment #6 from Hongyu Wang ---
(In reply to Andrew Pinski from comment #5)
> (In reply to Jonathan Wakely from comment #4)
> > I don't think __atomic_compare_exchange emits such a loop. This is about
> > __atomic_fetch_xor and friends, whic
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107676
--- Comment #5 from Andrew Pinski ---
(In reply to Jonathan Wakely from comment #4)
> I don't think __atomic_compare_exchange emits such a loop. This is about
> __atomic_fetch_xor and friends, which do emit cmpxchg loops. But there are
> four su
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107676
--- Comment #4 from Jonathan Wakely ---
I don't think __atomic_compare_exchange emits such a loop. This is about
__atomic_fetch_xor and friends, which do emit cmpxchg loops. But there are four
such functions to name.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107676
Andrew Pinski changed:
What|Removed |Added
Last reconfirmed||2022-11-14
Status|UNCONFIRM
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107676
--- Comment #2 from Jonathan Wakely ---
(In reply to Jonathan Wakely from comment #0)
> 3) What does "atomic logic fetch builtins" mean?
>From the commit msg, it seems this means atomic_fetch_{or,xor,and,nand}.
But out of context in the GCC man
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107676
--- Comment #1 from Jonathan Wakely ---
Is it really better to do a load and check rather than just hoist the first
cmpxchg out of the loop, and add the pause in the loop if retrying?