Re:Asahi Linux to Users: Please Stop Using X.org
by argsnd on Sunday May 14, 2023 @06:38AM
(#35936973)
It can't be though. The kernel itself can't include anything requiring floating point maths, so it needs to be able to permit userspace to unlock any restrictions in order for those calculations to happen there. And Asahi is intentionally being designed for the modern systemd/wayland/pipewire stack so they're not going to work on ALSA plugins since pipewire replaces that part of the stack.
[ Parent
| on HN ]
Re:Asahi Linux to Users: Please Stop Using X.org
by wtallis on Sunday May 14, 2023 @12:52PM
(#35939316)
> The kernel itself can't include anything requiring floating point maths,
This sounds like a limitation derived from ancient architectures and platforms. What's the barrier to allowing FP in kernel modules for platforms that are guaranteed to have FP support? Is it too much work for the kernel to save and restore FP registers and modes?
Re:Asahi Linux to Users: Please Stop Using X.org
by dezgeg on Monday May 15, 2023 @04:58AM
(#35945393)
This is wrong; using floating point (or rather, the vector register set like XMM) is used for example for cryptography. It does have extra cost though (as kernel doesn't normally save FPU/vector regs).