/* SCE CONFIDENTIAL
PLAYSTATION(R)3 Programmer Tool Runtime Library 154.001
* Copyright (C) 2004 Sony Computer Entertainment Inc. 
* All Rights Reserved.
*/
#ifndef _TT800_GLOBALS_H_
#define _TT800_GLOBALS_H_

// These are global values and typedefs needed in the tt800 random number generator
// implementation and in the definitions of it's global state vector

#define _N_TT800 25
#define _N_TT800_QWORDS ((25/4)+1)
#define _M_TT800 7

struct __TT800_State_t
{
  // Current batch of TT800 generated numbers
  vec_uint4 State[_M_TT800]; 
  // Next number in the state vector to be returned to the caller
  int Next_Number;
};

#ifndef __cplusplus
typedef struct __TT800_State_t __TT800_State_t;
#endif

#endif
