- Notifications
You must be signed in to change notification settings - Fork28
Commitd41cb63
committed
For ppc gcc, implement 64-bit compare_exchange and fetch_add with asm.
While xlc defines __64BIT__, gcc does not. Due to this oversight incommit30ee5d1, gcc builds continuedimplementing 64-bit atomics by way of intrinsics. Back-patch to v13,where that commit first appeared.Reviewed by Tom Lane.Discussion:https://postgr.es/m/20201011051043.GA1724101@rfd.leadboat.com1 parentdc14aa0 commitd41cb63
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
0 commit comments
Comments
(0)