delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/05/15/05:27:56

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.5 required=5.0 tests=AWL,BAYES_00,TW_CX,TW_DC,TW_GC,TW_GD,TW_JL,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
From: "Morris, Philip" <prm AT mc DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Date: Sun, 15 May 2011 05:27:17 -0400
Subject: RE: Problem compiling with SSE intrinsics and -O3
Message-ID: <415FD5BDB605964FBFF583DB5444679D7C237865@CHM-MBX1.ad.mc.com>
x-cr-puzzleid: {9EBBE835-1655-4B0D-9BFD-D442697D5C78}
x-cr-hashedpuzzle: Yw0= AeHM AwCv BBRj CymM EI1S EkXf Ff/Z F4g5 GD6x GiIZ HSQP HXmp IQ7P IZAK KBAf;1;YwB5AGcAdwBpAG4AQABjAHkAZwB3AGkAbgAuAGMAbwBtAA==;Sosha1_v1;7;{9EBBE835-1655-4B0D-9BFD-D442697D5C78};cAByAG0AQABtAGMALgBjAG8AbQA=;Sun, 15 May 2011 09:27:18 GMT;UgBFADoAIABQAHIAbwBiAGwAZQBtACAAYwBvAG0AcABpAGwAaQBuAGcAIAB3AGkAdABoACAAUwBTAEUAIABpAG4AdAByAGkAbgBzAGkAYwBzACAAYQBuAGQAIAAtAE8AMwA=
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

FYI the error is directly related to the inclusion of the _mm_xor_ps() intr=
insic, replacing this with, say _mm_sub_ps() and it compiles without a prob=
lem.

Here is the output of -v compile

$ gcc -v -msse2 -O3 -c test.c
Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs
Configured with: /managed/gcc-build/final-v3-bootstrap/gcc-3.4.4-999/config=
ure -
-verbose --program-suffix=3D-3 --prefix=3D/usr --exec-prefix=3D/usr --sysco=
nfdir=3D/etc
--libdir=3D/usr/lib --libexecdir=3D/usr/lib --mandir=3D/usr/share/man --inf=
odir=3D/usr/s
hare/info --enable-languages=3Dc,ada,c++,d,f77,pascal,java,objc --enable-nl=
s --wit
hout-included-gettext --enable-version-specific-runtime-libs --without-x --=
enabl
e-libgcj --disable-java-awt --with-system-zlib --enable-interpreter --disab=
le-li
bgcj-debug --enable-threads=3Dposix --enable-java-gc=3Dboehm --disable-win3=
2-registr
y --enable-sjlj-exceptions --enable-hash-synchronization --enable-libstdcxx=
-debu
g
Thread model: posix
gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
 /usr/lib/gcc/i686-pc-cygwin/3.4.4/cc1.exe -quiet -v -D__CYGWIN32__ -D__CYG=
WIN__
 -Dunix -D__unix__ -D__unix -idirafter /usr/lib/gcc/i686-pc-cygwin/3.4.4/..=
/../.
./../include/w32api -idirafter /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../.=
./i68
6-pc-cygwin/lib/../../include/w32api test.c -quiet -dumpbase test.c -msse2 =
-mtun
e=3Dpentiumpro -auxbase test -O3 -version -o /tmp/ccK2doSW.s
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory "/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../=
../i6
86-pc-cygwin/include"
ignoring duplicate directory "/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../..=
/i686
-pc-cygwin/lib/../../include/w32api"
#include "..." search starts here:
#include <...> search starts here:
 /usr/lib/gcc/i686-pc-cygwin/3.4.4/include
 /usr/include
 /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api
End of search list.
GNU C version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) (i686-pc-c=
ygwin
)
        compiled by GNU C version 3.4.4 (cygming special, gdc 0.12, using d=
md 0.
125).
GGC heuristics: --param ggc-min-expand=3D99 --param ggc-min-heapsize=3D1309=
92
test.c: In function `vclrx':
test.c:39: internal compiler error: in output_constant_pool, at varasm.c:31=
90
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://cygwin.com/problems.html> for instructions.

Seems like a really old version!

Phil


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019