From be1c60c74f75968bc8a57b21489ca9be0475191b Mon Sep 17 00:00:00 2001 From: gibbed Date: Tue, 12 May 2015 00:48:39 -0500 Subject: [PATCH] Disabled lzcnt intrinsic usage for now. --- src/xenia/base/math.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xenia/base/math.h b/src/xenia/base/math.h index 4288a7be4..3c3bcda6f 100644 --- a/src/xenia/base/math.h +++ b/src/xenia/base/math.h @@ -61,7 +61,8 @@ T next_pow2(T value) { // return value is the size of the input operand (8, 16, 32, or 64). If the most // significant bit of value is one, the return value is zero. #if XE_COMPILER_MSVC -#if 1 +// TODO(benvanik): runtime magic so these point to an appropriate implementation at runtime based on CPU features +#if 0 inline uint8_t lzcnt(uint8_t v) { return static_cast(__lzcnt16(v) - 8); }