mirror of
https://github.com/abseil/abseil-cpp.git
synced 2026-06-04 12:07:05 +08:00
CRC: Fix unused variable warnings in no-op implementation
PiperOrigin-RevId: 919072538 Change-Id: Id927ef7e9d17dc9f5e83ca12a23851c2fcf60aad
This commit is contained in:
committed by
Copybara-Service
parent
c7269872a5
commit
e7e7b016aa
@@ -413,12 +413,11 @@ class CRC32AcceleratedX86ARMCombinedMultipleStreamsBase
|
||||
}
|
||||
#else
|
||||
template <typename T = V256>
|
||||
ABSL_ATTRIBUTE_ALWAYS_INLINE void Process64BytesVpclmul(
|
||||
const uint8_t* p, T* vpartialCRC, T loopMultiplicands) const {
|
||||
ABSL_ATTRIBUTE_ALWAYS_INLINE void Process64BytesVpclmul(const uint8_t*, T*,
|
||||
T) const {
|
||||
static_assert(sizeof(T) == 0, "Vector PCLMUL not supported");
|
||||
}
|
||||
ABSL_ATTRIBUTE_ALWAYS_INLINE uint64_t
|
||||
FinalizeVpclmulStream(V256* partialCRC) const {
|
||||
ABSL_ATTRIBUTE_ALWAYS_INLINE uint64_t FinalizeVpclmulStream(V256*) const {
|
||||
return 0;
|
||||
}
|
||||
#endif // defined(ABSL_CRC_INTERNAL_HAVE_X86_SIMD) && defined(__AVX__)
|
||||
|
||||
Reference in New Issue
Block a user