- bug fix

This commit is contained in:
Ilya Shurumov 2021-03-02 00:43:15 +06:00
parent 81de80878f
commit d9f17077a5

View File

@ -57,10 +57,11 @@ unsigned int gte_leadingzerocount(unsigned int lzcs)
}
return lzcr;
#endif
if (!lzcs)
return 32;
#endif
// perform fast bit scan
unsigned int lzcr = lzcs;