-
Notifications
You must be signed in to change notification settings - Fork 207
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
Pathfinder Simd does not detect if target has sse4.1 #502
Comments
If someone can give me a pointer on how to get started, I can try to test this approach on my Phenom II hardware. |
I have the same problem. mission-center 0.4.4-1 on AUR coredumped with illegal hardware instruction. backtrace
lscpu
Is there any workaround for this? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
By default, pathfinder_simd exports the x86 simd operations as the
default
module, however at least some of these are SSE4.1 instructions which aren't supported on all x86 platforms. (This being from lapce/lapce#70 where the person has a Phenom II). Lapce depends on pathfinder_simd through font-kit (which depends on pathfinder_geometry).I imagine a simple fix (skipping over writing out a separate x86 version without sse4.1) would be to add a
target_feature = "sse4.1"
to the x86, and so otherwise export scalar as the default on platforms which don't support it.The text was updated successfully, but these errors were encountered: