From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=44602 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q9IWF-0005CP-5U for qemu-devel@nongnu.org; Mon, 11 Apr 2011 10:55:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q9IWC-0005tC-OM for qemu-devel@nongnu.org; Mon, 11 Apr 2011 10:55:10 -0400 Received: from mail.codesourcery.com ([38.113.113.100]:41731) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9IWC-0005sr-Ez for qemu-devel@nongnu.org; Mon, 11 Apr 2011 10:55:08 -0400 Date: Mon, 11 Apr 2011 07:55:05 -0700 From: Nathan Froyd Message-ID: <20110411145502.GY23480@codesourcery.com> References: <1302462785-8672-1-git-send-email-aurelien@aurel32.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1302462785-8672-1-git-send-email-aurelien@aurel32.net> Subject: [Qemu-devel] Re: [PATCH] target-sh4: get rid of CPU_{Float, Double}U List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Aurelien Jarno Cc: Peter Maydell , qemu-devel@nongnu.org On Sun, Apr 10, 2011 at 09:13:05PM +0200, Aurelien Jarno wrote: > SH4 is always using softfloat, so it's possible to have helpers directly > taking float32 or float64 value. This allow to get rid of conversions > through CPU_{Float,Double}U. Eh, I think this punning on i32/f32 and i64/f64 values is not healthy. But Peter's already said that the floats-as-structs bit of softfloat is broken, so maybe it's not worth trying to ensure floats-as-structs works (or even making it the default, to discourage people from bit-twiddling directly). -Nathan