Ignore:
Timestamp:
Jan 12, 2022, 9:30:48 PM (2 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
Children:
42daeb4
Parents:
1959528 (diff), 07a1e7a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Peter A. Buhr <pabuhr@…> (01/12/22 18:35:04)
git-committer:
Peter A. Buhr <pabuhr@…> (01/12/22 21:30:48)
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/startup.cfa

    r1959528 r00f5fde  
    1010// Created On       : Tue Jul 24 16:21:57 2018
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Jan 12 16:25:37 2022
    13 // Update Count     : 49
     12// Last Modified On : Wed Jan 12 18:51:24 2022
     13// Update Count     : 51
    1414//
    1515
     
    2020#include "bits/defs.hfa"
    2121
    22 extern uint32_t __global_random_seed;
     22extern uint32_t __global_random_seed, __global_random_state;
    2323
    2424extern "C" {
     
    5151        void __cfaabi_core_startup( void ) __attribute__(( constructor( STARTUP_PRIORITY_CORE ) ));
    5252        void __cfaabi_core_startup( void ) {
    53                 __global_random_seed = rdtscl();
     53                __global_random_state = __global_random_seed = rdtscl();
    5454                __cfaabi_interpose_startup();
    5555                __cfaabi_device_startup();
Note: See TracChangeset for help on using the changeset viewer.