Ignore:
Timestamp:
Jun 30, 2020, 1:21:39 PM (17 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast, new-ast-unique-expr
Children:
398e8e9, 9f7fff4
Parents:
bdce852
Message:

Fixed errors and warning with x86 build

File:
1 edited

Legend:

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

    rbdce852 r7812a7b5  
    9292
    9393static inline uint64_t __tls_rand() {
    94         // kernelTLS.rand_seed ^= kernelTLS.rand_seed << 6;
    95         // kernelTLS.rand_seed ^= kernelTLS.rand_seed >> 21;
    96         // kernelTLS.rand_seed ^= kernelTLS.rand_seed << 7;
    97         // return kernelTLS.rand_seed;
    9894        #if defined(__SIZEOF_INT128__)
    9995                return __lehmer64( kernelTLS.rand_seed );
    10096        #else
    101                 return __wyhash64( kernelTLS.rand_seed );
     97                return __xorshift64( kernelTLS.rand_seed );
    10298        #endif
    10399}
Note: See TracChangeset for help on using the changeset viewer.