This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/17990] [3.4/4.0 Regression] unaligned xmm movaps on the stack with -O2 -msse
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Oct 2004 18:40:30 -0000
- Subject: [Bug target/17990] [3.4/4.0 Regression] unaligned xmm movaps on the stack with -O2 -msse
- References: <20041014032810.17990.shadow@serverart.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-10-15 18:40 -------
I have a very similar problem in my program. It segfaults in this instruction:
0x0815935d <vector+203>: movapd %xmm0,(%eax)
where I have
eax 0xbfffd874 -1073751948
and
(gdb) p ((unsigned int)0xbfffd874)
$1 = 3221215348
(gdb) p ((unsigned int)0xbfffd874) % 16
$2 = 4
So indeed movapd isn't writing to 16-byte aligned storage.
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17990