qemu/target-ppc
Aurelien Jarno 96912e3970 target-ppc: fix sNaN propagation
The current FPU code returns 0.0 if one of the operand is a
signaling NaN and the VXSNAN exception is disabled.

fload_invalid_op_excp() doesn't return a qNaN in case of a VXSNAN
exception as the operand should be propagated instead of a new
qNaN to be generated. Fix that by calling fload_invalid_op_excp()
only for the exception generation (if enabled), and use the softfloat
code to correctly compute the result.

Reviewed-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2011-01-20 15:11:07 +01:00
..
cpu.h target-xxx: Use fprintf_function (format checking) 2010-10-30 08:01:59 +00:00
exec.h target-ppc: remove PRECISE_EMULATION define 2011-01-06 16:10:48 +01:00
helper_regs.h
helper.c ppc: remove video.x 2010-10-13 18:38:07 +00:00
helper.h target-ppc: add vexptefp instruction 2010-07-13 18:18:32 +02:00
kvm_ppc.c
kvm_ppc.h KVM: PPC: Add level based interrupt logic 2010-09-05 11:50:48 +02:00
kvm.c ppc: kvm: fix signedness warning 2010-12-08 21:30:19 +01:00
machine.c
mfrom_table_gen.c
mfrom_table.c
op_helper.c target-ppc: fix sNaN propagation 2011-01-20 15:11:07 +01:00
STATUS
translate_init.c target-xxx: Use fprintf_function (format checking) 2010-10-30 08:01:59 +00:00
translate.c Fix translation of unary PPC/SPE instructions (efdneg etc.). 2010-12-31 21:17:53 +01:00