lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090417152542.GG3797@csclub.uwaterloo.ca>
Date:	Fri, 17 Apr 2009 11:25:42 -0400
From:	lsorense@...lub.uwaterloo.ca (Lennart Sorensen)
To:	Jan Engelhardt <jengelh@...ozas.de>
Cc:	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: SSE soft emulation for Linux?

On Fri, Apr 17, 2009 at 04:46:25PM +0200, Jan Engelhardt wrote:
> 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.

I think such emulation would be very slow, and completely defeat the
purpose of using SSE in the application in the first place.

I would think either nag the provider to fix the code to support both
with and without SSE, or don't run the code on anything that old.
I guess Pentium 3 and Athlon XP would be the lowest choices.

Nvidia started requiring SSE in their binary drivers, but have since
backed out that requirement, so it is possible to make people realize
their code has unreasonable requirements.

I do find it amusing that microsoft keeps telling people to use
Silverlight, yet it requires SSE so lots of Athlon's and some Pentium
2s running Windows XP are simply out of luck.  Flash of course has no
such pointless minimal requirements and works everywhere.

I certainly have a number of non SSE machines in active use, so I
think requiring SSE is a mistake.  Maybe in a nother 5 years it will
be reasonable, although by then requiring 64bit might be fair too which
always has SSE.

-- 
Len Sorensen
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ