Searched defs:MDFN_log2 (Results 1 – 2 of 2) sorted by relevance
211 static INLINE unsigned MDFN_log2(uint32 v) { return 31 ^ MDFN_lzcount32_0UD(v | 1); } in MDFN_log2() function212 static INLINE unsigned MDFN_log2(uint64 v) { return 63 ^ MDFN_lzcount64_0UD(v | 1); } in MDFN_log2() function214 static INLINE unsigned MDFN_log2(int32 v) { return MDFN_log2((uint32)v); } in MDFN_log2() function215 static INLINE unsigned MDFN_log2(int64 v) { return MDFN_log2((uint64)v); } in MDFN_log2() function
214 static INLINE unsigned MDFN_log2(uint32 v) { return 31 ^ MDFN_lzcount32_0UD(v | 1); } in MDFN_log2() function215 static INLINE unsigned MDFN_log2(uint64 v) { return 63 ^ MDFN_lzcount64_0UD(v | 1); } in MDFN_log2() function217 static INLINE unsigned MDFN_log2(int32 v) { return MDFN_log2((uint32)v); } in MDFN_log2() function218 static INLINE unsigned MDFN_log2(int64 v) { return MDFN_log2((uint64)v); } in MDFN_log2() function