-
Notifications
You must be signed in to change notification settings - Fork 443
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make HAVE_ATTRIBUTE_TARGET check also check SSSE3 intrinsics work
GCC 4.8.5 and earlier accept SSSE3 intrinsics with -mssse3; these compiler versions also accept __attribute__((target("ssse3"))) but the attribute fails to enable compilation of the intrinsics. Refactor the check to HAVE_ATTRIBUTE_TARGET_SSSE3, and check both the attribute and that the SSSE3 intrinsics used (in simd.c) are in fact compilable in a function with the attribute. Fixes #1838.
- Loading branch information
Showing
3 changed files
with
17 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters