delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <3EB2F202.8080201@idirect.com> |
Date: | Fri, 02 May 2003 18:32:34 -0400 |
From: | Kenn Heinrich <heinrich AT idirect DOT com> |
User-Agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1 |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | SSE2 priviliged instruction exception |
X-Spam-Status: | No, hits=-5.5 required=6.5 |
tests=DATE_IN_PAST_03_06,USER_AGENT_MOZILLA_UA | |
version=2.53 | |
X-Spam-Level: | |
X-Spam-Checker-Version: | SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp) |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |