This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/70191] libatomic library does not have lock-free implementation for 16-bytes data object on Solaris


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

Alexey Lapshin <alexey.lapshin at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |FIXED

--- Comment #2 from Alexey Lapshin <alexey.lapshin at oracle dot com> ---
Correct. But it seems that libatomic library does not check existence of
cmpxchg16b. Thus it would use locked implementation even if target supports
cmpxchg16b.

i.e. old compiled code should work correctly with newly compiled code. If old
code has call to __atomic_load_16 and new code has inlined implementation -
they would work incorrectly.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]