2012/1/20 Ingo Weinhold <ingo_weinhold@xxxxxx>: > Alexander von Gluck wrote: >> On 19.01.2012 17:26, Ingo Weinhold wrote: >> > Alexander von Gluck wrote: >> >> 1) You can download the following (simple) sse2 test c program: >> >> http://pub.haikufire.com/sse.c >> >> >> >> 2) compile it via: gcc sse.c -msse2 -o sse >> >> >> >> 3) run it to have it crash as soon as it attempts the sse code. >> > >> > Like on executing the first SSE instruction? And how does it crash (which >> > exception)? >> >> "General Protection Fault" > > If it happens when executing the first SSE instruction, then it's very likely > something that we're not setting up (correctly). A look at the IA-32 specs > should help find out what our setup is missing yet. I have the same issue with MMX. I havn't used MMX much before so I thought it was just me. I've tried w/o alignment, saving/restoring fpu, emms, sfence and so on. But just doing a 'movd %eax, %mm0' hangs. /Fredrik Holmqvist, TQH