Mercurial > sdl-ios-xcode
view src/video/photon/Makefile.am @ 880:9ef41050100c
Date: Tue, 30 Mar 2004 21:26:47 -0600
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.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 11 Apr 2004 19:47:28 +0000 |
parents | e4af2c852c09 |
children | 4ab6d1fd028f |
line wrap: on
line source
## Makefile.am for SDL using the QNX Photon video driver noinst_LTLIBRARIES = libvideo_photon.la libvideo_photon_la_SOURCES = $(PH_SRCS) # The SDL QNX Photon video driver sources PH_SRCS = \ SDL_ph_events.c \ SDL_ph_events_c.h \ SDL_ph_image.c \ SDL_ph_image_c.h \ SDL_ph_modes.c \ SDL_ph_modes_c.h \ SDL_ph_mouse.c \ SDL_ph_mouse_c.h \ SDL_ph_video.c \ SDL_ph_video.h \ SDL_ph_wm.c \ SDL_ph_wm_c.h \ SDL_phyuv.c \ SDL_phyuv_c.h