]> git.proxmox.com Git - mirror_qemu.git/commit - target/ppc/translate.c
PPC: Fix compilation with TCG debug
authorAlexander Graf <agraf@suse.de>
Fri, 20 Dec 2013 10:01:50 +0000 (11:01 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Sun, 22 Dec 2013 18:15:55 +0000 (19:15 +0100)
commitf976b09ea249cccc3fd41c98aaf6512908db0bae
treec33b9e5bdf4523145a2e44a938f1ac6e942b7373
parente8092f7ae1c71419829879e18ce2dd7249a4d00f
PPC: Fix compilation with TCG debug

The recent VSX patches broken compilation of QEMU when configurated
with --enable-debug, as it was treating "target long" TCG variables
as "i64" which is not true for 32bit targets.

This patch fixes all the places that the compiler has found to use
the correct variable type and if necessary manually cast.

Reported-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-ppc/translate.c