comparison include/SDL_stdinc.h @ 2302:7ae1c419b626

Merged r3534:3535 from branches/SDL-1.2: Reset direction flag in SDL_revcpy().
author Ryan C. Gordon <icculus@icculus.org>
date Mon, 04 Feb 2008 17:25:33 +0000
parents 65bb3dd0b350
children e27bdcc80744 ce3ddf8dd6d2 f667489e7309
comparison
equal deleted inserted replaced
2301:ebcebb426771 2302:7ae1c419b626
371 int n = (len); \ 371 int n = (len); \
372 if ( n >= 4 ) { \ 372 if ( n >= 4 ) { \
373 __asm__ __volatile__ ( \ 373 __asm__ __volatile__ ( \
374 "std\n\t" \ 374 "std\n\t" \
375 "rep ; movsl\n\t" \ 375 "rep ; movsl\n\t" \
376 "cld\n\t" \
376 : "=&c" (u0), "=&D" (u1), "=&S" (u2) \ 377 : "=&c" (u0), "=&D" (u1), "=&S" (u2) \
377 : "0" (n >> 2), \ 378 : "0" (n >> 2), \
378 "1" (dstp+(n-4)), "2" (srcp+(n-4)) \ 379 "1" (dstp+(n-4)), "2" (srcp+(n-4)) \
379 : "memory" ); \ 380 : "memory" ); \
380 } \ 381 } \