Revision c570fd16 target-mips/exec.h

b/target-mips/exec.h
3 3

  
4 4
//#define DEBUG_OP
5 5

  
6
#include "config.h"
6 7
#include "mips-defs.h"
7 8
#include "dyngen-exec.h"
8 9

  
......
16 17
typedef uint32_t host_uint_t;
17 18
#endif
18 19

  
20
#if TARGET_LONG_BITS > HOST_LONG_BITS
21
#define T0 (env->t0)
22
#define T1 (env->t1)
23
#define T2 (env->t2)
24
#else
19 25
register host_uint_t T0 asm(AREG1);
20 26
register host_uint_t T1 asm(AREG2);
21 27
register host_uint_t T2 asm(AREG3);
28
#endif
22 29

  
23 30
#if defined (USE_HOST_FLOAT_REGS)
24 31
#error "implement me."
......
58 65
{
59 66
}
60 67

  
61
#if (HOST_LONG_BITS == 32)
68
#ifdef MIPS_HAS_MIPS64
69
#if TARGET_LONG_BITS > HOST_LONG_BITS
70
void do_dsll (void);
71
void do_dsll32 (void);
72
void do_dsra (void);
73
void do_dsra32 (void);
74
void do_dsrl (void);
75
void do_dsrl32 (void);
76
void do_drotr (void);
77
void do_drotr32 (void);
78
void do_dsllv (void);
79
void do_dsrav (void);
80
void do_dsrlv (void);
81
void do_drotrv (void);
82
#endif
83
#endif
84

  
85
#if TARGET_LONG_BITS > HOST_LONG_BITS
62 86
void do_mult (void);
63 87
void do_multu (void);
64 88
void do_madd (void);
65 89
void do_maddu (void);
66 90
void do_msub (void);
67 91
void do_msubu (void);
92
void do_ddiv (void);
93
void do_ddivu (void);
94
#endif
95
#ifdef MIPS_HAS_MIPS64
96
void do_dmult (void);
97
void do_dmultu (void);
68 98
#endif
69 99
void do_mfc0_random(void);
70 100
void do_mfc0_count(void);
......
86 116
void do_lwr_raw (uint32_t);
87 117
uint32_t do_swl_raw (uint32_t);
88 118
uint32_t do_swr_raw (uint32_t);
119
#ifdef MIPS_HAS_MIPS64
120
void do_ldl_raw (uint64_t);
121
void do_ldr_raw (uint64_t);
122
uint64_t do_sdl_raw (uint64_t);
123
uint64_t do_sdr_raw (uint64_t);
124
#endif
89 125
#if !defined(CONFIG_USER_ONLY)
90 126
void do_lwl_user (uint32_t);
91 127
void do_lwl_kernel (uint32_t);
......
95 131
uint32_t do_swl_kernel (uint32_t);
96 132
uint32_t do_swr_user (uint32_t);
97 133
uint32_t do_swr_kernel (uint32_t);
134
#ifdef MIPS_HAS_MIPS64
135
void do_ldl_user (uint64_t);
136
void do_ldl_kernel (uint64_t);
137
void do_ldr_user (uint64_t);
138
void do_ldr_kernel (uint64_t);
139
uint64_t do_sdl_user (uint64_t);
140
uint64_t do_sdl_kernel (uint64_t);
141
uint64_t do_sdr_user (uint64_t);
142
uint64_t do_sdr_kernel (uint64_t);
143
#endif
98 144
#endif
99 145
void do_pmon (int function);
100 146

  

Also available in: Unified diff