Commit aa66bd06 by Richard Stallman

(_ffsdi2): Use the correct names for structure elements of type DIunion.

From-SVN: r3217
parent 607207cf
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment