[speex-dev] SIMD interest
Aron Rosenberg
aron at sightspeed.com
Sat Jan 17 12:17:30 PST 2004
No,
The way you check if SSE FP / xmm is supported is to issue an
instruction with an xmm operand inside of a try catch loop:
try
{
issue asm which uses xmm registers such as:
pxor xmm0 xmm1
}
catch(...)
{
if you get here an illegal instruction exception occurred then xmm
registers are not supported.
}
Incidentally, in our case, just having an Atholon XP with Windows XP does
not mean support for xmm / SSE FP. Your BIOS needs to support it as well.
We have on machine in our test labs that is exactly this case. Atholon
2400+ XP with Win XP and no support for xmm / SSE FP.
AMD has a great sample program for determining which CPU flags are
supported. You can find it at:
http://www.amd.com/us-en/Processors/TechnicalResources/0,,30_182_871_2364,00.html
Aron Rosenberg
SightSpeed Inc.
<p>At 08:36 PM 1/17/2004 +0100, you wrote:
>Greetings,
>
>
>my apologies for putting this trash in the mailing list but the topic
>about SSE run-time option interested me pretty much.
>Looks like some people is really experienced on the topic. I would really
>appreciate if somebody could point me to good resources about SSE and
>Altivec (not necessarly on the net, I'm ready to invest some money if
>necessary). I already have intel manuals about SSE and I took a look at
>Intel's document proposed by Ian.
>
>I was somewhat shocked by reading a mail posted by Jan-Marc (Date: 14 Jan
>2004 02:44:59 -0500). I guess I badly misunderstood it by jumping to wrong
>conclusions but does this means the only way to recognize if (say) SSE is
>supported by OS is to check its version?
>This looks something problematic to me especially for open-source OSs
>where one can recompile the kernel as he wants - kernel version number may
>not really be representative of the functionalities supported.
>
>
>Thank you,
>Massimo
<p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'speex-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Speex-dev
mailing list