search for: bitscanreverse

Displaying 3 results from an estimated 3 matches for "bitscanreverse".

Did you mean: _bitscanreverse
2013 Sep 04
4
PATCH: bugfixes for bitmath.h
More or less detailed explanation of this patch. 1. The first parameter of _BitScanReverse() and _BitScanReverse64() is a pointer to unsigned long (4-byte int). However _BitScanReverse64() is called with a pointer to FLAC__uint64 (8-byte int). IMHO it's a bug and this patch changes the type of idx variable inside FLAC__bitmath_ilog2_wide() from FLAC__uint64 to unsigned long. The typ...
2013 Sep 08
0
PATCH: bugfixes for bitmath.h
lvqcl wrote: > More or less detailed explanation of this patch. I've applied part of that patch. > 1. The first parameter of _BitScanReverse() and _BitScanReverse64() is > a pointer to unsigned long (4-byte int). On windows, yes, unsigned long is 4 bytes for both 32 and 64 bit versions. This is not true for most Unices. > However _BitScanReverse64() is called with a pointer to FLAC__uint64 > (8-byte int). IMHO it's a bug...
2020 Jun 19
0
Wine release 5.11
.... wined3d: Get rid of the special format handling in wined3d_check_depth_stencil_format(). Huw D. M. Davies (2): gdi32: Move the scan conversion to a helper function. oleaut32: Return early if there is no matching funcdesc. Jacek Caban (29): winnt.h: Add BitScanForward and BitScanReverse implementation. ntdll: Reimplement _aulldiv using 32-bit arithmetic. ntdll: Reimplement _aullrem using 32-bit arithmetic. ntdll: Reimplement _alldiv using 32-bit arithmetic. ntdll: Reimplement _allrem using 32-bit arithmetic. ntdll: Reimplement _allmul using 32-bit ari...