VMS/VMS_Implementations/VMS_impls/VMS__MC_shared_impl

view PR_primitive_data_types.h @ 286:b02b34681414

VReo V2 -- saves checker and doer fn with the port, where triggered
author Sean Halle <seanhalle@yahoo.com>
date Wed, 10 Jul 2013 14:49:04 -0700
parents 999f2966a3e5
children
line source
1 /*
2 * Copyright 2009 OpenSourceResearchInstitute.org
3 * Licensed under GNU General Public License version 2
4 *
5 * Author: seanhalle@yahoo.com
6 *
8 */
10 #ifndef _PRIMITIVE_DATA_TYPES_H
11 #define _PRIMITIVE_DATA_TYPES_H
14 /*For portability, need primitive data types that have a well defined
15 * size, and well-defined layout into bytes
16 *To do this, provide standard aliases for all primitive data types
17 *These aliases must be used in all functions instead of the ANSI types
18 *
19 *When PR is used together with BLIS, these definitions will be replaced
20 * inside each specialization module according to the compiler used in
21 * that module and the hardware being specialized to.
22 */
23 typedef char bool8;
24 typedef char int8;
25 typedef char uint8;
26 typedef short int16;
27 typedef unsigned short uint16;
28 typedef int int32;
29 typedef unsigned int uint32;
30 typedef unsigned int bool32;
31 typedef long long int64;
32 typedef unsigned long long uint64;
33 typedef float float32;
34 typedef double float64;
35 //typedef double double float128; //GCC doesn't like this
36 #define float128 double double
38 #define TRUE 1
39 #define FALSE 0
41 #endif /* _PRIMITIVE_DATA_TYPES_H */