• Home
  • Raw
  • Download

Lines Matching +full:dynamic +full:- +full:bmi2

5  * This source code is licensed under both the BSD-style license (found in the
8 * You may select, at your option, one of the above-listed licenses.
18 /*-*******************************************************
74 * gcc-4.8 and gcc-4.9 have been shown to benefit from leaving off the
126 /* Target attribute for BMI2 dynamic dispatch.
127 * Enable lzcnt, bmi, and bmi2.
128 * We test for bmi1 & bmi2. lzcnt is included in bmi1.
130 #define BMI2_TARGET_ATTRIBUTE TARGET_ATTRIBUTE("lzcnt,bmi,bmi2")
139 # include <mmintrin.h> /* https://msdn.microsoft.com/fr-fr/library/84szxsww(v=vs.90).aspx */
167 * older GCC (pre gcc-4.3 picked as the cutoff) uses a different syntax,
171 # define DONT_VECTORIZE __attribute__((optimize("no-tree-vectorize")))
173 # define DONT_VECTORIZE _Pragma("GCC optimize(\"no-tree-vectorize\")")
203 # pragma warning(disable : 4204) /* disable: C4204: non-constant aggregate initializer */
204 # pragma warning(disable : 4214) /* disable: C4214: non-int bitfields */
208 /*Like DYNAMIC_BMI2 but for compile time determination of BMI2 support*/
211 … ifdef __AVX2__ //MSVC does not have a BMI2 specific flag, but every CPU that supports AVX2 also…
239 /* C-language Attributes are added in C23. */
256 * - C23: https://en.cppreference.com/w/c/language/attributes/fallthrough
257 * - CPP17: https://en.cppreference.com/w/cpp/language/attributes/fallthrough
258 * - Else: __attribute__((__fallthrough__))
266 /* Leading semicolon is to satisfy gcc-11 with -pedantic. Without the semicolon
275 /*-**************************************************************
298 /* No known support for alignof() - imperfect backup */
304 /*-**************************************************************
315 /* gcc < 8 only has signed-integer-overlow which triggers on pointer overflow */
316 # define ZSTD_ALLOW_POINTER_OVERFLOW_ATTR __attribute__((no_sanitize("signed-integer-overflow"…
318 /* older versions of clang [3.7, 5.0) will warn that pointer-overflow is ignored. */
319 # define ZSTD_ALLOW_POINTER_OVERFLOW_ATTR __attribute__((no_sanitize("pointer-overflow")))
330 * @returns lhs - rhs with wrapping
336 return lhs - rhs; in ZSTD_wrappedPtrDiff()
355 * @return ptr - sub with wrapping
361 return ptr - sub; in ZSTD_wrappedPtrSub()
376 /* Issue #3240 reports an ASAN failure on an llvm-mingw build. Out of an
404 memory range, or -1 if the whole range is good. */
407 /* Print shadow and origin for the memory range to stderr in a human-readable
423 * unpoisoned. This function is not guaranteed to poison the entire region -
427 * \note This function is not thread-safe because no two threads can poison or
439 * This function could unpoison a super-region of <c>[addr, addr+size)</c> due
442 * \note This function is not thread-safe because no two threads can