Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-135032: Disable the SIMD128/SIMD256 for Linux arm64 explictly#135033

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
Zheaoli wants to merge1 commit intopython:main
base:main
Choose a base branch
Loading
fromZheaoli:manjusaka/fix-135032
Open
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletionsModules/blake2module.c
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -41,12 +41,12 @@

#include <stdbool.h>

// SIMD256 can't be compiled on macOS ARM64, and performance of SIMD128 isn't
// SIMD256 can't be compiled on macOSand LinuxARM64, and performance of SIMD128 isn't
// great; but when compiling a universal2 binary, autoconf will set
// HACL_CAN_COMPILE_SIMD128 and HACL_CAN_COMPILE_SIMD256 because they *can* be
// compiled on x86_64. If we're on macOSARM64, disable these preprocessor
// compiled on x86_64. If we're on macOSand Linux ARM6, disable these preprocessor
// symbols.
#if defined(__APPLE__) && defined(__arm64__)
#if(defined(__APPLE__) || defined(__linux__)) && defined(__arm64__)
# undef HACL_CAN_COMPILE_SIMD128
# undef HACL_CAN_COMPILE_SIMD256
#endif
Expand Down
2 changes: 1 addition & 1 deletionModules/hmacmodule.c
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -30,7 +30,7 @@
# include <intrin.h>
#endif

#if defined(__APPLE__) && defined(__arm64__)
#if(defined(__APPLE__) || defined(__linux__)) && defined(__arm64__)
# undef HACL_CAN_COMPILE_SIMD128
# undef HACL_CAN_COMPILE_SIMD256
#endif
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp