-
Notifications
You must be signed in to change notification settings - Fork 13.3k
[X86][AVX10] Permit AVX512 options/features used together with AVX10 #71318
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,8 +15,12 @@ | |
#define __AVX2INTRIN_H | ||
|
||
/* Define the default attributes for the functions in this file. */ | ||
#define __DEFAULT_FN_ATTRS256 __attribute__((__always_inline__, __nodebug__, __target__("avx2"), __min_vector_width__(256))) | ||
#define __DEFAULT_FN_ATTRS128 __attribute__((__always_inline__, __nodebug__, __target__("avx2"), __min_vector_width__(128))) | ||
#define __DEFAULT_FN_ATTRS256 \ | ||
__attribute__((__always_inline__, __nodebug__, \ | ||
__target__("avx2,no-evex512"), __min_vector_width__(256))) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why does the function targeted at avx2 need There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We have defined parts AVX512 intrinsics with |
||
#define __DEFAULT_FN_ATTRS128 \ | ||
__attribute__((__always_inline__, __nodebug__, \ | ||
__target__("avx2,no-evex512"), __min_vector_width__(128))) | ||
|
||
/* SSE4 Multiple Packed Sums of Absolute Difference. */ | ||
/// Computes sixteen sum of absolute difference (SAD) operations on sets of | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it mean the flags for AVX10 Features will be in the vector
UpdatedFeaturesVec
2 times?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope, there is a
continue
in handlingavx10*
featuresThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see.