This is the mail archive of the
mailing list for the Cygwin project.
Re: Cygwin 32bit: Can't use gcc -mfpmath=sse
- From: HK <hk1020 at t-online dot de>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>, "Evgeny Grin" <k2k at yandex dot ru>
- Date: Fri, 11 Sep 2015 14:03:56 +0200
- Subject: Re: Cygwin 32bit: Can't use gcc -mfpmath=sse
- Authentication-results: sourceware.org; auth=none
- References: <op dot x4rlk1hl6wtfvl at orion> <1999691441959416 at web12o dot yandex dot ru>
On Fri, 11 Sep 2015 10:16:56 +0200, Evgeny Grin <firstname.lastname@example.org> wrote:
10.09.2015, 23:52, "HK" <email@example.com>:
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
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
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
For x86-64 version, SSE is always enabled as all x86-64 CPUs support SSE
Thanks. While I don't quite agree with the choice of defaults it makes
So does my 32bit window next to the 64bit window on the same computer
have a different instruction set? Anyway, case closed.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple