-
Notifications
You must be signed in to change notification settings - Fork 636
Conversation
clang-3.3 is stricter regarding the second argument of _mm_shuffle_epi32. Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
clang provides the same constant as bit_AESNI in some versions, and doesn't provide it at all in others. Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
Hey @sebastinas, Nice work! This fixes build problems related to I'm on OS X 10.8.5 with Xcode 5.0.1 and what I guess is clang 5.0?
I was getting compile errors related to
With your changes, now the build works!
Nice work! |
I did a little more testing to verify that this works in all of the various Python versions, including Python 3.4.0a4. Here's a sample
|
great, it works for me too :-) |
I've run into this as well, this fix worked for me. |
While testing PR #62 on different platforms, I noticed that it failed to compile with clang-3.3. clang-3.3 is stricter regarding the second argument of _mm_shuffle_epi32. This arguments needs to be an immediate value.