Revision 9951bf39 target-i386/op.c

b/target-i386/op.c
1471 1471
    env->fptags[new_fpstt] = 0; /* validate stack entry */
1472 1472
}
1473 1473

  
1474
#ifdef USE_X86LDOUBLE
1475
void OPPROTO op_fldt_ST0_A0(void)
1476
{
1477
    int new_fpstt;
1478
    new_fpstt = (env->fpstt - 1) & 7;
1479
    env->fpregs[new_fpstt] = *(long double *)A0;
1480
    env->fpstt = new_fpstt;
1481
    env->fptags[new_fpstt] = 0; /* validate stack entry */
1482
}
1483
#else
1484 1474
void OPPROTO op_fldt_ST0_A0(void)
1485 1475
{
1486 1476
    helper_fldt_ST0_A0();
1487 1477
}
1488
#endif
1489 1478

  
1490 1479
/* helpers are needed to avoid static constant reference. XXX: find a better way */
1491 1480
#ifdef USE_INT_TO_FLOAT_HELPERS
......
1595 1584
    stfq((void *)A0, (double)ST0);
1596 1585
}
1597 1586

  
1598
#ifdef USE_X86LDOUBLE
1599
void OPPROTO op_fstt_ST0_A0(void)
1600
{
1601
    *(long double *)A0 = ST0;
1602
}
1603
#else
1604 1587
void OPPROTO op_fstt_ST0_A0(void)
1605 1588
{
1606 1589
    helper_fstt_ST0_A0();
1607 1590
}
1608
#endif
1609 1591

  
1610 1592
void OPPROTO op_fist_ST0_A0(void)
1611 1593
{

Also available in: Unified diff