C++ Logo

std-proposals

Advanced search

Re: [std-proposals] std::atomic_pointer_pair

From: Thiago Macieira <thiago_at_[hidden]>
Date: Mon, 29 Dec 2025 21:19:35 -0300
On Monday, 29 December 2025 19:28:27 Brasilia Standard Time Andrey Semashev
via Std-Proposals wrote:
> Thanks for the explanation. But I still think that there should be a way
> to tell the compiler that it should just use cmpxchg16b because that's
> my minimum requirement for a CPU. More so if the instruction is required
> by the OS even before the program is run.

That's a minor ABI change, though one that could be welcome, especially if
baseline x86-64 is going the way of the dodo.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Principal Engineer - Intel Data Center - Platform & Sys. Eng.

Received on 2025-12-30 00:19:43