Skip to content

libdivide-1.1

Compare
Choose a tag to compare
@kimwalisch kimwalisch released this 29 May 16:51
· 188 commits to master since this release

This release fixes 2 non critical bugs and silences a few compiler warnings. The generation of libdivide divisors has been sped up for MSVC on x64 and for GCC/Clang on 64-bit CPU architectures other than x64. I have also done some general code clean ups, below is the compete changelog:

  • BUG FIXES
    • Fix bug in libdivide_128_div_64_to_64() (#45)
    • Fix MSVC ARM 64-bit bug (07931e9)
    • Fix -Wshift-count-overflow warning on avr CPU architecture (#41)
    • Fix -Wshadow warning in libdivide_s32_do()
    • Fix -Wignored-attributes warnings when compiling SSE2 code using GCC 9
  • ENHANCEMENT
    • libdivide_128_div_64_to_64(): optimize using _udiv128() for MSVC 2019 or later
    • libdivide_128_div_64_to_64(): optimize using __uint128_t for GCC/Clang on 64-bit CPU architectures
    • Add LIBDIVIDE_VERSION macro to libdivide.h
    • Clean up SSE2 code in libdivide.h
    • Increase runtime of test cases in primes_benchmark.cpp
  • BUILD
    • Remove windows directory with legacy Visual Studio project files
    • Move test programs to test directory