Re: Fix typo 586/686 in atomics/arch-x86.h

Nathan Bossart <nathandbossart@gmail.com>

From: Nathan Bossart <nathandbossart@gmail.com>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: Andres Freund <andres@anarazel.de>, Tomas Vondra <tv@fuzzy.cz>, Jakub Wartak <jakub.wartak@enterprisedb.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, Thomas Munro <thomas.munro@gmail.com>
Date: 2026-05-08T14:31:17Z
Lists: pgsql-hackers
On Fri, May 08, 2026 at 09:32:16AM +0200, Daniel Gustafsson wrote:
> On 7 May 2026, at 23:46, Nathan Bossart <nathandbossart@gmail.com> wrote:
>> To be clear, I'm +1 on removing any 32-bit code in this file.  But the
>> 64-bit stuff should probably be fixed.
> 
> Agreed.  Reading over the threads you linked it seems the way forward is to
> apply the patch posted here, and then fix arch detection so that atomics.h
> picks up the right code for x86-64.

+1

-- 
nathan