Only exclude avx512-targeted functions from coverage
Some checks failed
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
weaselab/conflict-set/pipeline/head There was a failure building this commit

This commit is contained in:
2024-08-02 20:53:30 -07:00
parent abce4591d0
commit 493a6572ad

View File

@@ -1673,6 +1673,8 @@ int firstNeqStride(const uint8_t *ap, const uint8_t *bp) {
#endif
}
// This gets covered in local development
// GCOVR_EXCL_START
#if defined(HAS_AVX) && !defined(__SANITIZE_THREAD__)
__attribute__((target("avx512bw"))) int
longestCommonPrefix(const uint8_t *ap, const uint8_t *bp, int cl) {
@@ -1699,6 +1701,7 @@ longestCommonPrefix(const uint8_t *ap, const uint8_t *bp, int cl) {
}
__attribute__((target("default")))
#endif
// GCOVR_EXCL_STOP
int longestCommonPrefix(const uint8_t *ap, const uint8_t *bp, int cl) {
assume(cl >= 0);
@@ -1941,9 +1944,6 @@ downLeftSpine:
return n->entry.rangeVersion <= readVersion;
}
// Only one of these is ever exercised. I'm not worried about somehow not
// calling one of these though.
// GCOVR_EXCL_START
#ifdef HAS_AVX
uint32_t compare16_32bit(const InternalVersionT *vs, InternalVersionT rv) {
uint32_t compared = 0;
@@ -1961,6 +1961,8 @@ uint32_t compare16_32bit(const InternalVersionT *vs, InternalVersionT rv) {
return compared;
}
// This gets covered in local development
// GCOVR_EXCL_START
__attribute__((target("avx512f"))) uint32_t
compare16_32bit_avx512(const InternalVersionT *vs, InternalVersionT rv) {
uint32_t r;