Re: Fix typo 586/686 in atomics/arch-x86.h
Daniel Gustafsson <daniel@yesql.se>
From: Daniel Gustafsson <daniel@yesql.se>
To: Nathan Bossart <nathandbossart@gmail.com>
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-18T16:17:22Z
Lists: pgsql-hackers
> On 8 May 2026, at 07:31, Nathan Bossart <nathandbossart@gmail.com> wrote: > > 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 Done. -- Daniel Gustafsson