Revision 35f6b599
b/tcg/ppc/tcg-target.c | ||
---|---|---|
36 | 36 |
#endif |
37 | 37 |
|
38 | 38 |
#define FAST_PATH |
39 |
|
|
40 |
#ifdef CONFIG_SOFTMMU |
|
39 | 41 |
#if TARGET_PHYS_ADDR_BITS <= 32 |
40 | 42 |
#define ADDEND_OFFSET 0 |
41 | 43 |
#else |
42 | 44 |
#define ADDEND_OFFSET 4 |
43 | 45 |
#endif |
46 |
#endif |
|
44 | 47 |
|
45 | 48 |
#ifndef GUEST_BASE |
46 | 49 |
#define GUEST_BASE 0 |
b/tcg/ppc64/tcg-target.c | ||
---|---|---|
28 | 28 |
|
29 | 29 |
#define FAST_PATH |
30 | 30 |
|
31 |
#ifdef CONFIG_SOFTMMU |
|
31 | 32 |
#if TARGET_PHYS_ADDR_BITS == 32 |
32 | 33 |
#define LD_ADDEND LWZ |
33 | 34 |
#else |
34 | 35 |
#define LD_ADDEND LD |
35 | 36 |
#endif |
37 |
#endif |
|
36 | 38 |
|
37 | 39 |
#if TARGET_LONG_BITS == 32 |
38 | 40 |
#define LD_ADDR LWZU |
Also available in: Unified diff