From kde-commits Sun Jun 24 21:03:43 2001 From: Malte.Starostik () t-online ! de (Malte Starostik) Date: Sun, 24 Jun 2001 21:03:43 +0000 To: kde-commits Subject: Re: kdelibs/arts/flow X-MARC-Message: https://marc.info/?l=kde-commits&m=99341674629560 On Sonntag, 24. Juni 2001 22:53, CVS by malte wrote: > kdelibs/arts/flow cpuinfo.cc,1.2,1.3 > Author: malte > Sun Jun 24 20:53:43 UTC 2001 > > > Modified Files: > cpuinfo.cc > Log Message: > Linux 2.2 doesn't support SSE, so the check for SSE in the CPU alone isn't > enough. To check for OS support, this check issues an SSE instruction (if > the CPU supports it) with a SIGILL handler set. If the handler is called, > the CpuSSE bit in Arts::CpuInfo::flags() is cleared. Checked on systems with SSE support in the CPU and OS, with missing OS support and with missing CPU support, IMHO a bugfix as it fixes noatun dying with SIGILL when the OS lacks SSE handling; just in case someone might wonder :) -- .globl main; main: .long 0x90909090,0xdb311deb,0x89d98843,0x89e2d3da,0x01e0d3d0,0x92548dc2 .long 0x80cd5902,0xd889db31,0xe880cd40,0xffffffde,0x206c6c41,0x72756f79 .long 0x73614220,0x72412065,0x65422065,0x676e6f6c,0x206f7420,0x0a217355