--- Julian Seward <address@hidden> a ?crit :
The SSE2 instructions cvttps2dq, movdq2q, movq2dq do not behave
correctly, as shown by the attached program. It should print
cvttps2dq_1 ... ok
cvttps2dq_2 ... ok
movdq2q_1 ... ok
movq2dq_1 ... ok
I tried your program on my linux station :
CPU: AMD Athlon(tm) XP 1600+ stepping 02
address@hidden qemu]$ gcc --version
gcc (GCC) 4.1.1 20060525 (Red Hat 4.1.1-1)
address@hidden qemu]$ gcc -msse2 sse2test.c -o sse2test
address@hidden qemu]$ ./sse2test
cvttps2dq_1 ... failed
cvttps2dq_2 ... failed
movdq2q_1 ... failed
movq2dq_1 ... failed
what am i doing wrong here ?