How to determine if P4 Processor is SSE2?

yes here is how...

look at the sky...if it is blue you have sse2...if it is brown you only have mmx...

Seriously all p4's have sse2...

If i put my k6 in a Ferrari it would be faster than your your pentium 4 or Athlon XP :tongue:
 
There are times when the sky remotely resembles a shade of brown, so that statement is inaccurate.

"We are Microsoft, resistance is futile." - Bill Gates, 2015.
 
<pre>void main()
{
__asm
{
addpd xmm0, xmm0
}
}
</pre><p>Compile and execute that. If it crashed with an illegal instruction exception, you don't have SSE2 support.

<P ID="edit"><FONT SIZE=-1><EM>Edited by c0d1f1ed on 08/11/03 01:46 PM.</EM></FONT></P>
 
cpuid does not actually test if the processor has mmx or sse1 or sse2 support...at least i don't think it does...

codified...what compiler should i use? Is that c?

If i put my k6 in a Ferrari it would be faster than your your pentium 4 or Athlon XP :tongue:
 
cpuid just shows whether your cpu has sse2.

<font color=blue>
My computer is <b>sooo fast</b>,
It finished <b>SETI</b> in <b>10 seconds.</b>
<font color=blue>