public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/107676] New: Nonsensical docs for -mrelax-cmpxchg-loop
@ 2022-11-14 13:32 redi at gcc dot gnu.org
  2022-11-14 13:57 ` [Bug target/107676] " redi at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: redi at gcc dot gnu.org @ 2022-11-14 13:32 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 107676
           Summary: Nonsensical docs for -mrelax-cmpxchg-loop
           Product: gcc
           Version: 12.2.1
            Status: UNCONFIRMED
          Keywords: documentation
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: redi at gcc dot gnu.org
  Target Milestone: ---
            Target: x86*

g:4d281ff7ddd8f6365943c0a622107f92315bb8a6 added:

+@item -mrelax-cmpxchg-loop
+@opindex mrelax-cmpxchg-loop
+Relax cmpxchg loop by emitting an early load and compare before cmpxchg,
+execute pause if load value is not expected. This reduces excessive
+cachline bouncing when and works for all atomic logic fetch builtins
+that generates compare and swap loop.


1) "cachline" is a typo
2) "when" ... when what?
3) What does "atomic logic fetch builtins" mean?
4) "generates" should be "generate"
5) Is a "cmpxchg loop" the same as a "compare and swap loop"? Can we use the
same term consistently?

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-11-28 22:23 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-14 13:32 [Bug target/107676] New: Nonsensical docs for -mrelax-cmpxchg-loop redi at gcc dot gnu.org
2022-11-14 13:57 ` [Bug target/107676] " redi at gcc dot gnu.org
2022-11-14 14:04 ` redi at gcc dot gnu.org
2022-11-14 17:16 ` pinskia at gcc dot gnu.org
2022-11-14 17:21 ` redi at gcc dot gnu.org
2022-11-14 17:26 ` pinskia at gcc dot gnu.org
2022-11-15  3:36 ` wwwhhhyyy333 at gmail dot com
2022-11-16 13:42 ` cvs-commit at gcc dot gnu.org
2022-11-16 13:43 ` amonakov at gcc dot gnu.org
2022-11-28 22:23 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).