parent
55b8010e42
commit
a83106c08a
|
@ -145,38 +145,6 @@ __negdi2 (u)
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef L_lshldi3
|
||||
DItype
|
||||
__lshldi3 (u, b)
|
||||
DItype u;
|
||||
word_type b;
|
||||
{
|
||||
DIunion w;
|
||||
word_type bm;
|
||||
DIunion uu;
|
||||
|
||||
if (b == 0)
|
||||
return u;
|
||||
|
||||
uu.ll = u;
|
||||
|
||||
bm = (sizeof (SItype) * BITS_PER_UNIT) - b;
|
||||
if (bm <= 0)
|
||||
{
|
||||
w.s.low = 0;
|
||||
w.s.high = (USItype)uu.s.low << -bm;
|
||||
}
|
||||
else
|
||||
{
|
||||
USItype carries = (USItype)uu.s.low >> bm;
|
||||
w.s.low = (USItype)uu.s.low << b;
|
||||
w.s.high = ((USItype)uu.s.high << b) | carries;
|
||||
}
|
||||
|
||||
return w.ll;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef L_lshrdi3
|
||||
DItype
|
||||
__lshrdi3 (u, b)
|
||||
|
|
Loading…
Reference in New Issue