aboutsummaryrefslogtreecommitdiffstats
path: root/test/mppa/lib
diff options
context:
space:
mode:
authorCyril SIX <cyril.six@kalray.eu>2018-06-05 17:48:22 +0200
committerCyril SIX <cyril.six@kalray.eu>2018-06-05 17:48:22 +0200
commit7b5eb7e675ee0978e1b17b75f827dcd45df8c250 (patch)
tree579a452155dea5211f3a8484badfa995004dc718 /test/mppa/lib
parentbcbe036e9b43adcaf2faf10cf32456608b0602c5 (diff)
downloadcompcert-kvx-7b5eb7e675ee0978e1b17b75f827dcd45df8c250.tar.gz
compcert-kvx-7b5eb7e675ee0978e1b17b75f827dcd45df8c250.zip
WIP - Changed all the general tests to include PRNG (instead of small constants)
Diffstat (limited to 'test/mppa/lib')
-rw-r--r--test/mppa/lib/prng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mppa/lib/prng.c b/test/mppa/lib/prng.c
index dfa97834..59ec7ca6 100644
--- a/test/mppa/lib/prng.c
+++ b/test/mppa/lib/prng.c
@@ -9,7 +9,7 @@
static uint64_t current;
void srand(uint64_t seed){
- seed = current;
+ current = seed;
}
uint64_t randlong(void){