File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -3439,11 +3439,6 @@ uint32_t BitOperations::Log2(uint64_t value)
3439
3439
// Return Value:
3440
3440
// The population count (number of bits set) of value
3441
3441
//
3442
- #if defined(_MSC_VER)
3443
- // Disable optimizations for PopCount to avoid the compiler from generating intrinsics
3444
- // not supported on all platforms.
3445
- #pragma optimize("", off)
3446
- #endif // _MSC_VER
3447
3442
uint32_t BitOperations::PopCount (uint32_t value)
3448
3443
{
3449
3444
#if defined(_MSC_VER)
@@ -3496,9 +3491,6 @@ uint32_t BitOperations::PopCount(uint64_t value)
3496
3491
return static_cast <uint32_t >(result);
3497
3492
#endif
3498
3493
}
3499
- #if defined(_MSC_VER)
3500
- #pragma optimize("", on)
3501
- #endif // _MSC_VER
3502
3494
3503
3495
// ------------------------------------------------------------------------
3504
3496
// BitOperations::ReverseBits: Reverses the bits in an integer value
You can’t perform that action at this time.
0 commit comments