Revision 86c4a9f5 target-ppc/op_helper.c

b/target-ppc/op_helper.c
522 522

  
523 523
    u.f = f;
524 524

  
525
    return ((u.u >> 52) & 0x3FF) == 0x3FF &&
525
    return ((u.u >> 52) & 0x7FF) == 0x7FF &&
526 526
        (u.u & 0x000FFFFFFFFFFFFFULL) == 0;
527 527
}
528 528

  
......
681 681
        u0.f = FT0;
682 682
        u1.f = FT1;
683 683
        u0.u = ((u0.u ^ u1.u) & 0x8000000000000000ULL);
684
        u0.u |= 0x3FFULL << 52;
684
        u0.u |= 0x7FFULL << 52;
685 685
        FT0 = u0.f;
686 686
    }
687 687
}

Also available in: Unified diff