From 10e6939c901589a75c853f0e7e29d25e4fdaaca3 Mon Sep 17 00:00:00 2001 From: HonestDeng <2958906959@qq.com> Date: Fri, 8 Sep 2023 15:15:37 +0800 Subject: [PATCH] delelte an unused function --- src/simplemath.cpp | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/simplemath.cpp b/src/simplemath.cpp index 09536d9d1b0b..46fb20a0db00 100644 --- a/src/simplemath.cpp +++ b/src/simplemath.cpp @@ -673,21 +673,6 @@ float erfcf(float x) * ==================================================== */ -int msb(unsigned int v) -{ - static const int pos[32] = {0, 1, 28, 2, 29, 14, 24, 3, - 30, 22, 20, 15, 25, 17, 4, 8, 31, 27, 13, 23, 21, 19, - 16, 7, 26, 12, 18, 6, 11, 5, 10, 9 - }; - v |= v >> 1; - v |= v >> 2; - v |= v >> 4; - v |= v >> 8; - v |= v >> 16; - v = (v >> 1) + 1; - return pos[(v * 0x077CB531UL) >> 27]; -} - float fmaf(float x, float y, float z) { float tmp = x * y;