delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/09/10/07:19:28

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=xp
3u/iQGZFSA7t2cw4aeApHIKUWik1o0jax8beFbMAz1P4rP1uJOaA+Y7Kbc0K5jGf
NbGBE+kiA/mLQfeMMqMi19CEVHn/fqfA2WlLapjtBhZiT9d0bVmYu8BuwKR7jPSu
3RP44oc85RXgU76IQDvS35HxjHGoVlN2HJNQ7ZKRI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; s=default; bh=lFxCcPMO
KvQPmfFG6QutTHdIJo8=; b=H7ML/gnS/mv+bdtXFcOEzPNkw+hDSz1TDDEAIdEG
kZ4DEp876Xoehn+zJgEb2j+Fll63bzfJcN3pVy9EYeF41Hovesc9CIVG8piVZ72r
x6bDtfSwDiE0bwoBbHV5cg3iOIfDnK28GAOFPiwijSbUyaSM9b27vkUNmf5cDypW
4TU=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-lb0-f181.google.com
MIME-Version: 1.0
X-Received: by 10.152.26.41 with SMTP id i9mr7000305lag.36.1441883944288; Thu, 10 Sep 2015 04:19:04 -0700 (PDT)
In-Reply-To: <op.x4px8ooy6wtfvl@orion>
References: <op DOT x4px8ooy6wtfvl AT orion>
Date: Thu, 10 Sep 2015 13:19:04 +0200
Message-ID: <CAKw7uVjo4+Hs+1GNVVBkpze_G9MTY-wQUQxoD8aiw5-ZNgHNRQ@mail.gmail.com>
Subject: Re: Cygwin 32bit: Can't use gcc -mfpmath=sse
From: =?UTF-8?Q?V=C3=A1clav_Haisman?= <vhaisman AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

On 10 September 2015 at 01:30, HK wrote:
> I've just run across this strange behavior on a recent 32bit installation:
>
>  vega> cat hello.c
> #include <stdio.h>
> int main(int argc, char** argv){
> printf("hello world\n");
> }
>  vega> gcc -mfpmath=sse hello.c
> hello.c:1:0: warning: SSE instruction set disabled, using 387 arithmetics

Does it help to use `-march=native`? My hunch is that this is because
the default CPU type is set to such that does not have SSE.

>  #include <stdio.h>
>  ^
>
> Why is this? I am pretty sure this used to work in the past.  On the 64bit
> installtion it works just fine.
>
> For reference:
>
>  vega> gcc -v
> Using built-in specs.
> COLLECT_GCC=gcc
> COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-cygwin/4.9.3/lto-wrapper.exe
> Target: i686-pc-cygwin
> Configured with:
> /cygdrive/i/szsz/tmpp/gcc/gcc-4.9.3-1.i686/src/gcc-4.9.3/configure
> --srcdir=/cygdrive/i/szsz/tmpp/gcc/gcc-4.9.3-1.i686/src/gcc-4.9.3
> --prefix=/usr --exec-prefix=/usr --localstatedir=/var --sysconfdir=/etc
> --docdir=/usr/share/doc/gcc --htmldir=/usr/share/doc/gcc/html -C
> --build=i686-pc-cygwin --host=i686-pc-cygwin --target=i686-pc-cygwin
> --without-libiconv-prefix --without-libintl-prefix --libexecdir=/usr/lib
> --enable-shared --enable-shared-libgcc --enable-static
> --enable-version-specific-runtime-libs --enable-bootstrap
> --enable-__cxa_atexit --with-dwarf2 --with-arch=i686 --with-tune=generic
> --disable-sjlj-exceptions
> --enable-languages=ada,c,c++,fortran,java,lto,objc,obj-c++ --enable-graphite
> --enable-threads=posix --enable-libatomic --enable-libgomp --disable-libitm
> --enable-libquadmath --enable-libquadmath-support --enable-libssp
> --enable-libada --enable-libjava --enable-libgcj-sublibs --disable-java-awt
> --disable-symvers --with-ecj-jar=/usr/share/java/ecj.jar --with-gnu-ld
> --with-gnu-as --with-cloog-include=/usr/include/cloog-isl
> --without-libiconv-prefix --without-libintl-prefix --with-system-zlib
> --enable-linker-build-id
> Thread model: posix
> gcc version 4.9.3 (GCC)
>  vega>


-- 
VH

--
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