forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb4eb2d1
committed
Try to fix the CRC-32C autoconf magic for icc compiler.
On gcc and clang, the _mm_crc32_u8 and _mm_crc32_u64 intrinsics are notdefined at all, when not building with -msse4.2. But on icc, they are.So we cannot assume that if those intrinsics are defined, we can always usethem safely, we might still need the runtime check.To fix, check if the __SSE_4_2__ preprocessor symbol is defined. That'ssupposed to be defined only when the compiler is targeting a processor thathas SSE 4.2 support.Per buildfarm members fulmar and okapi.1 parent0a52faf commitb4eb2d1
2 files changed
+50
-12
lines changedLines changed: 32 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14169 | 14169 |
| |
14170 | 14170 |
| |
14171 | 14171 |
| |
14172 |
| - | |
| 14172 | + | |
14173 | 14173 |
| |
14174 | 14174 |
| |
14175 | 14175 |
| |
| |||
14254 | 14254 |
| |
14255 | 14255 |
| |
14256 | 14256 |
| |
| 14257 | + | |
| 14258 | + | |
| 14259 | + | |
| 14260 | + | |
| 14261 | + | |
| 14262 | + | |
| 14263 | + | |
| 14264 | + | |
| 14265 | + | |
| 14266 | + | |
| 14267 | + | |
| 14268 | + | |
| 14269 | + | |
| 14270 | + | |
| 14271 | + | |
| 14272 | + | |
| 14273 | + | |
| 14274 | + | |
| 14275 | + | |
| 14276 | + | |
| 14277 | + | |
| 14278 | + | |
14257 | 14279 |
| |
14258 | 14280 |
| |
14259 |
| - | |
14260 |
| - | |
14261 |
| - | |
14262 |
| - | |
| 14281 | + | |
| 14282 | + | |
| 14283 | + | |
| 14284 | + | |
| 14285 | + | |
| 14286 | + | |
14263 | 14287 |
| |
14264 | 14288 |
| |
14265 | 14289 |
| |
14266 | 14290 |
| |
14267 |
| - | |
| 14291 | + | |
14268 | 14292 |
| |
14269 | 14293 |
| |
14270 | 14294 |
| |
14271 | 14295 |
| |
14272 | 14296 |
| |
14273 | 14297 |
| |
| 14298 | + | |
| 14299 | + | |
14274 | 14300 |
| |
14275 | 14301 |
| |
14276 | 14302 |
| |
|
Lines changed: 18 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1816 | 1816 |
| |
1817 | 1817 |
| |
1818 | 1818 |
| |
1819 |
| - | |
| 1819 | + | |
1820 | 1820 |
| |
1821 | 1821 |
| |
1822 | 1822 |
| |
| |||
1825 | 1825 |
| |
1826 | 1826 |
| |
1827 | 1827 |
| |
| 1828 | + | |
| 1829 | + | |
| 1830 | + | |
| 1831 | + | |
| 1832 | + | |
| 1833 | + | |
| 1834 | + | |
| 1835 | + | |
1828 | 1836 |
| |
1829 | 1837 |
| |
1830 |
| - | |
1831 |
| - | |
1832 |
| - | |
1833 |
| - | |
| 1838 | + | |
| 1839 | + | |
| 1840 | + | |
| 1841 | + | |
| 1842 | + | |
| 1843 | + | |
1834 | 1844 |
| |
1835 | 1845 |
| |
1836 | 1846 |
| |
1837 | 1847 |
| |
1838 |
| - | |
| 1848 | + | |
1839 | 1849 |
| |
1840 | 1850 |
| |
1841 | 1851 |
| |
1842 | 1852 |
| |
1843 | 1853 |
| |
1844 | 1854 |
| |
| 1855 | + | |
| 1856 | + | |
1845 | 1857 |
| |
1846 | 1858 |
| |
1847 | 1859 |
| |
|
0 commit comments
Comments
(0)