Subversion Repositories Kolibri OS

Rev

Rev 647 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 647 Rev 6410
Line 397... Line 397...
397
        uu.ll = __negdi2 (uu.ll);
397
        uu.ll = __negdi2 (uu.ll);
398
    }
398
    }
399
    if (vv.s.high < 0)
399
    if (vv.s.high < 0)
400
        vv.ll = __negdi2 (vv.ll);
400
        vv.ll = __negdi2 (vv.ll);
Line 401... Line 401...
401
    
401
    
402
    __udivmoddi4 (uu.ll, vv.ll, &w);
402
    __udivmoddi4 (uu.ll, vv.ll, (UDWtype *) &w);
403
    if (c)
403
    if (c)
404
        w = __negdi2 (w);
404
        w = __negdi2 (w);
405
    return w;
405
    return w;
Line 464... Line 464...
464
    u.ll = a;
464
    u.ll = a;
465
    if (b >= 32) {
465
    if (b >= 32) {
466
        u.s.high = (unsigned)u.s.low << (b - 32);
466
        u.s.high = (unsigned)u.s.low << (b - 32);
467
        u.s.low = 0;
467
        u.s.low = 0;
468
    } else if (b != 0) {
468
    } else if (b != 0) {
469
        u.s.high = ((unsigned)u.s.high << b) | (u.s.low >> (32 - b));
469
        u.s.high = ((unsigned)u.s.high << b) | ((unsigned)u.s.low >> (32 - b));
470
        u.s.low = (unsigned)u.s.low << b;
470
        u.s.low = (unsigned)u.s.low << b;
471
    }
471
    }
472
    return u.ll;
472
    return u.ll;
473
#else
473
#else
474
    return a << b;
474
    return a << b;