24 |
|
|
25 |
#include "cpu-defs.h" |
#include "cpu-defs.h" |
26 |
|
|
27 |
|
#include "softfloat.h" |
28 |
|
|
29 |
#define EXCP_UDEF 1 /* undefined instruction */ |
#define EXCP_UDEF 1 /* undefined instruction */ |
30 |
#define EXCP_SWI 2 /* software interrupt */ |
#define EXCP_SWI 2 /* software interrupt */ |
31 |
#define EXCP_PREFETCH_ABORT 3 |
#define EXCP_PREFETCH_ABORT 3 |
72 |
/* VFP coprocessor state. */ |
/* VFP coprocessor state. */ |
73 |
struct { |
struct { |
74 |
union { |
union { |
75 |
float s[32]; |
float32 s[32]; |
76 |
double d[16]; |
float64 d[16]; |
77 |
} regs; |
} regs; |
78 |
|
|
79 |
/* We store these fpcsr fields separately for convenience. */ |
/* We store these fpcsr fields separately for convenience. */ |
83 |
uint32_t fpscr; |
uint32_t fpscr; |
84 |
|
|
85 |
/* Temporary variables if we don't have spare fp regs. */ |
/* Temporary variables if we don't have spare fp regs. */ |
86 |
float tmp0s, tmp1s; |
float32 tmp0s, tmp1s; |
87 |
double tmp0d, tmp1d; |
float64 tmp0d, tmp1d; |
88 |
|
|
89 |
|
float_status fp_status; |
90 |
} vfp; |
} vfp; |
91 |
|
|
92 |
/* user data */ |
/* user data */ |