qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH/RFC] overflow and register size mismatch in sh4-


From: Paul Brook
Subject: Re: [Qemu-devel] [PATCH/RFC] overflow and register size mismatch in sh4-softmmu
Date: Sun, 11 Nov 2007 13:33:41 +0000
User-agent: KMail/1.9.7

On Sunday 11 November 2007, Carlo Marcelo Arenas Belon wrote:
> as shown by the following warning when compiling HEAD :
>
>   qemu/target-sh4/translate.c: In function `cpu_sh4_reset':
>   qemu/target-sh4/translate.c:139: warning: overflow in implicit constant
> conversion
>...
> the following patch changes the logic to use a helper function
> -    env->fp_status.float_rounding_mode = float_round_to_zero;
> +    set_float_rounding_mode(float_round_to_zero, &env->fp_status);

This is just hiding the bug.

Paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]