| version 1.1, 1999/12/03 07:39:11 |
version 1.2, 2000/02/04 09:27:32 |
|
|
| /* $OpenXM: OpenXM/src/asir99/include/inline.h,v 1.1.1.1 1999/11/10 08:12:30 noro Exp $ */ |
/* $OpenXM: OpenXM_contrib2/asir2000/include/inline.h,v 1.1.1.1 1999/12/03 07:39:11 noro Exp $ */ |
| #define DMB(base,a1,a2,u,l) (l)=dmb(base,a1,a2,&(u)); |
#define DMB(base,a1,a2,u,l) (l)=dmb(base,a1,a2,&(u)); |
| #define DMAB(base,a1,a2,a3,u,l) (l)=dmab(base,a1,a2,a3,&(u)); |
#define DMAB(base,a1,a2,a3,u,l) (l)=dmab(base,a1,a2,a3,&(u)); |
| #define DMAR(a1,a2,a3,d,r) (r)=dmar(a1,a2,a3,d); |
#define DMAR(a1,a2,a3,d,r) (r)=dmar(a1,a2,a3,d); |
| Line 30 _t=(UL)(a1)*(UL)(a2)+(UL)(a3)+(UL)(a4);\ |
|
| Line 30 _t=(UL)(a1)*(UL)(a2)+(UL)(a3)+(UL)(a4);\ |
|
| {UL _t;\ |
{UL _t;\ |
| _t=(((UL)(a1))<<BSH)|((UL)(a2));\ |
_t=(((UL)(a1))<<BSH)|((UL)(a2));\ |
| (u)=(unsigned int)(_t/((UL)(base)));\ |
(u)=(unsigned int)(_t/((UL)(base)));\ |
| (l)=(unsigned int)(_t%((UL)(base)));} |
(l)=(unsigned int)(_t-((UL)(base)*(UL)(u)));} |
| #else |
#else |
| #define DM(a1,a2,u,l) (l)=dm(a1,a2,&(u)); |
#define DM(a1,a2,u,l) (l)=dm(a1,a2,&(u)); |
| #define DMA(a1,a2,a3,u,l) (l)=dma(a1,a2,a3,&(u)); |
#define DMA(a1,a2,a3,u,l) (l)=dma(a1,a2,a3,&(u)); |