aboutsummaryrefslogtreecommitdiff
path: root/tcg/ppc64/tcg-target.c
diff options
context:
space:
mode:
authormalc <av1474@comtv.ru>2010-03-13 00:27:46 +0300
committermalc <av1474@comtv.ru>2010-03-13 00:27:46 +0300
commit35f6b5997a334436e5bd4ca59aa92f2ccb3d4cb0 (patch)
treeed74f281895930b1dc49d7190fab3233dd82dab1 /tcg/ppc64/tcg-target.c
parentb1aa27c4eab62b3c75a892671db5131bedf1cdf6 (diff)
downloadqemu-35f6b5997a334436e5bd4ca59aa92f2ccb3d4cb0.zip
qemu-35f6b5997a334436e5bd4ca59aa92f2ccb3d4cb0.tar.gz
qemu-35f6b5997a334436e5bd4ca59aa92f2ccb3d4cb0.tar.bz2
tcg/ppc[64]: Only define addend load helpers in softmmu case
Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'tcg/ppc64/tcg-target.c')
-rw-r--r--tcg/ppc64/tcg-target.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tcg/ppc64/tcg-target.c b/tcg/ppc64/tcg-target.c
index fed179c..cf36c55 100644
--- a/tcg/ppc64/tcg-target.c
+++ b/tcg/ppc64/tcg-target.c
@@ -28,11 +28,13 @@ static uint8_t *tb_ret_addr;
#define FAST_PATH
+#ifdef CONFIG_SOFTMMU
#if TARGET_PHYS_ADDR_BITS == 32
#define LD_ADDEND LWZ
#else
#define LD_ADDEND LD
#endif
+#endif
#if TARGET_LONG_BITS == 32
#define LD_ADDR LWZU