search for: 2_2_8

Displaying 1 result from an estimated 1 matches for "2_2_8".

Did you mean: c_2_8
2003 May 27
1
[RESEND] crc32 optimization
...ctions on x86 with gcc. gcc can't figure out this simple optimization by itself on x86. Further optimization is possible by using the impl. in the linux 2.5 kernel, but I don't know if it is worth it. Is crc32 common in samba? What would the typical buffer len be? Jocke Patch against 2_2_8 CVS: --- lib/crc32.c Sat Oct 20 23:23:35 2001 +++ lib/crc32.c.new Tue May 13 14:45:31 2003 @@ -60,7 +60,7 @@ uint32 crc=0xffffffff; int i; for(i=0;i<count;i++) - crc = (crc>>8) ^ CRCTable[(buffer[i] ^ crc) & 0xff]; + crc = CRCTable[(buf...