[linux-kernel] Add test that checks the ifdef hardwiring

This commit is contained in:
Nick Terrell committed 2020-09-09 14:36:19 -07:00
1 parent 29c5de8780
commit aab4bf7b0d
4 files changed
+47 -2

No files matched your search

+1 -1
View File
@@ -337,7 +337,7 @@ MEM_STATIC FORCE_INLINE_ATTR size_t BIT_getMiddleBits(size_t bitContainer, U32 c
MEM_STATIC FORCE_INLINE_ATTR size_t BIT_getLowerBits(size_t bitContainer, U32 const nbBits)
{
#if STATIC_BMI2
#if defined(STATIC_BMI2) && STATIC_BMI2 == 1
return _bzhi_u64(bitContainer, nbBits);
#else
assert(nbBits < BIT_MASK_SIZE);