URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 297 |
Rev 338 |
int ps;
|
int ps;
|
struct vp {
|
struct vp {
|
int wa;
|
int wa;
|
};
|
};
|
typedef struct vp *vpt;
|
typedef struct vp *vpt;
|
typedef struct vc {
|
typedef struct vc {
|
int o;
|
int o;
|
vpt py[8];
|
vpt py[8];
|
} *vct;
|
} *vct;
|
struct n {
|
struct n {
|
int a;
|
int a;
|
};
|
};
|
struct nh {
|
struct nh {
|
int x;
|
int x;
|
};
|
};
|
typedef struct np *npt;
|
typedef struct np *npt;
|
struct np {
|
struct np {
|
vct d;
|
vct d;
|
int di;
|
int di;
|
};
|
};
|
struct nh xhp;
|
struct nh xhp;
|
struct n np[3];
|
struct n np[3];
|
|
|
f(dp)
|
f(dp)
|
npt dp;
|
npt dp;
|
{
|
{
|
vpt *py;
|
vpt *py;
|
int a, l, o = 0;
|
int a, l, o = 0;
|
a = dp->d->o;
|
a = dp->d->o;
|
if (dp->di < 0)
|
if (dp->di < 0)
|
l = ps;
|
l = ps;
|
|
|
if ((int)o & 3)
|
if ((int)o & 3)
|
g();
|
g();
|
|
|
xhp.x = a;
|
xhp.x = a;
|
py = &dp->d->py[dp->di];
|
py = &dp->d->py[dp->di];
|
if (o + l > ps)
|
if (o + l > ps)
|
np[2].a = (int)(py[1])->wa;
|
np[2].a = (int)(py[1])->wa;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.