This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author benjamin.peterson
Recipients benjamin.peterson, christian.heimes, mgorny, vstinner
Date 2017-10-24.14:34:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In-reply-to <>
On Tue, Oct 24, 2017, at 00:25, Christian Heimes wrote:
> Christian Heimes <> added the comment:
> I'm pretty sure that your PR has disabled all SSE optimizations. AFAIK
> gcc does not enable SSE3 and SSE4 on X86_64 by default.
> $ gcc -dM -E - < /dev/null | grep SSE
> #define __SSE2_MATH__ 1
> #define __SSE_MATH__ 1
> #define __SSE2__ 1
> #define __SSE__ 1

Before this patch, this would cause blake2b.c to use slow SSE2 only
instruction, though, right?

It seems to me this represents an improvement or the status quo in all
cases. With no extra GCC flags, the reference implementation is used
rather than a slow SSE2 implementation. If extra -m flags are in CFLAGS,
the fastest implementation for the target is used.
Date User Action Args
2017-10-24 14:34:25benjamin.petersonsetrecipients: + benjamin.peterson, vstinner, christian.heimes, mgorny
2017-10-24 14:34:24benjamin.petersonlinkissue31834 messages
2017-10-24 14:34:24benjamin.petersoncreate