version 1.26, 2001/09/17 07:16:59 |
version 1.28, 2001/09/17 10:32:41 |
|
|
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* |
* |
* $OpenXM: OpenXM_contrib2/asir2000/include/ca.h,v 1.25 2001/09/13 03:04:28 noro Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/include/ca.h,v 1.27 2001/09/17 08:37:31 noro Exp $ |
*/ |
*/ |
#include <stdio.h> |
#include <stdio.h> |
|
|
|
|
#include <stdlib.h> |
#include <stdlib.h> |
#endif |
#endif |
|
|
|
#if !defined(VISUAL) |
|
#include <sys/param.h> |
|
#endif |
|
|
#if defined(linux) || (defined(sun) && !defined(SYSV)) || defined(news5000) || (defined(mips) && defined(ultrix)) |
#if defined(linux) || (defined(sun) && !defined(SYSV)) || defined(news5000) || (defined(mips) && defined(ultrix)) |
#include <alloca.h> |
#include <alloca.h> |
#endif |
#endif |
Line 374 typedef struct oDL { |
|
Line 378 typedef struct oDL { |
|
typedef struct oCDP { |
typedef struct oCDP { |
int len; |
int len; |
int psindex; |
int psindex; |
unsigned short *body; |
unsigned int *body; |
} *CDP; |
} *CDP; |
|
|
typedef struct oCM { |
typedef struct oCM { |
Line 497 typedef unsigned int ModNum; |
|
Line 501 typedef unsigned int ModNum; |
|
#endif |
#endif |
|
|
/* general macros */ |
/* general macros */ |
|
#if defined(MAX) |
|
#undef MAX |
|
#endif |
|
#if defined(MIN) |
|
#undef MIN |
|
#endif |
#define MAX(a,b) ((a) > (b) ? (a) : (b) ) |
#define MAX(a,b) ((a) > (b) ? (a) : (b) ) |
#define MIN(a,b) ((a) > (b) ? (b) : (a) ) |
#define MIN(a,b) ((a) > (b) ? (b) : (a) ) |
#ifdef ABS |
#ifdef ABS |
Line 735 PL(NM(q))=1,BD(NM(q))[0]=(unsigned int)(n),DN(q)=0,(q) |
|
Line 745 PL(NM(q))=1,BD(NM(q))[0]=(unsigned int)(n),DN(q)=0,(q) |
|
|
|
#define NV(p) ((p)->nv) |
#define NV(p) ((p)->nv) |
#define C(p) ((p)->c) |
#define C(p) ((p)->c) |
|
#if 0 |
#define ITOS(p) (((unsigned int)(p))&0x7fffffff) |
#define ITOS(p) (((unsigned int)(p))&0x7fffffff) |
#define STOI(i) ((P)((unsigned int)(i)|0x80000000)) |
#define STOI(i) ((P)((unsigned int)(i)|0x80000000)) |
|
#else |
|
#define ITOS(p) (((unsigned int)(p))) |
|
#define STOI(i) ((P)((unsigned int)(i))) |
|
#endif |
|
|
/* immediate GFS representation */ |
/* immediate GFS representation */ |
|
|