Revision 9951bf39 target-i386/helper.c

b/target-i386/helper.c
1318 1318

  
1319 1319
/* FPU helpers */
1320 1320

  
1321
#ifndef USE_X86LDOUBLE
1322 1321
void helper_fldt_ST0_A0(void)
1323 1322
{
1324 1323
    int new_fpstt;
......
1332 1331
{
1333 1332
    helper_fstt(ST0, (uint8_t *)A0);
1334 1333
}
1335
#endif
1336 1334

  
1337 1335
/* BCD ops */
1338 1336

  
......
1729 1727
    ptr += (14 << data32);
1730 1728
    for(i = 0;i < 8; i++) {
1731 1729
        tmp = ST(i);
1732
#ifdef USE_X86LDOUBLE
1733
        *(long double *)ptr = tmp;
1734
#else
1735 1730
        helper_fstt(tmp, ptr);
1736
#endif        
1737 1731
        ptr += 10;
1738 1732
    }
1739 1733

  
......
1760 1754
    ptr += (14 << data32);
1761 1755

  
1762 1756
    for(i = 0;i < 8; i++) {
1763
#ifdef USE_X86LDOUBLE
1764
        tmp = *(long double *)ptr;
1765
#else
1766 1757
        tmp = helper_fldt(ptr);
1767
#endif        
1768 1758
        ST(i) = tmp;
1769 1759
        ptr += 10;
1770 1760
    }

Also available in: Unified diff