SDL opteron MMX patch

Opterons and other amd64’s can use most MMX assembly and such if it’s
properly-written gcc inline assembly. NASM binaries and such can’t,
unfortunately, but I’ve managed to enable most x86 assembly in SDL for
amd64 in this patch.

Difference is taken from SDL 1.2.8.
-------------- next part --------------
A non-text attachment was scrubbed…
Name: sdl-1.2.8-opteron-mmx.diff
Type: text/x-diff
Size: 14834 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20050617/ed13840c/attachment.diff

Tyler Montbriand a ?crit :

Opterons and other amd64’s can use most MMX assembly and such if it’s
properly-written gcc inline assembly. NASM binaries and such can’t,
unfortunately, but I’ve managed to enable most x86 assembly in SDL for
amd64 in this patch.

Difference is taken from SDL 1.2.8.

Did you actually try all the functions ? With this patch a number of
things will definitely break, both on x86_64 and ia32.

Stephane