-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Add dynamic dispatch to AIX and clang for Power #4280
Add dynamic dispatch to AIX and clang for Power #4280
Conversation
driver/others/dynamic_power.c
Outdated
#define CPU_UNKNOWN 0 | ||
#define CPU_POWER5 5 | ||
#define CPU_POWER6 6 | ||
#define CPU_POWER7 7 |
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.
POWER7 currently does not exist as an actual, unique target - it is an alias for POWER6. Do you plan to change that ?
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.
Fixed
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.
thanks - I guess arch==power7 would still be valid and return CPU_POWER6 though?
Fixed. We would like these changes in the next release (Nov 5th) |
Known issue (to be done as a separate PR): compiling with gcc/xlf in AIX.
Works with Linux - gcc & clang, AIX - gcc/gfortran, xlc/xlf.
This adds dynamic dispatch to AIX. It also adds dynamic dispatch for clang/LLVM for Linux. All for PowerPC