forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8122e14
committed
Add, optional, support for 128bit integers.
We will, for the foreseeable future, not expose 128 bit datatypes toSQL. But being able to use 128bit math will allow us, in a later patch,to use 128bit accumulators for some aggregates; leading to noticeablespeedups over using numeric.So far we only detect a gcc/clang extension that supports 128bit math,but no 128bit literals, and no *printf support. We might want to expandthis in the future to further compilers; if there are any that thatprovide similar support.Discussion: 544BB5F1.50709@proxel.seAuthor: Andreas Karlsson, with significant editorializing by meReviewed-By: Peter Geoghegan, Oskari Saarenmaa1 parent7e9ed62 commit8122e14
File tree
6 files changed
+109
-0
lines changed- config
- src/include
6 files changed
+109
-0
lines changedLines changed: 37 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
125 | 125 |
| |
126 | 126 |
| |
127 | 127 |
| |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
128 | 165 |
| |
129 | 166 |
| |
130 | 167 |
| |
|
Lines changed: 52 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13803 | 13803 |
| |
13804 | 13804 |
| |
13805 | 13805 |
| |
| 13806 | + | |
| 13807 | + | |
| 13808 | + | |
| 13809 | + | |
| 13810 | + | |
| 13811 | + | |
| 13812 | + | |
| 13813 | + | |
| 13814 | + | |
| 13815 | + | |
| 13816 | + | |
| 13817 | + | |
| 13818 | + | |
| 13819 | + | |
| 13820 | + | |
| 13821 | + | |
| 13822 | + | |
| 13823 | + | |
| 13824 | + | |
| 13825 | + | |
| 13826 | + | |
| 13827 | + | |
| 13828 | + | |
| 13829 | + | |
| 13830 | + | |
| 13831 | + | |
| 13832 | + | |
| 13833 | + | |
| 13834 | + | |
| 13835 | + | |
| 13836 | + | |
| 13837 | + | |
| 13838 | + | |
| 13839 | + | |
| 13840 | + | |
| 13841 | + | |
| 13842 | + | |
| 13843 | + | |
| 13844 | + | |
| 13845 | + | |
| 13846 | + | |
| 13847 | + | |
| 13848 | + | |
| 13849 | + | |
| 13850 | + | |
| 13851 | + | |
| 13852 | + | |
| 13853 | + | |
| 13854 | + | |
| 13855 | + | |
| 13856 | + | |
| 13857 | + | |
13806 | 13858 |
| |
13807 | 13859 |
| |
13808 | 13860 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1771 | 1771 |
| |
1772 | 1772 |
| |
1773 | 1773 |
| |
| 1774 | + | |
| 1775 | + | |
| 1776 | + | |
1774 | 1777 |
| |
1775 | 1778 |
| |
1776 | 1779 |
| |
|
Lines changed: 11 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
293 | 293 |
| |
294 | 294 |
| |
295 | 295 |
| |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
296 | 307 |
| |
297 | 308 |
| |
298 | 309 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
711 | 711 |
| |
712 | 712 |
| |
713 | 713 |
| |
| 714 | + | |
| 715 | + | |
| 716 | + | |
714 | 717 |
| |
715 | 718 |
| |
716 | 719 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
562 | 562 |
| |
563 | 563 |
| |
564 | 564 |
| |
| 565 | + | |
| 566 | + | |
| 567 | + | |
565 | 568 |
| |
566 | 569 |
| |
567 | 570 |
| |
|
0 commit comments
Comments
(0)