[Bug target/67032] Geode optimizations incorrectly return -NaN

2015-07-28 Thread joshkel at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67032 --- Comment #8 from Josh Kelley joshkel at gmail dot com --- Adding -mno-mmx prevents the error. Thank you very much for your help.

[Bug target/67032] Geode optimizations incorrectly return -NaN

2015-07-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67032 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Component|c++ |target

[Bug target/67032] Geode optimizations incorrectly return -NaN

2015-07-27 Thread joshkel at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67032 --- Comment #1 from Josh Kelley joshkel at gmail dot com --- I forgot to mention that the buggy behavior can be observed by running the resulting Geode-optimized executable on a standard PC as well as on a Geode.

[Bug target/67032] Geode optimizations incorrectly return -NaN

2015-07-27 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67032 --- Comment #2 from Uroš Bizjak ubizjak at gmail dot com --- Please attach a *preprocessed* source, as instructed in [1]. [1] https://gcc.gnu.org/bugs/

[Bug target/67032] Geode optimizations incorrectly return -NaN

2015-07-27 Thread joshkel at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67032 --- Comment #4 from Josh Kelley joshkel at gmail dot com --- Created attachment 36074 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=36074action=edit Preprocessed Statistic.cpp from test case

[Bug target/67032] Geode optimizations incorrectly return -NaN

2015-07-27 Thread joshkel at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67032 --- Comment #3 from Josh Kelley joshkel at gmail dot com --- Created attachment 36073 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=36073action=edit Preprocessed main.cpp from test case

[Bug target/67032] Geode optimizations incorrectly return -NaN

2015-07-27 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67032 Uroš Bizjak ubizjak at gmail dot com changed: What|Removed |Added Keywords||ra

[Bug target/67032] Geode optimizations incorrectly return -NaN

2015-07-27 Thread joshkel at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67032 --- Comment #5 from Josh Kelley joshkel at gmail dot com --- Additional information requested in https://gcc.gnu.org/bugs/: Using built-in specs. COLLECT_GCC=g++-5 COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/5/lto-wrapper Target:

[Bug target/67032] Geode optimizations incorrectly return -NaN

2015-07-27 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67032 --- Comment #7 from Uroš Bizjak ubizjak at gmail dot com --- Forgot to say that -mno-mmx disables moves to/from MMX regs in your case.