Loading...
Searching...
No Matches
42#ifndef __YTLIB_RNG_DSFMT_PARAMS_H
43#define __YTLIB_RNG_DSFMT_PARAMS_H
45#include "ytRNG_dSFMT.h"
74#define DSFMT_LOW_MASK UINT64_C(0x000FFFFFFFFFFFFF)
75#define DSFMT_HIGH_CONST UINT64_C(0x3FF0000000000000)
80 #define SSE2_SHUFF 0x1b
81#elif defined(HAVE_ALTIVEC)
82 #if defined(__APPLE__)
83 #define ALTI_SR (vector unsigned char)(4)
84 #define ALTI_SR_PERM \
85 (vector unsigned char)(15,0,1,2,3,4,5,6,15,8,9,10,11,12,13,14)
87 (vector unsigned int)(0x000fffffU,0xffffffffU,0x000fffffU,0xffffffffU)
89 (vector unsigned char)(12,13,14,15,8,9,10,11,4,5,6,7,0,1,2,3)
92 #define ALTI_SR_PERM {15,0,1,2,3,4,5,6,15,8,9,10,11,12,13,14}
93 #define ALTI_SR_MSK {0x000fffffU,0xffffffffU,0x000fffffU,0xffffffffU}
94 #define ALTI_PERM {12,13,14,15,8,9,10,11,4,5,6,7,0,1,2,3}
99 #include "dSFMT-params521.h"
100#elif DSFMT_MEXP == 1279
101 #include "dSFMT-params1279.h"
102#elif DSFMT_MEXP == 2203
103 #include "dSFMT-params2203.h"
104#elif DSFMT_MEXP == 4253
105 #include "dSFMT-params4253.h"
106#elif DSFMT_MEXP == 11213
107 #include "dSFMT-params11213.h"
108#elif DSFMT_MEXP == 19937
109 #include "ytRNG_dSFMT-params19937.h"
110#elif DSFMT_MEXP == 44497
111 #include "dSFMT-params44497.h"
112#elif DSFMT_MEXP == 86243
113 #include "dSFMT-params86243.h"
114#elif DSFMT_MEXP == 132049
115 #include "dSFMT-params132049.h"
116#elif DSFMT_MEXP == 216091
117 #include "dSFMT-params216091.h"
120 #error "DSFMT_MEXP is not valid."