Ignore:
Timestamp:
Jun 30, 2020, 12:43:03 PM (16 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast, new-ast-unique-expr
Children:
7812a7b5
Parents:
9bbbc8e
Message:

Switched RNG from lehmer64 to wyhash64 for 32-bit builts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/kernel_private.hfa

    r9bbbc8e rbdce852  
    9696        // kernelTLS.rand_seed ^= kernelTLS.rand_seed << 7;
    9797        // return kernelTLS.rand_seed;
    98         return __lehmer64( kernelTLS.rand_seed );
     98        #if defined(__SIZEOF_INT128__)
     99                return __lehmer64( kernelTLS.rand_seed );
     100        #else
     101                return __wyhash64( kernelTLS.rand_seed );
     102        #endif
    99103}
    100104
Note: See TracChangeset for help on using the changeset viewer.