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

i686-apple-darwin chooses a pre-pentiumpro cpu by default #53423

Closed
gnzlbg opened this issue Aug 16, 2018 · 1 comment
Closed

i686-apple-darwin chooses a pre-pentiumpro cpu by default #53423

gnzlbg opened this issue Aug 16, 2018 · 1 comment
Labels
A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. I-slow Issue: Problems and improvements with respect to performance of generated code. O-macos Operating system: macOS

Comments

@gnzlbg
Copy link
Contributor

gnzlbg commented Aug 16, 2018

The first 32-bit x86 apple machine used the "yonah" CPU, but we (and clang) set a generic i686 CPU instead that has no MMX, no SSE, etc.

This is also clang bug: https://bugs.llvm.org/show_bug.cgi?id=38594

We should wait and see how clang resolves this bug before doing anything.

@estebank estebank added A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. I-slow Issue: Problems and improvements with respect to performance of generated code. O-macos Operating system: macOS labels Jan 19, 2019
@gnzlbg
Copy link
Contributor Author

gnzlbg commented Mar 16, 2019

This appears to be fixed now: https://rust.godbolt.org/z/UqjUHQ the default CPU is "yonah".

@gnzlbg gnzlbg closed this as completed Mar 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. I-slow Issue: Problems and improvements with respect to performance of generated code. O-macos Operating system: macOS
Projects
None yet
Development

No branches or pull requests

2 participants