public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/63395] Cygwin vs Cygwin64 Floating Point Discrepancy
       [not found] <bug-63395-4@http.gcc.gnu.org/bugzilla/>
@ 2014-09-27 20:59 ` bernardwidynski at gmail dot com
  2014-09-27 21:00 ` bernardwidynski at gmail dot com
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: bernardwidynski at gmail dot com @ 2014-09-27 20:59 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63395

--- Comment #1 from bernardwidynski at gmail dot com ---
Created attachment 33591
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33591&action=edit
Cygwin output file


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug other/63395] Cygwin vs Cygwin64 Floating Point Discrepancy
       [not found] <bug-63395-4@http.gcc.gnu.org/bugzilla/>
  2014-09-27 20:59 ` [Bug other/63395] Cygwin vs Cygwin64 Floating Point Discrepancy bernardwidynski at gmail dot com
@ 2014-09-27 21:00 ` bernardwidynski at gmail dot com
  2014-09-27 21:00 ` bernardwidynski at gmail dot com
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: bernardwidynski at gmail dot com @ 2014-09-27 21:00 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63395

--- Comment #3 from bernardwidynski at gmail dot com ---
Created attachment 33593
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33593&action=edit
Cywin .i file


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug other/63395] Cygwin vs Cygwin64 Floating Point Discrepancy
       [not found] <bug-63395-4@http.gcc.gnu.org/bugzilla/>
  2014-09-27 20:59 ` [Bug other/63395] Cygwin vs Cygwin64 Floating Point Discrepancy bernardwidynski at gmail dot com
  2014-09-27 21:00 ` bernardwidynski at gmail dot com
@ 2014-09-27 21:00 ` bernardwidynski at gmail dot com
  2014-09-27 21:01 ` bernardwidynski at gmail dot com
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: bernardwidynski at gmail dot com @ 2014-09-27 21:00 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63395

--- Comment #2 from bernardwidynski at gmail dot com ---
Created attachment 33592
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33592&action=edit
Cygwin64 output file


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug other/63395] Cygwin vs Cygwin64 Floating Point Discrepancy
       [not found] <bug-63395-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2014-09-27 21:01 ` bernardwidynski at gmail dot com
@ 2014-09-27 21:01 ` bernardwidynski at gmail dot com
  2014-09-27 21:02 ` bernardwidynski at gmail dot com
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: bernardwidynski at gmail dot com @ 2014-09-27 21:01 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63395

--- Comment #4 from bernardwidynski at gmail dot com ---
Created attachment 33594
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33594&action=edit
Cygwin64 .i file


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug other/63395] Cygwin vs Cygwin64 Floating Point Discrepancy
       [not found] <bug-63395-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2014-09-27 21:00 ` bernardwidynski at gmail dot com
@ 2014-09-27 21:01 ` bernardwidynski at gmail dot com
  2014-09-27 21:01 ` bernardwidynski at gmail dot com
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: bernardwidynski at gmail dot com @ 2014-09-27 21:01 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63395

--- Comment #5 from bernardwidynski at gmail dot com ---
Created attachment 33595
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33595&action=edit
makefile


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug other/63395] Cygwin vs Cygwin64 Floating Point Discrepancy
       [not found] <bug-63395-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2014-09-27 21:01 ` bernardwidynski at gmail dot com
@ 2014-09-27 21:02 ` bernardwidynski at gmail dot com
  2014-09-27 21:03 ` bernardwidynski at gmail dot com
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: bernardwidynski at gmail dot com @ 2014-09-27 21:02 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63395

--- Comment #6 from bernardwidynski at gmail dot com ---
Created attachment 33596
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33596&action=edit
Cygwin make output


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug other/63395] Cygwin vs Cygwin64 Floating Point Discrepancy
       [not found] <bug-63395-4@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2014-09-27 21:02 ` bernardwidynski at gmail dot com
@ 2014-09-27 21:03 ` bernardwidynski at gmail dot com
  2014-09-27 21:03 ` bernardwidynski at gmail dot com
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: bernardwidynski at gmail dot com @ 2014-09-27 21:03 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63395

--- Comment #8 from bernardwidynski at gmail dot com ---
Created attachment 33598
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33598&action=edit
Cygwin cygcheck output


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug other/63395] Cygwin vs Cygwin64 Floating Point Discrepancy
       [not found] <bug-63395-4@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2014-09-27 21:03 ` bernardwidynski at gmail dot com
@ 2014-09-27 21:03 ` bernardwidynski at gmail dot com
  2014-09-27 21:04 ` bernardwidynski at gmail dot com
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: bernardwidynski at gmail dot com @ 2014-09-27 21:03 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63395

--- Comment #7 from bernardwidynski at gmail dot com ---
Created attachment 33597
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33597&action=edit
Cygwin64 make output


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug other/63395] Cygwin vs Cygwin64 Floating Point Discrepancy
       [not found] <bug-63395-4@http.gcc.gnu.org/bugzilla/>
                   ` (7 preceding siblings ...)
  2014-09-27 21:03 ` bernardwidynski at gmail dot com
@ 2014-09-27 21:04 ` bernardwidynski at gmail dot com
  2014-09-27 23:09 ` mikpelinux at gmail dot com
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: bernardwidynski at gmail dot com @ 2014-09-27 21:04 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63395

--- Comment #9 from bernardwidynski at gmail dot com ---
Created attachment 33599
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33599&action=edit
Cygwin64 cygcheck output


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug other/63395] Cygwin vs Cygwin64 Floating Point Discrepancy
       [not found] <bug-63395-4@http.gcc.gnu.org/bugzilla/>
                   ` (8 preceding siblings ...)
  2014-09-27 21:04 ` bernardwidynski at gmail dot com
@ 2014-09-27 23:09 ` mikpelinux at gmail dot com
  2014-09-28 19:37 ` bernardwidynski at gmail dot com
  2014-09-29 10:56 ` rguenth at gcc dot gnu.org
  11 siblings, 0 replies; 12+ messages in thread
From: mikpelinux at gmail dot com @ 2014-09-27 23:09 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63395

--- Comment #10 from Mikael Pettersson <mikpelinux at gmail dot com> ---
I strongly suspect 32-bit Cygwin uses x87 by default, while 64-bit Cygwin
probably uses SSE2 by default.  These two FP implementations are very
different, and it's not at all surprising to see different results from them.

Try compiling with -mpc64 on 32-bit Cygwin.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug other/63395] Cygwin vs Cygwin64 Floating Point Discrepancy
       [not found] <bug-63395-4@http.gcc.gnu.org/bugzilla/>
                   ` (9 preceding siblings ...)
  2014-09-27 23:09 ` mikpelinux at gmail dot com
@ 2014-09-28 19:37 ` bernardwidynski at gmail dot com
  2014-09-29 10:56 ` rguenth at gcc dot gnu.org
  11 siblings, 0 replies; 12+ messages in thread
From: bernardwidynski at gmail dot com @ 2014-09-28 19:37 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63395

--- Comment #11 from bernardwidynski at gmail dot com ---
Thanks for the information.

I looked at the .s assembly files.

32-bit Cygwin uses the "fmul" instruction.

64-bit Cygwin uses the "mulsd" instruction.

I tried -mpc64 on 32-bit Cygwin but got the same results.

On Sat, Sep 27, 2014 at 4:09 PM, mikpelinux at gmail dot com <
gcc-bugzilla@gcc.gnu.org> wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63395
>
> --- Comment #10 from Mikael Pettersson <mikpelinux at gmail dot com> ---
> I strongly suspect 32-bit Cygwin uses x87 by default, while 64-bit Cygwin
> probably uses SSE2 by default.  These two FP implementations are very
> different, and it's not at all surprising to see different results from
> them.
>
> Try compiling with -mpc64 on 32-bit Cygwin.
>
> --
> You are receiving this mail because:
> You reported the bug.
>


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug other/63395] Cygwin vs Cygwin64 Floating Point Discrepancy
       [not found] <bug-63395-4@http.gcc.gnu.org/bugzilla/>
                   ` (10 preceding siblings ...)
  2014-09-28 19:37 ` bernardwidynski at gmail dot com
@ 2014-09-29 10:56 ` rguenth at gcc dot gnu.org
  11 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-09-29 10:56 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63395

--- Comment #12 from Richard Biener <rguenth at gcc dot gnu.org> ---
You can also try -fexcess-precision=standard on Cygwin, -mpc64 might not be
implemented there.


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-09-29 10:56 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-63395-4@http.gcc.gnu.org/bugzilla/>
2014-09-27 20:59 ` [Bug other/63395] Cygwin vs Cygwin64 Floating Point Discrepancy bernardwidynski at gmail dot com
2014-09-27 21:00 ` bernardwidynski at gmail dot com
2014-09-27 21:00 ` bernardwidynski at gmail dot com
2014-09-27 21:01 ` bernardwidynski at gmail dot com
2014-09-27 21:01 ` bernardwidynski at gmail dot com
2014-09-27 21:02 ` bernardwidynski at gmail dot com
2014-09-27 21:03 ` bernardwidynski at gmail dot com
2014-09-27 21:03 ` bernardwidynski at gmail dot com
2014-09-27 21:04 ` bernardwidynski at gmail dot com
2014-09-27 23:09 ` mikpelinux at gmail dot com
2014-09-28 19:37 ` bernardwidynski at gmail dot com
2014-09-29 10:56 ` rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).