qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 02/14] target-mips: use the softfloat floatXX_muladd functions
@ 2013-01-11 13:23 Tom de Vries
  0 siblings, 0 replies; 3+ messages in thread
From: Tom de Vries @ 2013-01-11 13:23 UTC (permalink / raw)
  To: aurelien; +Cc: qemu-devel, Richard Henderson

Aurelien,

> @@ -8307,7 +8307,7 @@ static void gen_flt3_arith (DisasContext *ctx, uint32_t 
> opc,
>              gen_load_fpr64(ctx, fp0, fs);
>              gen_load_fpr64(ctx, fp1, ft);
>              gen_load_fpr64(ctx, fp2, fr);
> -            gen_helper_float_muladd_d(fp2, cpu_env, fp0, fp1, fp2);
> +            gen_helper_float_madd_d(fp2, cpu_env, fp0, fp1, fp2);
>              tcg_temp_free_i64(fp0);
>              tcg_temp_free_i64(fp1);
>              gen_store_fpr64(ctx, fp2, fd);

AFAIU:
- you're replacing here a non-fused mAC with a fused MAC and
- for all mips cores (except the r8000) the madd.d is non-fused.
So shouldn't we use a non-fused MAC here?

Thanks,
- Tom

^ permalink raw reply	[flat|nested] 3+ messages in thread
* [Qemu-devel] [PATCH 00/14] target-mips: misc fixes and optimizations
@ 2012-10-09 20:27 Aurelien Jarno
  2012-10-09 20:27 ` [Qemu-devel] [PATCH 02/14] target-mips: use the softfloat floatXX_muladd functions Aurelien Jarno
  0 siblings, 1 reply; 3+ messages in thread
From: Aurelien Jarno @ 2012-10-09 20:27 UTC (permalink / raw)
  To: qemu-devel; +Cc: Aurelien Jarno

This patch series does some bug fixes and code cleanup in the MIPS
target, and then does some optimizations.

Aurelien Jarno (14):
  softfloat: implement fused multiply-add NaN propagation for MIPS
  target-mips: use the softfloat floatXX_muladd functions
  target-mips: fix FPU exceptions
  target-mips: use softfloat constants when possible
  target-mips: cleanup load/store operations
  target-mips: optimize load operations
  target-mips: simplify load/store microMIPS helpers
  target-mips: implement unaligned loads using TCG
  target-mips: don't use local temps for store conditional
  target-mips: implement movn/movz using movcond
  target-mips: optimize ddiv/ddivu/div/divu with movcond
  target-mips: use deposit instead of hardcoded version
  target-mips: fix TLBR wrt SEGMask
  target-mips: don't flush extra TLB on permissions upgrade

 fpu/softfloat-specialize.h |   27 +++
 target-mips/helper.h       |   12 +-
 target-mips/op_helper.c    |  573 +++++++++++++++-----------------------------
 target-mips/translate.c    |  364 ++++++++++++++--------------
 4 files changed, 409 insertions(+), 567 deletions(-)

-- 
1.7.10.4

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-01-11 13:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-11 13:23 [Qemu-devel] [PATCH 02/14] target-mips: use the softfloat floatXX_muladd functions Tom de Vries
  -- strict thread matches above, loose matches on Subject: below --
2012-10-09 20:27 [Qemu-devel] [PATCH 00/14] target-mips: misc fixes and optimizations Aurelien Jarno
2012-10-09 20:27 ` [Qemu-devel] [PATCH 02/14] target-mips: use the softfloat floatXX_muladd functions Aurelien Jarno
2012-10-10 19:58   ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).