1. 24 Oct, 2017 2 commits
    • Victor Stinner's avatar
      bpo-31810: Add smelly.py to check exported symbols (#4057) · 87d332dc
      Victor Stinner authored
      * Add Tools/scripts/smelly.py: script checking if all symbols
        exported by libpython start with "Py" or "_Py".
      * Modify "make smelly" to run smelly.py: the command now fails with a
        non-zero exit code if libpython leaks a "smelly" symbol.
      * Travis CI now runs "make smelly"
      87d332dc
    • Michał Górny's avatar
      fixes bpo-31834: Use optimized code for BLAKE2 only with SSSE3+ (#4066) · 1aa00ff3
      Michał Górny authored
      Rework the code choosing BLAKE2 code paths from using the optimized
      variant on all x86_64 machines to using it when SSSE3 or better
      supported instructions sets are available.
      
      Firstly, this solves the problem of using pure SSE2 code path on x86_64
      machines. As reported in the bug, this code is slower than the reference
      code on all tested x86_64 machines. Furthermore, on Athlon64 that lacks
      SSSE3, it is even 2.5 times slower than the reference code! Checking
      for SSSE3 therefore ensures that the optimized implementation will only
      be used when it has a chance of performing better.
      
      Secondly, this makes it possible to use SSSE3+ optimizations on 32-bit
      x86 systems. This allows for even 2 times speed gain on modern 32-bit
      x86 systems (tested in a 32-bit chroot).
      1aa00ff3
  2. 23 Oct, 2017 6 commits
  3. 22 Oct, 2017 6 commits
  4. 21 Oct, 2017 1 commit
  5. 20 Oct, 2017 2 commits
  6. 19 Oct, 2017 7 commits
  7. 18 Oct, 2017 3 commits
  8. 17 Oct, 2017 11 commits
  9. 16 Oct, 2017 2 commits