Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Use MMX intrinsics over GCC inline assembly
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Aug 16, 2007
1 parent 0a20e2a commit 18b2348
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 702 deletions.
9 changes: 0 additions & 9 deletions src/video/SDL_blit.c
Expand Up @@ -28,15 +28,6 @@
#include "SDL_RLEaccel_c.h"
#include "SDL_pixels_c.h"

#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) && SDL_ASSEMBLY_ROUTINES
#define MMX_ASMBLIT
#endif

#if defined(MMX_ASMBLIT)
#include "SDL_cpuinfo.h"
#include "mmx.h"
#endif

/* The general purpose software blit routine */
static int
SDL_SoftBlit(SDL_Surface * src, SDL_Rect * srcrect,
Expand Down

0 comments on commit 18b2348

Please sign in to comment.