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)
34393439// Return Value:
34403440// The population count (number of bits set) of value
34413441//
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
34473442uint32_t BitOperations::PopCount (uint32_t value)
34483443{
34493444#if defined(_MSC_VER)
@@ -3496,9 +3491,6 @@ uint32_t BitOperations::PopCount(uint64_t value)
34963491 return static_cast <uint32_t >(result);
34973492#endif
34983493}
3499- #if defined(_MSC_VER)
3500- #pragma optimize("", on)
3501- #endif // _MSC_VER
35023494
35033495// ------------------------------------------------------------------------
35043496// BitOperations::ReverseBits: Reverses the bits in an integer value
You can’t perform that action at this time.
0 commit comments