This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/47617] SSE rounding mode works -g, not -O3
- From: "cck0011 at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 8 Feb 2011 01:46:22 +0000
- Subject: [Bug target/47617] SSE rounding mode works -g, not -O3
- Auto-submitted: auto-generated
- References: <bug-47617-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47617
--- Comment #5 from cck0011 at yahoo dot com 2011-02-08 01:46:18 UTC ---
(In reply to comment #4)
> Created attachment 23273 [details]
> source file
>
> Here's the source code. Rename to round.c.
Hi Richard,
here's the source code. Rename to round.c.
I think I must be doing something wrong here. Someone would have noticed that
results from _mm_cvtps_pi16 weren't changing when _MM_SET_ROUNDING_MODE() was
called. -) I'm puzzled by it working with -g, but not with -O3.
Any additional information I can provide?
Thanks!