Compare commits
2 Commits
1d9e8ab68b
...
v0.0.10
Author | SHA1 | Date | |
---|---|---|---|
c20c08f112 | |||
ac98d4a443 |
@@ -2104,13 +2104,9 @@ bool scan16(const InternalVersionT *vs, const uint8_t *is, int begin, int end,
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Returns true if v[i] <= readVersion for all i such that begin <= i < end
|
// Returns true if v[i] <= readVersion for all i such that begin <= i < end
|
||||||
//
|
|
||||||
// always_inline So that we can optimize when begin or end is a constant.
|
|
||||||
// gcovr exclude annotation necessary because of always_inline?
|
|
||||||
template <bool kAVX512>
|
template <bool kAVX512>
|
||||||
inline __attribute__((always_inline)) bool
|
bool scan16(const InternalVersionT *vs, int begin, int end,
|
||||||
scan16(const InternalVersionT *vs, int begin, int end, // GCOVR_EXCL_LINE
|
InternalVersionT readVersion) {
|
||||||
InternalVersionT readVersion) { // GCOVR_EXCL_LINE
|
|
||||||
assert(0 <= begin && begin < 16);
|
assert(0 <= begin && begin < 16);
|
||||||
assert(0 <= end && end <= 16);
|
assert(0 <= end && end <= 16);
|
||||||
assert(begin <= end);
|
assert(begin <= end);
|
||||||
@@ -2873,7 +2869,7 @@ bool checkRangeRead(Node *n, std::span<const uint8_t> begin,
|
|||||||
template __attribute__((target("avx512f"))) bool
|
template __attribute__((target("avx512f"))) bool
|
||||||
scan16<true>(const InternalVersionT *vs, const uint8_t *is, int begin, int end,
|
scan16<true>(const InternalVersionT *vs, const uint8_t *is, int begin, int end,
|
||||||
InternalVersionT readVersion);
|
InternalVersionT readVersion);
|
||||||
template __attribute__((always_inline, target("avx512f"))) bool
|
template __attribute__((target("avx512f"))) bool
|
||||||
scan16<true>(const InternalVersionT *vs, int begin, int end,
|
scan16<true>(const InternalVersionT *vs, int begin, int end,
|
||||||
InternalVersionT readVersion);
|
InternalVersionT readVersion);
|
||||||
template __attribute__((target("avx512f"))) bool
|
template __attribute__((target("avx512f"))) bool
|
||||||
|
@@ -8,7 +8,7 @@ SRC_DIR="${0%/*}"
|
|||||||
BUILD_ARM="$(mktemp -d -t conflict-set-arm)"
|
BUILD_ARM="$(mktemp -d -t conflict-set-arm)"
|
||||||
BUILD_X86="$(mktemp -d -t conflict-set-x86)"
|
BUILD_X86="$(mktemp -d -t conflict-set-x86)"
|
||||||
|
|
||||||
cmake_args=(-DCMAKE_CXX_FLAGS=-DNVALGRIND -DCPACK_PACKAGING_INSTALL_PREFIX=/usr/local)
|
cmake_args=(-DCMAKE_CXX_FLAGS=-DNVALGRIND -DCMAKE_CXX_COMPILER=/opt/homebrew/opt/llvm/bin/clang++ -DCPACK_PACKAGING_INSTALL_PREFIX=/usr/local)
|
||||||
|
|
||||||
cmake -S"$SRC_DIR" -B"$BUILD_ARM" -DCMAKE_OSX_ARCHITECTURES=arm64 "${cmake_args[@]}"
|
cmake -S"$SRC_DIR" -B"$BUILD_ARM" -DCMAKE_OSX_ARCHITECTURES=arm64 "${cmake_args[@]}"
|
||||||
cmake --build "$BUILD_ARM" --target conflict-set --target conflict-set-static
|
cmake --build "$BUILD_ARM" --target conflict-set --target conflict-set-static
|
||||||
|
Reference in New Issue
Block a user