Revision d26bc211 target-mips/op_helper.c

b/target-mips/op_helper.c
68 68
    do_raise_exception_direct_err (exception, 0);
69 69
}
70 70

  
71
#if defined(TARGET_MIPSN32) || defined(TARGET_MIPS64)
71
#if defined(TARGET_MIPS64)
72 72
#if TARGET_LONG_BITS > HOST_LONG_BITS
73 73
/* Those might call libgcc functions.  */
74 74
void do_dsll (void)
......
159 159
}
160 160

  
161 161
#endif /* TARGET_LONG_BITS > HOST_LONG_BITS */
162
#endif /* TARGET_MIPSN32 || TARGET_MIPS64 */
162
#endif /* TARGET_MIPS64 */
163 163

  
164 164
/* 64 bits arithmetic for 32 bits hosts */
165 165
#if TARGET_LONG_BITS > HOST_LONG_BITS
......
228 228
}
229 229
#endif
230 230

  
231
#if defined(TARGET_MIPSN32) || defined(TARGET_MIPS64)
231
#if defined(TARGET_MIPS64)
232 232
void do_ddiv (void)
233 233
{
234 234
    if (T1 != 0) {
......
247 247
    }
248 248
}
249 249
#endif
250
#endif /* TARGET_MIPSN32 || TARGET_MIPS64 */
250
#endif /* TARGET_MIPS64 */
251 251

  
252 252
#if defined(CONFIG_USER_ONLY)
253 253
void do_mfc0_random (void)
......
392 392
    /* XXX: detect conflicting TLBs and raise a MCHECK exception when needed */
393 393
    tlb = &env->tlb->mmu.r4k.tlb[idx];
394 394
    tlb->VPN = env->CP0_EntryHi & (TARGET_PAGE_MASK << 1);
395
#if defined(TARGET_MIPSN32) || defined(TARGET_MIPS64)
395
#if defined(TARGET_MIPS64)
396 396
    tlb->VPN &= env->SEGMask;
397 397
#endif
398 398
    tlb->ASID = env->CP0_EntryHi & 0xFF;

Also available in: Unified diff