Revision 5b7141a1 target-sh4/op_helper.c

b/target-sh4/op_helper.c
531 531
    return d.ll;
532 532
}
533 533

  
534
uint32_t helper_fmac_FT(uint32_t t0, uint32_t t1, uint32_t t2)
535
{
536
    CPU_FloatU f0, f1, f2;
537
    f0.l = t0;
538
    f1.l = t1;
539
    f2.l = t2;
540
    f0.f = float32_mul(f0.f, f1.f, &env->fp_status);
541
    f0.f = float32_add(f0.f, f2.f, &env->fp_status);
542
    return f0.l;
543
}
544

  
534 545
uint32_t helper_fmul_FT(uint32_t t0, uint32_t t1)
535 546
{
536 547
    CPU_FloatU f0, f1;

Also available in: Unified diff