mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-26 18:47:19 +03:00
Integrate SFMT 1.3.3 into test infrastructure.
Integrate the SIMD-oriented Fast Mersenne Twister (SFMT) 1.3.3 into the test infrastructure. The sfmt_t state encapsulation modification comes from Crux (http://www.canonware.com/Crux/) and enables multiple concurrent PRNGs. test/unit/SFMT.c is an adaptation of SFMT's test.c that performs all the same validation, both for 32- and 64-bit generation.
This commit is contained in:
parent
a4f124f59f
commit
80061b6df0
22 changed files with 3876 additions and 1 deletions
|
|
@ -35,6 +35,8 @@
|
|||
not_implemented(); \
|
||||
} while (0)
|
||||
|
||||
#include "test/jemalloc_test_defs.h"
|
||||
|
||||
/******************************************************************************/
|
||||
/*
|
||||
* For unit tests, expose all public and private interfaces.
|
||||
|
|
@ -109,3 +111,5 @@
|
|||
*/
|
||||
#include "test/test.h"
|
||||
#include "test/thread.h"
|
||||
#define MEXP 19937
|
||||
#include "test/SFMT.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue