Revision 1698b741

b/target-ppc/op.c
720 720
void OPPROTO op_check_addo_64 (void)
721 721
{
722 722
    if (likely(!(((uint64_t)T2 ^ (uint64_t)T1 ^ UINT64_MAX) &
723
                 ((uint64_t)T2 ^ (uint64_t)T0) & (1UL << 63)))) {
723
                 ((uint64_t)T2 ^ (uint64_t)T0) & (1ULL << 63)))) {
724 724
        xer_ov = 0;
725 725
    } else {
726 726
        xer_so = 1;
b/target-ppc/op_helper.h
313 313
        cnt++;
314 314
    }
315 315
#else
316
    uint32_t tmp;
317 316
    /* Make it easier on 32 bits host machines */
318 317
    if (!(val >> 32))
319
        cnt = cntlzw(val) + 32;
318
        cnt = _do_cntlzw(val) + 32;
320 319
    else
321
        cnt = cntlzw(val >> 32);
320
        cnt = _do_cntlzw(val >> 32);
322 321
#endif
323 322
    return cnt;
324 323
}

Also available in: Unified diff