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:message-id:subject:from:to:date:in-reply-to :references:content-type:mime-version:content-transfer-encoding; q=dns; s=default; b=WKaZryY7YFAlHXkmrH3JKsmPIjaaSgiA4ahySnPHztC Me6TO7MWLUxSgvsQ03ED7zzU9pWlcfiNydYTuASIIRuYWoAzJQipUjvsqPzoPtbk 1gcFtthoWHT0XUa7AOWWIa6IHoa5MmQSJQZzxOw8qiQC5qzQkBSbrueMcNUqDL04 = 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:message-id:subject:from:to:date:in-reply-to :references:content-type:mime-version:content-transfer-encoding; s=default; bh=edrAAGaP5B4VX26b2r/NywfeP1E=; b=A8OtM+mIGqTdtLRS7 8bb+wST+qyGvbiFWClxNYd4AB9LzmcgSj0LHZnFyIG+7mQQ4czKuGVqgKX/H8ifn b9An9jg3GBRO84Il7Fm1EDmfVe3LkI3ee0fRySSRDCHeo42Jhc7yqTQxThIfp9pV +mUSR8p20w+eJ++FMxNGkoz+Fk= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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.9 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS autolearn=no version=3.3.2 X-HELO: mx1.redhat.com Message-ID: <1441920031.9784.7.camel@cygwin.com> Subject: Re: Cygwin 32bit: Can't use gcc -mfpmath=sse From: Yaakov Selkowitz To: cygwin AT cygwin DOT com Date: Thu, 10 Sep 2015 16:20:31 -0500 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On Thu, 2015-09-10 at 22:52 +0200, HK wrote: > On Thu, 10 Sep 2015 13:19:04 +0200, V?clav_Haisman wrote: > > 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 > >> 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. > > Yep, that did the trick. Thanks for the suggestion. Now, is this a gcc > build problem? The 64bit version doesn't need -march=native and that is on > the same computer. It's not a bug. SSE and SSE2 are part of the core x86_64 instruction set. -- Yaakov -- 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