public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dimfair at yahoo dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/15820] GCC emits MOVAPS to load unaligned data in case when -O2 is invoked
Date: Fri, 04 Jun 2004 14:26:00 -0000 [thread overview]
Message-ID: <20040604142626.13141.qmail@sourceware.org> (raw)
In-Reply-To: <20040604130940.15820.dimfair@yahoo.com>
------- Additional Comments From dimfair at yahoo dot com 2004-06-04 14:26 -------
(In reply to comment #2)
> To be more explicit: if you pass this function an unaligned pointer,
> how can you expect the compiler to do something about it?
>
> W.
test function is a (specially) simplified inversion of 6x6 matrix function
which get src aligned parameter always.
I'm sure this is a compiler's bug, because gcc uses MOVAPS for loading of __m64
parameter of _mm_loadh_pi which _can be unaligned_ according to Intel's specs
(BTW, I found this bug when I ported healthy program from Intel's compiler to
GCC).
NOTE: test function is meaningless (but correct!) because I tried to make the
shortest testcase (try to comment ANY line and bug disappeared).
Dmitry (it's my name :)) )
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15820
next prev parent reply other threads:[~2004-06-04 14:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-04 13:09 [Bug c++/15820] New: " dimfair at yahoo dot com
2004-06-04 13:12 ` [Bug c++/15820] " pinskia at gcc dot gnu dot org
2004-06-04 13:44 ` bangerth at dealii dot org
2004-06-04 14:26 ` dimfair at yahoo dot com [this message]
2004-06-04 14:37 ` [Bug target/15820] " pinskia at gcc dot gnu dot org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040604142626.13141.qmail@sourceware.org \
--to=gcc-bugzilla@gcc.gnu.org \
--cc=gcc-bugs@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).