Re: Strangeness with SSE(1)

2011-01-21 Thread Ian Lance Taylor
"David Mathog" writes: > Can somebody please explain the behavior of the following program > to me? This question is not appropriate for the gcc@gcc.gnu.org mailing list, which is for the development of gcc itself. It would be appropriate on gcc-h...@gcc.gnu.org. Please take any followups to g

Re: Strangeness with SSE(1)

2011-01-21 Thread David Mathog
Can somebody please explain the behavior of the following program to me? cat >test.c < #include #include int main(void){ register __m128 var; fprintf(stdout,"pre %X\n",var); var = _mm_setzero_ps(); fprintf(stdout,"post %X\n",var); fprintf(stdout,"zerof %X\n",0.0f); exit(EXIT_SU

Strangeness with SSE(1)

2011-01-20 Thread David Mathog
I'm seeing the oddest thing with a function compiled like: mpicc -std=gnu99 -O1 -g -m32 -pthread -msse -mno-sse2 -DHAVE_CONFIG_H -I../../easel -I../../easel -I. -I.. -I. -I../../src -o fwdback.o -c fwdback.c using both gcc versions gcc (GCC) 4.4.1 (on a 64 bit linux) gcc (GCC) 4.2.3 (4.2.3-6m