-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vpclmulqdq should be pclmulqdq #2
Comments
I made a mistake. vpclmulqdq is now a future feature that is actually a vectorized multiply. The code was correct before. However, there is a separate pclmulqdq (old version) bit that should be added: leaf 1 ecx bit 1. I am sorry about this; I didn't know about the newest information. |
It's fine, it happens :) I should have double checked. |
# This is the 1st commit message: Update macros to detect mips64 and differentiate between x86 32/64. # This is the commit message #2: Fix Mips32 and add an alias for Mips32/64. # This is the commit message #3: Allow specifying cmake generator. # This is the commit message #4: Remove unavailable MSVC version and test Ninja on travis # This is the commit message #5: Add ninja build. # This is the commit message #6: Use Ninja by default # This is the commit message #7: Show tests output # This is the commit message #8: Defaulting env to Ninja in the build matrix # This is the commit message #9: Defaulting env to Ninja in the build matrix # This is the commit message #10: Do not use ninja on OSX # This is the commit message #11: Fix test output. # This is the commit message #12: Fix running tests # This is the commit message #13: Fix running tests
It turns out, MACOS is a perfectly fine OS to support aarch64 (through its name arm64.) The only thing missing was the appropriate check in impl_aarch64, plus renaming the file to match that it's really for any OS that has the CPU. jwatte@Jons-MBP build % make test Running tests... Test project /Users/jwatte/cpu_features/build Start 1: bit_utils_test 1/4 Test google#1: bit_utils_test ................... Passed 0.06 sec Start 2: string_view_test 2/4 Test google#2: string_view_test ................. Passed 0.04 sec Start 3: stack_line_reader_test 3/4 Test google#3: stack_line_reader_test ........... Passed 0.04 sec Start 4: cpuinfo_aarch64_test 4/4 Test google#4: cpuinfo_aarch64_test ............. Passed 0.12 sec
vpclmulqdq should be pclmulqdq. The "v" version of the instruction simply means to encode the instruction in AVX format instead of SSE format.
The text was updated successfully, but these errors were encountered: