From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NRNeL-0005LS-4F for qemu-devel@nongnu.org; Sun, 03 Jan 2010 05:25:29 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NRNeG-0005K9-5k for qemu-devel@nongnu.org; Sun, 03 Jan 2010 05:25:28 -0500 Received: from [199.232.76.173] (port=40221 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NRNeF-0005K2-TC for qemu-devel@nongnu.org; Sun, 03 Jan 2010 05:25:23 -0500 Received: from moutng.kundenserver.de ([212.227.126.186]:56870) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NRNeF-0003iV-A5 for qemu-devel@nongnu.org; Sun, 03 Jan 2010 05:25:23 -0500 Message-ID: <4B407085.7030409@mail.berlios.de> Date: Sun, 03 Jan 2010 11:25:09 +0100 From: Stefan Weil MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] PPC: Add wrapper for target long DCR operations References: <1262360466-25417-1-git-send-email-agraf@suse.de> In-Reply-To: <1262360466-25417-1-git-send-email-agraf@suse.de> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: qemu-devel@nongnu.org, aurelien@aurel32.net Alexander Graf schrieb: > The recent transition to always have the DCR helper functions take 32 bit > values broke the PPC64 target, as tlong became 64 bits there. > > This patch moves all translate.c callers to a _tl function that simply > calls the uint32_t functions. That way we don't need to mess with TCG > trying to pass registers as uint32_t variables to functions. > > Fixes PPC64 build with --enable-debug-tcg > > Signed-off-by: Alexander Graf > Reported-by: Stefan Weil Acked-by: Stefan Weil Happy new year, Stefan