| Summary: | [PATCH] Implement SDL_MostSignificantBitIndex32 with MSVC intrinsics | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Cameron Gutman <cameron.gutman> |
| Component: | *don't know* | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | HG 2.0 | ||
| Hardware: | All | ||
| OS: | Windows 10 | ||
| Attachments: | Patch | ||
Patch added, thanks! https://hg.libsdl.org/SDL/rev/2dd9827ac682 |
Created attachment 4636 [details] Patch MSVC provides a _BitScanReverse() intrinsic that we can use to implement SDL_MostSignificantBitIndex32().