qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] target-arm/helper.c: For float-int conversion h


From: Nathan Froyd
Subject: Re: [Qemu-devel] [PATCH] target-arm/helper.c: For float-int conversion helpers pass ints as ints
Date: Mon, 21 Mar 2011 06:48:08 -0700
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

On Mon, Mar 14, 2011 at 05:23:11PM +0000, Peter Maydell wrote:
> Correct the argument and return types for the float<->int conversion helper
> functions so that integer arguments and return values are declared as
> uint32_t/uint64_t, not float32/float64. This allows us to remove the
> hand-rolled functions which were doing bitwise copies between the types
> via unions.

Reviewed-by: Nathan Froyd <address@hidden>

I like the direction this patch goes; you aren't by any chance going to
convert the passing/returning of float* to their appropriate int* types
too, are you?

-Nathan



reply via email to

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