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
fpu_ctrl: exclude non i386 archs from SSE #926
Comments
This is for compatibility with the Russian Elbrus2k CPU architecture. |
I'm curious what the failure actually is. Why SSE is detected and A better option may be to avoid the inline assembly altogether, and optionally enable use of the intrinsics when SSE is available. It'd require moving the SSE calls to a separate function that can enable SSE codegen separate from the enter/leave methods, with those functions only being called when the appropriate |
@stgatilov Do you have any suggestion on this? |
Does commit 28ebc90 help any? It tries to avoid the inline assembly and use the intrinsics when SSE is detected at runtime. |
I personally cannot comment on this, because I wasn't the person creating the patch. I will ask him to come. |
Elbrus GCC-based compiler supports SSE intrinsics by translating them into Elbrus VLIW instructions. To be honest, I won't be surprised if some of Elbrus guys already provided some fix for this to master. |
To:
core/fpu_ctrl.cpp
I have seen a place that applies this patch:
mxcsr.patch
Do you think this is something that could be included here?
If so I can make a pull request.
The text was updated successfully, but these errors were encountered: