include/SDL_stdinc.h
branchSDL-1.2
changeset 4137 be12463f31ea
parent 4100 ad8bdb215737
child 4159 a1b03ba2fcd0
equal deleted inserted replaced
4136:8797fa6e2fb2 4137:be12463f31ea
   329 	int n = (len);					\
   329 	int n = (len);					\
   330 	if ( n >= 4 ) {					\
   330 	if ( n >= 4 ) {					\
   331 	__asm__ __volatile__ (				\
   331 	__asm__ __volatile__ (				\
   332 		"std\n\t"				\
   332 		"std\n\t"				\
   333 		"rep ; movsl\n\t"			\
   333 		"rep ; movsl\n\t"			\
       
   334 		"cld\n\t"				\
   334 		: "=&c" (u0), "=&D" (u1), "=&S" (u2)	\
   335 		: "=&c" (u0), "=&D" (u1), "=&S" (u2)	\
   335 		: "0" (n >> 2),				\
   336 		: "0" (n >> 2),				\
   336 		  "1" (dstp+(n-4)), "2" (srcp+(n-4))	\
   337 		  "1" (dstp+(n-4)), "2" (srcp+(n-4))	\
   337 		: "memory" );				\
   338 		: "memory" );				\
   338 	}						\
   339 	}						\