This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Optimized SSE/MMX code crashing at runtime
- From: Craig McNally <cmcnally at ll dot mit dot edu>
- To: gcc-help at gcc dot gnu dot org
- Date: 27 Oct 2004 11:49:51 -0400
- Subject: Optimized SSE/MMX code crashing at runtime
- Organization:
Hello,
I think I may have found a bug, but I'm not sure.
When compiling my SSE/MMX code in debug mode (-g), my program works
fine. When compiling that same code optimized (O3), my program crashes
at run time. In both cases the code compiles without errors. I am
using gcc-3.4.1 on a pentium 4.
I have narrowed the problem down to the _mm_storel_pi() intrinsic. In
some instances there is no problem. However, further into the program,
the very same command with the same syntax causes the program to crash
at runtime.
Any suggestions would be greatly appreciated.
-Craig McNally
cmcnally@ll.mit.edu