Revision c570fd16 target-mips/mips-defs.h

b/target-mips/mips-defs.h
14 14

  
15 15
#if (MIPS_CPU == MIPS_R4Kc)
16 16
/* 32 bits target */
17
#define TARGET_LONG_BITS 32
17
#undef MIPS_HAS_MIPS64
18
//#define MIPS_HAS_MIPS64 1
18 19
/* real pages are variable size... */
19 20
#define TARGET_PAGE_BITS 12
20 21
/* Uses MIPS R4Kx enhancements to MIPS32 architecture */
......
69 70
 (0 << CP0C3_MT) | (0 << CP0C3_SM) | (0 << CP0C3_TL))
70 71
#elif (MIPS_CPU == MIPS_R4Kp)
71 72
/* 32 bits target */
72
#define TARGET_LONG_BITS 32
73
#undef MIPS_HAS_MIPS64
73 74
/* real pages are variable size... */
74 75
#define TARGET_PAGE_BITS 12
75 76
/* Uses MIPS R4Kx enhancements to MIPS32 architecture */
......
79 80
#else
80 81
#error "MIPS CPU not defined"
81 82
/* Reminder for other flags */
82
//#define TARGET_MIPS64
83
//#undef MIPS_HAS_MIPS64
83 84
//#define MIPS_USES_FPU
84 85
#endif
85 86

  
87
#ifdef MIPS_HAS_MIPS64
88
#define TARGET_LONG_BITS 64
89
#else
90
#define TARGET_LONG_BITS 32
91
#endif
92

  
86 93
#endif /* !defined (__QEMU_MIPS_DEFS_H__) */

Also available in: Unified diff