SSE soft emulation for Linux?

From: Jan Engelhardt
Date: Fri Apr 17 2009 - 10:46:38 EST


Hi,


well as it happens, a user reported to me that some binary userspace
blobs shipped with popular game servers crashes with Illegal
Instruction. Upon review, the program tries to execute SSE code, which,
of course, is bound to fail on older CPUs (see below for /proc/cpuinfo).

So I was wondering if there is an SSE emulation kit (for x86_32) similar
to the FPU emu code for arch/x86/, to deal with such cases.

> cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 4
model name : AMD Athlon(tm) Processor
stepping : 4
cpu MHz : 1200.039
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca
cmov pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow up
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/