Revision 540635ba target-mips/exec.h

b/target-mips/exec.h
56 56
#include "softmmu_exec.h"
57 57
#endif /* !defined(CONFIG_USER_ONLY) */
58 58

  
59
#ifdef TARGET_MIPS64
59
#if defined(TARGET_MIPSN32) || defined(TARGET_MIPS64)
60 60
#if TARGET_LONG_BITS > HOST_LONG_BITS
61 61
void do_dsll (void);
62 62
void do_dsll32 (void);
......
84 84
void do_msub (void);
85 85
void do_msubu (void);
86 86
#endif
87
#ifdef TARGET_MIPS64
87
#if defined(TARGET_MIPSN32) || defined(TARGET_MIPS64)
88 88
void do_ddiv (void);
89 89
#if TARGET_LONG_BITS > HOST_LONG_BITS
90 90
void do_ddivu (void);
......
104 104
void do_lwr_raw (uint32_t);
105 105
uint32_t do_swl_raw (uint32_t);
106 106
uint32_t do_swr_raw (uint32_t);
107
#ifdef TARGET_MIPS64
107
#if defined(TARGET_MIPSN32) || defined(TARGET_MIPS64)
108 108
void do_ldl_raw (uint64_t);
109 109
void do_ldr_raw (uint64_t);
110 110
uint64_t do_sdl_raw (uint64_t);
......
119 119
uint32_t do_swl_kernel (uint32_t);
120 120
uint32_t do_swr_user (uint32_t);
121 121
uint32_t do_swr_kernel (uint32_t);
122
#ifdef TARGET_MIPS64
122
#if defined(TARGET_MIPSN32) || defined(TARGET_MIPS64)
123 123
void do_ldl_user (uint64_t);
124 124
void do_ldl_kernel (uint64_t);
125 125
void do_ldr_user (uint64_t);
......
267 267
        if (env->CP0_Status & (1 << CP0St_R0))
268 268
            env->hflags |= MIPS_HFLAG_SM;
269 269
    }
270
#ifdef TARGET_MIPS64
270
#if defined(TARGET_MIPSN32) || defined(TARGET_MIPS64)
271 271
    if (!(env->hflags & MIPS_HFLAG_UM) ||
272 272
        (env->CP0_Status & (1 << CP0St_PX)) ||
273 273
        (env->CP0_Status & (1 << CP0St_UX)))

Also available in: Unified diff