Commit Graph

91 Commits (17f446784d54da827f74c2acc0fa772a41b92354)

Author SHA1 Message Date
Peter Eisentraut 17f446784d Refactor static_assert() support. 2 days ago
Tom Lane 0909380e4c Allow PG_PRINTF_ATTRIBUTE to be different in C and C++ code. 6 days ago
Peter Eisentraut 25f36066dd Remove traces of support for Sun Studio compiler 3 months ago
Tom Lane ccd5bc93fd Include _mm512_zextsi128_si512() in AVX-512 configure probes. 6 months ago
John Naylor 3c6e8c1238 Compute CRC32C using AVX-512 instructions where available 8 months ago
Nathan Bossart 519338ace4 Optimize popcount functions with ARM SVE intrinsics. 9 months ago
Tom Lane fdb5dd6331 Be more paranoid in configure's checks for CRC and POPCNT intrinsics. 9 months ago
Peter Eisentraut 9a8313dabe Remove useless configure check 12 months ago
Thomas Munro 962da900ac Use <stdint.h> and <inttypes.h> for c.h integers. 1 year ago
Nathan Bossart 4b03a27faf Use __attribute__((target(...))) for SSE4.2 CRC-32C support. 1 year ago
Nathan Bossart 41b98ddb77 Fix __attribute__((target(...))) usage. 1 year ago
Nathan Bossart f78667bd91 Use __attribute__((target(...))) for AVX-512 support. 1 year ago
Nathan Bossart 792752af4e Optimize pg_popcount() with AVX-512 instructions. 2 years ago
Heikki Linnakangas 0b16bb8776 Remove AIX support 2 years 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. 4 years ago
Tom Lane 748507c780 Sync up some inconsistent comments in config/c-compiler.m4. 6 years ago
Tom Lane f4d59369d2 Assume that we have signed integral types and flexible array members. 6 years ago
Tom Lane 02a6a54ecd Make use of compiler builtins and/or assembly for CLZ, CTZ, POPCNT. 7 years ago
Alvaro Herrera 457aef0f1f Revert attempts to use POPCNT etc instructions 7 years ago
Alvaro Herrera fc6c72747a Fix compiler builtin usage in new pg_bitutils.c 7 years ago
Alvaro Herrera 109de05cbb Fix portability issues in pg_bitutils 7 years ago
Alvaro Herrera 711bab1e4d Add basic support for using the POPCNT and SSE4.2s LZCNT opcodes 7 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 8 years ago
Peter Eisentraut f61988d160 Fix typo 8 years ago
Heikki Linnakangas f044d71e33 Use ARMv8 CRC instructions where available. 8 years ago
Andres Freund 6869b4f258 Add C++ support to configure. 8 years ago
Andres Freund 3de04e4ed1 Add PGAC_PROG_VARCC_VARFLAGS_OPT autoconf macro. 8 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 9 years ago
Peter Eisentraut 4cb824699e Cast result of copyObject() to correct type 9 years ago
Tom Lane bc18126a6b Add configure test to see if the C compiler has gcc-style computed gotos. 9 years ago
Peter Eisentraut 1c0cf52b39 Use return instead of exit() in configure 9 years ago
Noah Misch 4ad6f13500 Copyedit comments and documentation. 10 years ago