The various VSX Convert to Integer instructions should truncate the
mantissa. This fix forces the softfloat rounding mode to "round to
zero" prior to performing the conversion. After the conversion is
completed, the internal rounding mode is restored from the PowerPC
FPSCR bits.
Signed-off-by: T
On 23 March 2014 18:02, Tom Musta wrote:
> diff --git a/target-ppc/fpu_helper.c b/target-ppc/fpu_helper.c
> index e7f3295..ccfc5cc 100644
> --- a/target-ppc/fpu_helper.c
> +++ b/target-ppc/fpu_helper.c
> @@ -2558,10 +2558,14 @@ void helper_##op(CPUPPCState *env, uint32_t opcode)
>