comparison src/http/ngx_http_cache.c @ 107:b5be4b0448d3

nginx-0.0.1-2003-07-01-19:00:03 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 01 Jul 2003 15:00:03 +0000
parents 00bee6e7b485
children c42be4185301
comparison
equal deleted inserted replaced
106:9f9de4deda7e 107:b5be4b0448d3
81 { 81 {
82 u_int32_t sum; 82 u_int32_t sum;
83 83
84 for (sum = 0; len; len--) { 84 for (sum = 0; len; len--) {
85 /* 85 /*
86 * gcc 2.95.2 x86 compiles that operator into the single rol opcode. 86 * gcc 2.95.2 x86 and icc 7.1.006 compile that operator
87 * into the single rol opcode.
87 * msvc 6.0sp2 compiles it into four opcodes. 88 * msvc 6.0sp2 compiles it into four opcodes.
88 */ 89 */
89 sum = sum >> 1 | sum << 31; 90 sum = sum >> 1 | sum << 31;
90 91
91 sum += *data++; 92 sum += *data++;