]> granicus.if.org Git - postgresql/commit
Fix atomic ops inline x86 inline assembly for older 32bit gccs.
authorAndres Freund <andres@anarazel.de>
Fri, 26 Sep 2014 00:44:44 +0000 (02:44 +0200)
committerAndres Freund <andres@anarazel.de>
Fri, 26 Sep 2014 00:44:44 +0000 (02:44 +0200)
commitf18cad944911f05ad2e876af67362e28584b3c61
treeaffbfd609e2fea1ea82392416284530c6491a4c1
parent88bcdf9da5aa67da11ada0921703432ef2b7c21c
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.
src/include/port/atomics/arch-x86.h