ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/liblzf/lzf_d.c
(Generate patch)

Comparing liblzf/lzf_d.c (file contents):
Revision 1.12 by root, Tue Jun 1 01:15:34 2010 UTC vs.
Revision 1.13 by root, Mon Mar 28 00:10:31 2011 UTC

41#else 41#else
42# include <errno.h> 42# include <errno.h>
43# define SET_ERRNO(n) errno = (n) 43# define SET_ERRNO(n) errno = (n)
44#endif 44#endif
45 45
46#define USE_REP_MOVSB 1
46#if USE_REP_MOVSB /* small win on amd, big loss on intel */ 47#if USE_REP_MOVSB /* small win on amd, big loss on intel */
47#if (__i386 || __amd64) && __GNUC__ >= 3 48#if (__i386 || __amd64) && __GNUC__ >= 3
48# define lzf_movsb(dst, src, len) \ 49# define lzf_movsb(dst, src, len) \
49 asm ("rep movsb" \ 50 asm ("rep movsb" \
50 : "=D" (dst), "=S" (src), "=c" (len) \ 51 : "=D" (dst), "=S" (src), "=c" (len) \

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines