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

Default generated code uses a lot of Intel 387 instructions, not SSE2+ #752

Closed
baryluk opened this issue May 11, 2020 · 2 comments
Closed

Comments

@baryluk
Copy link

baryluk commented May 11, 2020

I was exploring some code in ldc and dmd using the website, and found out even a simple code would create a ton of old-FPU style instructions, even with some flags to try to force it to nod to it:

https://run.dlang.io/is/GakIJp

Maybe it is related to the pow, and the silly fact that it does receive the real instead of double ?

Or maybe the dmd and ldc used on the site by default defaults to 32-bit mode somehow?

@Geod24
Copy link
Member

Geod24 commented May 11, 2020

@baryluk
Copy link
Author

baryluk commented May 11, 2020

Yes, you are right. This is an issue with the phobos and the compiler, not the dlang-tour.

@baryluk baryluk closed this as completed May 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants