How to determine if P4 Processor is SSE2?

pIII_Man

Splendid
Mar 19, 2003
3,815
0
22,780
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:
 

imgod2u

Distinguished
Jul 1, 2002
890
0
18,980
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.
 

c0d1f1ed

Distinguished
Apr 14, 2003
266
0
18,780
<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>
 

pIII_Man

Splendid
Mar 19, 2003
3,815
0
22,780
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:
 

jmecor

Distinguished
Jul 7, 2003
2,332
0
19,780
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>