src/os.cc
// Run C or ASM copy as appropriate..
Run C or ASM copy as appropriate
Run C or ASM copy as appropriate
bool OsLayer::AdlerMemcpyWarm(uint64 *dstmem, uint64 *srcmem,
                              unsigned int size_in_bytes,
                              AdlerChecksum *checksum) {
  if (has_sse2_) {
    return AdlerMemcpyAsm(dstmem, srcmem, size_in_bytes, checksum);
  } else {
    return AdlerMemcpyWarmC(dstmem, srcmem, size_in_bytes, checksum);
  }
}
bool OsLayer :: AdlerMemcpyWarm ( uint64 * dstmem , uint64 * srcmem , unsigned int size_in_bytes , AdlerChecksum * checksum ) { if ( has_sse2_ ) { return AdlerMemcpyAsm ( dstmem , srcmem , size_in_bytes , checksum ) ; } else { return AdlerMemcpyWarmC ( dstmem , srcmem , size_in_bytes , checksum ) ; } }
Run C or ASM copy as appropriate..
Run C or ASM copy as appropriate ..