SSE2 priviliged instruction exception

Kenn Heinrich heinrich@idirect.com
Sat May 3 03:55:00 GMT 2003


Hi,

I couldn't find an answer on Google, so here goes:

I get a privileged instruction exception on a P4 win 2K. The same
code (and more extensive use of SSE2) executes properly on
a pentium 4 redhat 8 box. gcc is 3.2


WCPUID shows that my CPU is in fact a Pentium 4 with SSE2.

How do I get this code to work?

Thanks,

- Kenn


This is the test code:

#include <xmmintrin.h>
#include <stdio.h>
main()
{
  __m128 k;
  k = _mm_setzero_ps();
  printf("done\n");
}

and compile it with

gcc -march=pentium4 -msse2




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list