Re: Checksums (again)


CLYNN@G.BBN.COM
31 Mar 1988 09:03-EST


Dave, I've never used a CRAY, but assuming it has unsigned arithmetic,
would it be faster to read & split 64-bit quantities similar to
        sum += (((unsigned) DATA) >> 32) + (0xFFFFFFFF & DATA);
or to
        if ( (sum += DATA) < DATA ) sum++;
?

Charlie



This archive was generated by hypermail 2.0b3 on Thu Mar 09 2000 - 14:41:08 GMT