Fix atomic ops inline x86 inline assembly for older 32bit gccs.
Andres Freund <andres@anarazel.de>
Fix atomic ops inline x86 inline assembly for older 32bit gccs. Some x86 32bit versions of gcc apparently generate references to the nonexistant %sil register when using when using the r input constraint, but not with the =q constraint. The latter restricts allocations to a/b/c/d which should all work.
Files
| Path | Change | +/− |
|---|---|---|
| src/include/port/atomics/arch-x86.h | modified | +2 −2 |