• Sam Lantinga's avatar
    Date: Tue, 30 Mar 2004 21:26:47 -0600 · b078fb19
    Sam Lantinga authored
    From: Tyler Montbriand
    Subject: [SDL] Opteron MMX patches for SDL_blit.c and SDL_blit_A.c
    
    The inline MMX assembly in SDL_blit.c and SDL_blit_A.c compiles and runs fine
    unmodified under AMD Opteron.  The inline assembly in SDL_yuv_mmx.c and
    SDL_blit_N.c unfortunately isn't directly compatible.
    
    I've included diffs from SDL_blit.c and SDL_blit_A.c that allow the MMX
    assembly to be compiled when USE_ASMBLIT, __x86_64__, and __GNUC__ are all
    defined.  All I had to modify was typedefs, the inline assembly itself wasn't
    touched.
    
    --HG--
    extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40881
    b078fb19