More gcovr exclusions for function multi-versioning
All checks were successful
Tests / Clang total: 1479, passed: 1479
Clang |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |0|0|0|0|:clap:
Tests / Debug total: 1477, passed: 1477
Tests / SIMD fallback total: 1479, passed: 1479
Tests / Release [gcc] total: 1479, passed: 1479
GNU C Compiler (gcc) |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |0|0|0|0|:clap:
Tests / Release [gcc,aarch64] total: 1102, passed: 1102
Tests / Coverage total: 1111, passed: 1111
Code Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 99.60% (1741/1748) * Branch Coverage: 64.42% (1512/2347) * Complexity Density: 0.00 * Lines of Code: 1748 #### Quality Gates Summary Output truncated.
weaselab/conflict-set/pipeline/head This commit looks good

This commit is contained in:
2024-08-01 15:53:38 -07:00
parent 561ed45e3e
commit 7351b6e417

View File

@@ -2118,9 +2118,9 @@ scan16(const InternalVersionT *vs, int begin, int end, // GCOVR_EXCL_LINE
#elif defined(HAS_AVX)
uint32_t conflict;
if constexpr (kAVX512) {
conflict = compare16_32bit_avx512(vs, readVersion);
conflict = compare16_32bit_avx512(vs, readVersion); // GCOVR_EXCL_LINE
} else {
conflict = compare16_32bit(vs, readVersion);
conflict = compare16_32bit(vs, readVersion); // GCOVR_EXCL_LINE
}
conflict &= (1 << end) - 1;
conflict >>= begin;
@@ -2254,9 +2254,12 @@ bool checkMaxBetweenExclusive(Node *n, int begin, int end,
uint32_t compared = 0;
if constexpr (kAVX512) {
compared = compare16_32bit_avx512(self->childMaxVersion, readVersion);
compared = // GCOVR_EXCL_LINE
compare16_32bit_avx512(self->childMaxVersion, // GCOVR_EXCL_LINE
readVersion); // GCOVR_EXCL_LINE
} else {
compared = compare16_32bit(self->childMaxVersion, readVersion);
compared = compare16_32bit(self->childMaxVersion,
readVersion); // GCOVR_EXCL_LINE
}
return !(compared & mask) && firstRangeOk;
@@ -2846,6 +2849,9 @@ bool checkRangeRead(Node *n, std::span<const uint8_t> begin,
return checkRangeReadImpl<false>(n, begin, end, readVersion, tls);
}
#else
// Only one of these is ever exercised. I'm not worried about somehow not
// calling one of these though.
// GCOVR_EXCL_START
__attribute__((target("default"))) bool
checkRangeRead(Node *n, std::span<const uint8_t> begin,
std::span<const uint8_t> end, InternalVersionT readVersion,
@@ -2858,6 +2864,7 @@ checkRangeRead(Node *n, std::span<const uint8_t> begin,
ReadContext *tls) {
return checkRangeReadImpl<true>(n, begin, end, readVersion, tls);
}
// GCOVR_EXCL_STOP
#endif
// Returns a pointer to the newly inserted node. Caller must set