This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/17990] [3.4/4.0 Regression] unaligned xmm movaps on the stack with -O2 -msse


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]