forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitdd50f1a
committed
Replace xlc __fetch_and_add() with inline asm.
PostgreSQL has been unusable when built with xlc 13 and newer, which areincompatible with our use of __fetch_and_add(). Back-patch to 9.5,which introduced pg_atomic_fetch_add_u32().Reviewed by Tom Lane.Discussion:https://postgr.es/m/20190831071157.GA3251746@rfd.leadboat.com1 parentf380c51 commitdd50f1a
1 file changed
+35
-4
lines changedLines changed: 35 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
73 | 73 |
| |
74 | 74 |
| |
75 | 75 |
| |
| 76 | + | |
| 77 | + | |
| 78 | + | |
76 | 79 |
| |
77 |
| - | |
78 |
| - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
79 | 84 |
| |
80 |
| - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
81 | 97 |
| |
82 | 98 |
| |
83 | 99 |
| |
| |||
103 | 119 |
| |
104 | 120 |
| |
105 | 121 |
| |
106 |
| - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
107 | 138 |
| |
108 | 139 |
| |
109 | 140 |
| |
|
0 commit comments
Comments
(0)