Revision 88ad920b target-ppc/op_helper.c

b/target-ppc/op_helper.c
331 331
    uint64_t tl;
332 332

  
333 333
    muls64(&tl, &th, T0, T1);
334
    if (likely(th == 0)) {
334
    /* If th != 0 && th != -1, then we had an overflow */
335
    if (likely((th + 1) <= 1)) {
335 336
        xer_ov = 0;
336 337
    } else {
337 338
        xer_ov = 1;

Also available in: Unified diff