This is the mail archive of the
mailing list for the Cygwin project.
Re: SSE2 priviliged instruction exception
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Kenn Heinrich <heinrich at idirect dot com>
- Cc: cygwin at cygwin dot com
- Date: Sat, 3 May 2003 00:10:28 -0400 (EDT)
- Subject: Re: SSE2 priviliged instruction exception
- Reply-to: cygwin at cygwin dot com
On Fri, 2 May 2003, Kenn Heinrich wrote:
> 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?
> - Kenn
> This is the test code:
> #include <xmmintrin.h>
> #include <stdio.h>
> __m128 k;
> k = _mm_setzero_ps();
> and compile it with
> gcc -march=pentium4 -msse2
<http://cygwin.com/acronyms/#CYNUX>. Cygwin is not even an OS. Cygwin is
an *emulation layer* on top of Windows. Windows' idea of privileged
instructions likely differs from Linux's. Try compiling your code with
"-mno-cygwin" -- you will still get that popup. You might have better
luck asking on a Win2k forum, as this is clearly a Win2k issue.
|\ _,,,---,,_ email@example.com
ZZZzz /,`.-'`' -. ;-;;,_ firstname.lastname@example.org
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
Knowledge is an unending adventure at the edge of uncertainty.
-- Leto II
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html