Open MinusGix opened 2 years ago
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.
Is there any workaround for this?
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 https://github.com/lapce/lapce/issues/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.