Skip to content
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

[BinaryPlatforms]: Flesh out CPUID support #37722

Merged
merged 4 commits into from
Sep 24, 2020
Merged

Conversation

staticfloat
Copy link
Sponsor Member

This PR fleshes out (and slightly renames) some pieces of the CPUID
machinery to better support BB's multi-march system. It declares at
least one valid microarchitecture for all architectures, and splits the
CPUID module out into its own source file for readability.

@staticfloat
Copy link
Sponsor Member Author

staticfloat commented Sep 23, 2020

@giordano just FYI

@vchuravy I guess we have no C CPUID code on power yet? Too bad, we'll just compile everything for power8 for now then, until Julia gains the ability to select higher forms of computation.

EDIT: X-ref: #26252

base/cpuid.jl Outdated Show resolved Hide resolved
@staticfloat staticfloat force-pushed the sf/flesh_out_cpuid branch 2 times, most recently from e3e10d2 to ab4620a Compare September 23, 2020 23:33
@vchuravy vchuravy added the system:powerpc PowerPC label Sep 23, 2020
@staticfloat staticfloat force-pushed the sf/flesh_out_cpuid branch 2 times, most recently from ead64b8 to 8447834 Compare September 24, 2020 02:50
This PR fleshes out (and slightly renames) some pieces of the CPUID
machinery to better support BB's multi-march system.  It declares at
least one valid microarchitecture for all architectures, and splits the
CPUID module out into its own source file for readability.
Get rid of `cpu_family()`, it's kind of confusingly named and unnecessary.
This should be a little more friendly to those just looking to inspect
some of these objects
@staticfloat staticfloat merged commit b1e1bb3 into master Sep 24, 2020
@staticfloat staticfloat deleted the sf/flesh_out_cpuid branch September 24, 2020 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants