[Bug c++/15820] GCC emits MOVAPS to load unaligned data in case when -O2 is invoked
dimfair at yahoo dot com
gcc-bugzilla@gcc.gnu.org
Fri Jun 4 14:26:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list