About Social Code
aboutsummaryrefslogtreecommitdiff
path: root/src/util/macros.h
AgeCommit message (Expand)Author
2025-10-24util: require typeof supportAlyssa Rosenzweig
2025-10-10util/macros: coerce likely/unlikely to bool even without __builtin_expectOlivia Lee
2025-09-26util/macros: Add ATTRIBUTE_COLDMel Henning
2025-09-16util: add util_bit_swap macroAlyssa Rosenzweig
2025-09-05util: move typed_memcpy into macros.hKarol Herbst
2025-08-22util: Remove the __declspec(dllexport) on win32 for PUBLIC export macroYonggang Luo
2025-08-21meson: check for no_sanitize function attributesJuan A. Suarez Romero
2025-08-11util: SWAP macro implementation for older MSVC versionsAleksi Sapon
2025-07-31util: avoid calling UNREACHABLE(str) macro without argumentsAntonio Ospite
2025-07-31build: avoid redefining unreachable() which is standard in C23Antonio Ospite
2025-07-22util: make SWAP safe for MSVCAlyssa Rosenzweig
2025-07-21util: crib SWAP macro from freedrenoAlyssa Rosenzweig
2025-05-09util: Remove unused USED macroAdam Jackson
2025-04-11clc,libcl: Clean up CL includesKonstantin Seurer
2024-08-13util: Add ATTRIBUTE_OPTIMIZE(flags)Matt Turner
2024-01-11util: Add function util_is_power_of_two_nonzero_uintptr and macro IS_POT_NONZEROYonggang Luo
2023-10-18util: improve BITFIELD_MASK and BITFIELD64_MASK on clangChia-I Wu
2023-10-09util: Deduplicate macros between u_math.h and macros.hYonggang Luo
2023-09-21Revert "util: Add NONNULL macro"Roman Stratiienko
2023-08-12util: Add NONNULL macroRoman Stratiienko
2023-06-21util: reinstate ENUM_PACKEDMichel Zou
2023-06-01util: Use the gcc_struct attribute for packed structures in mingwCorentin Noël
2023-04-18util: enforce unreachable()'s argument being a literal stringEric Engestrom
2023-03-02util: add macro to support gcc/clang poisonMark Janes
2023-02-18haiku: fix buildX512
2023-01-19util: Add #ifdefs for Xbox GDK support.Caleb Cornett
2023-01-04util: Drop the ENUM_PACKED macroJason Ekstrand
2022-11-24util: Rename PIPE_CDECL to UTIL_CDECL and moved into util/macros.hYonggang Luo
2022-11-24util: Move EXCLUSIVE_CACHELINE and CACHE_LINE_SIZE macros into u_memory.hYonggang Luo
2022-11-22util: Remove EXPLICIT_CONVERSION macro and use c++11 explicit directlyYonggang Luo
2022-11-17meson: Enable initialized-but-unused warning for MSVCJesse Natalie
2022-11-15util: Add common CONCAT/PASTE macrosMatt Coster
2022-11-10util: Replace the usage of ALIGN16 with alignas(16) and them remove ALIGN16 m...Yonggang Luo
2022-09-08util: avoid deprecated builtin has_trivial_destructorThomas H.P. Andersen
2022-09-03util: Include stddef.h in util/macros.hMatt Coster
2022-08-12util: Disable usage of __attribute__((__const__)) when the compiler is clangYonggang Luo
2022-07-29util: define helpful macros for compiler diagnostic featuresMark Janes
2022-06-14util: use c11 alignas instead of rolling our ownErik Faye-Lund
2022-06-14util: use c11 alignof instead of our ownErik Faye-Lund
2022-06-03util: implement STATIC_ASSERT using c++11 / c11 primitivesErik Faye-Lund
2022-06-03util: use static_assert directlyErik Faye-Lund
2022-06-03util: add IS_POT macroErik Faye-Lund
2022-06-02include: drop c11_compat.hErik Faye-Lund
2022-06-02util: remove needless c99_compat.h includesErik Faye-Lund
2022-05-23nir: Fixes MSVC compiling error about unused variable `_`Yonggang Luo
2022-04-01util: Getting u_debug.h not depends on pipe/*Yonggang Luo
2022-04-01util: Rename PIPE_DEBUG_TYPE to UTIL_DEBUG_TYPEYonggang Luo
2022-04-01util: Rename pipe_debug_type to util_debug_typeYonggang Luo
2021-10-13util,gallium: put count in pipe_resource & sampler_view on its own cache lineMarek Olšák
2021-08-24gallium: use a packed enum to make pipe_prim_mode 1-byte large with __GNUC__Marek Olšák