Falling back to 32-bit integers for dim_t, etc.

Details:
- In light of recent segfaulting issues when compiling on 32-bit systems,
  I've changed the default typedef for gint_t and guint_t from int64_t and
  uint64_t to int32_t and uint32_t, respectively.
- Disabled 64-bit integers in the blas2blis layer for the reference
  configuration.
- Added type sizes of gint_t, guint_t, and the four floating-point datatypes
  to introductory output of the testsuite.
This commit is contained in:
Field G. Van Zee
2013-09-04 12:09:11 -05:00
parent b776ddcd43
commit 981a60cfa0
3 changed files with 21 additions and 3 deletions

View File

@@ -48,14 +48,24 @@
#include <stdint.h>
#else
// When stdint.h is not available, manually typedef the types we will use.
typedef signed long int int64_t;
#if 0
typedef signed long int int64_t;
typedef unsigned long int uint64_t;
#else
typedef signed long int int32_t;
typedef unsigned long int uint32_t;
#endif
#endif
// -- General-purpose integers --
typedef int64_t gint_t; // general signed integer
#if 0
typedef int64_t gint_t; // general signed integer
typedef uint64_t guint_t; // general unsigned integer
#else
typedef int32_t gint_t; // general signed integer
typedef uint32_t guint_t; // general unsigned integer
#endif
// -- Boolean type --