You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If build with AVX2 instruction set, MSVC has dozens of C4244 warnings: warning C4244: 'return': conversion from 'unsigned __int64' to 'unsigned int', possible loss of data
IMO no need, these codes will not be changed for a long time.
Maybe refactor the architecture-related code into one file, such as clz/ctz/memcpy_16bytes code, this is handy for porting to new architecture.
PR #2831 tried to refactor clz/ctz code, it removes some similar code that spread everywhere.
If build with AVX2 instruction set, MSVC has dozens of C4244 warnings:
warning C4244: 'return': conversion from 'unsigned __int64' to 'unsigned int', possible loss of data
Adding
(unsinged)
before_tzcnt_u64(val)
should fixes this issue.The text was updated successfully, but these errors were encountered: