Commit Graph

80 Commits (f78667bd910ed5af90d927bbef30b181bc798ef7)

Author SHA1 Message Date
Nathan Bossart f78667bd91 Use __attribute__((target(...))) for AVX-512 support. 8 months ago
Nathan Bossart 792752af4e Optimize pg_popcount() with AVX-512 instructions. 1 year ago
Heikki Linnakangas 0b16bb8776 Remove AIX support 1 year ago
John Naylor 4d14ccd6af Use native CRC instructions on 64-bit LoongArch 2 years ago
Andres Freund 9db49fc5bf autoconf: Move export_dynamic determination to configure 3 years ago
Andres Freund e0f0e08e17 autoconf: Unify CFLAGS_SSE42 and CFLAGS_ARMV8_CRC32C 3 years ago
Michael Paquier ec3c9cc202 Add definition pg_attribute_aligned() for MSVC 3 years ago
Andres Freund 320f92b744 Rely on __func__ being supported 3 years ago
Tom Lane de447bb8e6 Suppress warning about stack_base_ptr with late-model GCC. 3 years ago
Tom Lane 748507c780 Sync up some inconsistent comments in config/c-compiler.m4. 5 years ago
Tom Lane f4d59369d2 Assume that we have signed integral types and flexible array members. 5 years ago
Tom Lane 02a6a54ecd Make use of compiler builtins and/or assembly for CLZ, CTZ, POPCNT. 6 years ago
Alvaro Herrera 457aef0f1f Revert attempts to use POPCNT etc instructions 6 years ago
Alvaro Herrera fc6c72747a Fix compiler builtin usage in new pg_bitutils.c 6 years ago
Alvaro Herrera 109de05cbb Fix portability issues in pg_bitutils 6 years ago
Alvaro Herrera 711bab1e4d Add basic support for using the POPCNT and SSE4.2s LZCNT opcodes 6 years ago
Tom Lane aed9fa0bd8 Select appropriate PG_PRINTF_ATTRIBUTE for recent NetBSD. 7 years ago
Tom Lane 96bf88d527 Always use our own versions of *printf(). 7 years ago
Andres Freund 8ecdefc261 Remove test for VA_ARGS, implied by C99. 7 years ago
Tom Lane 46b5e7c4b5 Revert "Distinguish printf-like functions that support %m from those that don't." 7 years ago
Tom Lane 3a60c8ff89 Distinguish printf-like functions that support %m from those that don't. 7 years ago
Peter Eisentraut 1486f7f981 Fix typos 7 years ago
Peter Eisentraut f61988d160 Fix typo 7 years ago
Heikki Linnakangas f044d71e33 Use ARMv8 CRC instructions where available. 7 years ago
Andres Freund 6869b4f258 Add C++ support to configure. 7 years ago
Andres Freund 3de04e4ed1 Add PGAC_PROG_VARCC_VARFLAGS_OPT autoconf macro. 7 years ago
Tom Lane 2082b3745a Extend configure's __int128 test to check for a known gcc bug. 8 years ago
Tom Lane c6d21d56f1 Try harder to detect unavailability of __builtin_mul_overflow(int64). 8 years ago
Andres Freund c04d35f442 Try to detect runtime unavailability of __builtin_mul_overflow(int64). 8 years ago
Tom Lane 9220b00e57 Tighten configure's test for __builtin_constant_p(). 8 years ago
Andres Freund 85abb5b297 Make PGAC_C_BUILTIN_OP_OVERFLOW link instead of just compiling. 8 years ago
Andres Freund 4d6ad31257 Provide overflow safe integer math inline functions. 8 years ago
Tom Lane 7518049980 Prevent int128 from requiring more than MAXALIGN alignment. 8 years ago
Andres Freund 510b8cbff1 Extend & revamp pg_bswap.h infrastructure. 8 years ago
Peter Eisentraut ddce628971 Fix configure check for typeof 8 years ago
Peter Eisentraut 4cb824699e Cast result of copyObject() to correct type 8 years ago
Tom Lane bc18126a6b Add configure test to see if the C compiler has gcc-style computed gotos. 8 years ago
Peter Eisentraut 1c0cf52b39 Use return instead of exit() in configure 9 years ago
Noah Misch 4ad6f13500 Copyedit comments and documentation. 9 years ago
Robert Haas c171818b27 Add BSWAP64 macro. 10 years ago
Andres Freund 6cf72879e9 Improve configure test for the sse4.2 crc instruction. 10 years ago
Andres Freund de6fd1c898 Rely on inline functions even if that causes warnings in older compilers. 10 years ago
Heikki Linnakangas a2edb023d0 Replace obsolete autoconf macros with their modern replacements. 10 years ago
Heikki Linnakangas 936546dcbc Optimize pg_comp_crc32c_sse42 routine slightly, and also use it on x86. 10 years ago
Heikki Linnakangas 3dc2d62d04 Use Intel SSE 4.2 CRC instructions where available. 10 years ago
Andres Freund 8122e1437e Add, optional, support for 128bit integers. 10 years ago
Heikki Linnakangas 025c02420d Speed up CRC calculation using slicing-by-8 algorithm. 11 years ago
Noah Misch b779168ffe Detect PG_PRINTF_ATTRIBUTE automatically. 11 years ago
Andres Freund b64d92f1a5 Add a basic atomic ops API abstracting away platform/architecture details. 11 years ago
Tom Lane 4c8aa8b5ae Fix "quiet inline" configure test for newer clang compilers. 11 years ago