[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] target-i386/FPU: wrong conversion infinity from
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH] target-i386/FPU: wrong conversion infinity from float80 to int32/int64 |
Date: |
Wed, 23 Jul 2014 18:13:08 +0100 |
On 23 July 2014 16:04, Dmitry Poletaev <address@hidden> wrote:
> I'm understood. So, am I right?
Pretty much, except it's better to use the accessor functions
get_float_exception_flags() and set_float_exception_flags().
> + if (env->fp_status.float_exception_flags & FPUS_IE) {
> + val = 0x8000000000000000;
Also this constant needs a "ULL" suffix or it won't build on
32 bit hosts.
thanks
-- PMM