(_ffsdi2): Use the correct names for structure elements of type DIunion.
From-SVN: r3217
This commit is contained in:
parent
607207cf7d
commit
aa66bd06e4
@ -255,6 +255,27 @@ __ashrdi3 (u, b)
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef L_ffsdi2
|
||||
DItype
|
||||
__ffsdi2 (u)
|
||||
DItype u;
|
||||
{
|
||||
DIunion uu, w;
|
||||
uu.ll = u;
|
||||
w.s.high = 0;
|
||||
w.s.low = ffs (uu.s.low);
|
||||
if (w.s.low != 0)
|
||||
return w;
|
||||
w.s.low = ffs (uu.s.high);
|
||||
if (w.s.low != 0)
|
||||
{
|
||||
w.s.low += BITS_PER_UNIT * sizeof (SItype);
|
||||
return w;
|
||||
}
|
||||
return w;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef L_muldi3
|
||||
DItype
|
||||
__muldi3 (u, v)
|
||||
|
Loading…
Reference in New Issue
Block a user