←back to thread

126 points bundie | 1 comments | | HN request time: 0.226s | source
Show context
csense ◴[] No.44459751[source]
Can you write a kernel patch / driver to trap the unsupported instructions and provide software implementations?
replies(2): >>44459767 #>>44461893 #
karlgkk ◴[] No.44459767[source]
Rva20 lacks vector support and hypervisor instructions, among other things.

You’re welcome to put a ton of effort in for dogshit performance on a bunch or $35 SBCs but the rest of us will just upgrade

And don’t worry, some vendor won’t come in and magically save you - fedora is eyeing rv22 as their baseline.

replies(4): >>44460056 #>>44460232 #>>44460237 #>>44460407 #
1. slyall ◴[] No.44460232[source]
The Linux Kernel has math coprocessor emulation (mainly floating point stuff) that can be enabled if your CPU doesn't include it. This was common with consumer CPUs in the 1990s and some embedded CPUs today.

Link here, although I'm sure it existed well before 2.6.12

https://www.kernelconfig.io/config_math_emulation