projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1aa27c
)
tcg/ppc[64]: Only define addend load helpers in softmmu case
author
malc
<av1474@comtv.ru>
Fri, 12 Mar 2010 21:27:46 +0000
(
00:27
+0300)
committer
malc
<av1474@comtv.ru>
Fri, 12 Mar 2010 21:27:46 +0000
(
00:27
+0300)
Signed-off-by: malc <av1474@comtv.ru>
tcg/ppc/tcg-target.c
patch
|
blob
|
history
tcg/ppc64/tcg-target.c
patch
|
blob
|
history
diff --git
a/tcg/ppc/tcg-target.c
b/tcg/ppc/tcg-target.c
index
b40246d
..
81633ed
100644
(file)
--- a/
tcg/ppc/tcg-target.c
+++ b/
tcg/ppc/tcg-target.c
@@
-36,11
+36,14
@@
static uint8_t *tb_ret_addr;
#endif
#define FAST_PATH
+
+#ifdef CONFIG_SOFTMMU
#if TARGET_PHYS_ADDR_BITS <= 32
#define ADDEND_OFFSET 0
#else
#define ADDEND_OFFSET 4
#endif
+#endif
#ifndef GUEST_BASE
#define GUEST_BASE 0
diff --git
a/tcg/ppc64/tcg-target.c
b/tcg/ppc64/tcg-target.c
index
fed179c
..
cf36c55
100644
(file)
--- 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