2
0
mirror of https://github.com/boostorg/atomic.git synced 2026-02-02 08:22:08 +00:00
Files
atomic/include
Andrey Semashev 06f670d5cd Drop checks for BOOST_NO_ALIGNMENT and BOOST_HAS_INT128 for x86.
We no longer use the alignment attributes (except for alignas, when
available) in order to align the 128-bit storage for atomics. Instead we
rely on type_with_alignment for that. Although it may still use the same
attributes to acheve the required alignment, this is its implementation
detail and may not correspond to BOOST_NO_ALIGNMENT exactly.

The check for BOOST_HAS_INT128 was not really relevant to begin with
because __int128 is not guaranteed to have alignment of 16.

In any case, all current compilers targeting x86 do support alignment of
16, so the checks weren't doing anything.
2020-06-21 19:07:28 +03:00
..