delorie.com/archives/browse.cgi | search |
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:content-type:to:subject:references:date | |
:mime-version:content-transfer-encoding:from:message-id | |
:in-reply-to; q=dns; s=default; b=HVmjv7k22psQWZz528gmHtAIAobOgu | |
yF2dwa3YNUr4CsVtnROMjf0dBItV3HzRciuEUIG3zR4Qh3lhrYQ88NtjmcQQ9GQj | |
EwbmBrLJgXTVSIq9eYwcaGhiSJ8VquFMn8ILbIS0i3tc9XLpcES0wfEbmXuNYWYs | |
eVEsPKhk3024E= | |
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:content-type:to:subject:references:date | |
:mime-version:content-transfer-encoding:from:message-id | |
:in-reply-to; s=default; bh=bsxT1ahjc88dPNOX+9DP6sFzS64=; b=hlt+ | |
Gf2W/7V0Fxaidqr3S44a5lbPjLiaal8PZjwJl6oImwRQaiI13lT3eyAFmR8nHj32 | |
B4W/Ra4uvt9dwPM8L+XS5n3mSor8WN5usC8kIcWvBM3YW3yTiAAbkwYI0Pr8cIST | |
HP9A2QrUi4FZMaCoQg8c2ogHEkFqFO1xZysvHus= | |
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.5 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 |
X-HELO: | chlothar.bnv-bamberg.de |
To: | "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>, "Evgeny Grin" <k2k AT yandex DOT ru> |
Subject: | Re: Cygwin 32bit: Can't use gcc -mfpmath=sse |
References: | <op DOT x4rlk1hl6wtfvl AT orion> <1999691441959416 AT web12o DOT yandex DOT ru> |
Date: | Fri, 11 Sep 2015 14:03:56 +0200 |
MIME-Version: | 1.0 |
From: | HK <hk1020 AT t-online DOT de> |
Message-ID: | <op.x4srsuxx6wtfvl@orion> |
In-Reply-To: | <1999691441959416@web12o.yandex.ru> |
User-Agent: | Opera Mail/10.63 (Win32) |
On Fri, 11 Sep 2015 10:16:56 +0200, Evgeny Grin <k2k AT yandex DOT ru> wrote: > 10.09.2015, 23:52, "HK" <hk1020 AT t-online DOT de>: >> On Thu, 10 Sep 2015 13:19:04 +0200, V?clav_Haisman wrote: >>> On 10 September 2015 at 01:30, HK wrote: >>>> 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. >> >> Yep, that did the trick. Thanks for the suggestion. Now, is this a gcc >> build >> build problem? The 64bit version doesn't need -march=native and that is >> on >> the same computer. > > It's not a problem as by default GCC generate code compatible with > maximum number of CPU models. > If you need to generate an SSE instructions, you have to use at lest > -march=pentium3. > For x86-64 version, SSE is always enabled as all x86-64 CPUs support SSE > and SSE2. > See http://gcc.gnu.org/onlinedocs/gcc/x86-Options.html#x86-Options Thanks. While I don't quite agree with the choice of defaults it makes sense. So does my 32bit window next to the 64bit window on the same computer really have a different instruction set? Anyway, case closed. -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |