Revision 355b1943 tcg/ppc64/tcg-target.c
b/tcg/ppc64/tcg-target.c | ||
---|---|---|
28 | 28 |
|
29 | 29 |
#define FAST_PATH |
30 | 30 |
|
31 |
#ifdef CONFIG_SOFTMMU |
|
32 |
#if TARGET_PHYS_ADDR_BITS == 32 |
|
33 |
#define LD_ADDEND LWZ |
|
34 |
#else |
|
35 |
#define LD_ADDEND LD |
|
36 |
#endif |
|
37 |
#endif |
|
38 |
|
|
39 | 31 |
#if TARGET_LONG_BITS == 32 |
40 | 32 |
#define LD_ADDR LWZU |
41 | 33 |
#define CMP_L 0 |
... | ... | |
684 | 676 |
#endif |
685 | 677 |
|
686 | 678 |
/* r0 now contains &env->tlb_table[mem_index][index].addr_read */ |
687 |
tcg_out32 (s, (LD_ADDEND
|
|
679 |
tcg_out32 (s, (LD |
|
688 | 680 |
| RT (r0) |
689 | 681 |
| RA (r0) |
690 | 682 |
| (offsetof (CPUTLBEntry, addend) |
... | ... | |
812 | 804 |
reloc_pc14 (label1_ptr, (tcg_target_long) s->code_ptr); |
813 | 805 |
#endif |
814 | 806 |
|
815 |
tcg_out32 (s, (LD_ADDEND
|
|
807 |
tcg_out32 (s, (LD |
|
816 | 808 |
| RT (r0) |
817 | 809 |
| RA (r0) |
818 | 810 |
| (offsetof (CPUTLBEntry, addend) |
Also available in: Unified diff