root / target-i386 / helper.h @ 19e6c4b8
History | View | Annotate | Download (3.1 kB)
1 | 57fec1fe | bellard | #define TCG_HELPER_PROTO
|
---|---|---|---|
2 | 57fec1fe | bellard | |
3 | 57fec1fe | bellard | void TCG_HELPER_PROTO helper_divl_EAX_T0(target_ulong t0);
|
4 | 57fec1fe | bellard | void TCG_HELPER_PROTO helper_idivl_EAX_T0(target_ulong t0);
|
5 | 19e6c4b8 | bellard | |
6 | 19e6c4b8 | bellard | /* x86 FPU */
|
7 | 19e6c4b8 | bellard | |
8 | 19e6c4b8 | bellard | void helper_flds_FT0(uint32_t val);
|
9 | 19e6c4b8 | bellard | void helper_fldl_FT0(uint64_t val);
|
10 | 19e6c4b8 | bellard | void helper_fildl_FT0(int32_t val);
|
11 | 19e6c4b8 | bellard | void helper_flds_ST0(uint32_t val);
|
12 | 19e6c4b8 | bellard | void helper_fldl_ST0(uint64_t val);
|
13 | 19e6c4b8 | bellard | void helper_fildl_ST0(int32_t val);
|
14 | 19e6c4b8 | bellard | void helper_fildll_ST0(int64_t val);
|
15 | 19e6c4b8 | bellard | uint32_t helper_fsts_ST0(void);
|
16 | 19e6c4b8 | bellard | uint64_t helper_fstl_ST0(void);
|
17 | 19e6c4b8 | bellard | int32_t helper_fist_ST0(void);
|
18 | 19e6c4b8 | bellard | int32_t helper_fistl_ST0(void);
|
19 | 19e6c4b8 | bellard | int64_t helper_fistll_ST0(void);
|
20 | 19e6c4b8 | bellard | int32_t helper_fistt_ST0(void);
|
21 | 19e6c4b8 | bellard | int32_t helper_fisttl_ST0(void);
|
22 | 19e6c4b8 | bellard | int64_t helper_fisttll_ST0(void);
|
23 | 19e6c4b8 | bellard | void helper_fldt_ST0(target_ulong ptr);
|
24 | 19e6c4b8 | bellard | void helper_fstt_ST0(target_ulong ptr);
|
25 | 19e6c4b8 | bellard | void helper_fpush(void); |
26 | 19e6c4b8 | bellard | void helper_fpop(void); |
27 | 19e6c4b8 | bellard | void helper_fdecstp(void); |
28 | 19e6c4b8 | bellard | void helper_fincstp(void); |
29 | 19e6c4b8 | bellard | void helper_ffree_STN(int st_index); |
30 | 19e6c4b8 | bellard | void helper_fmov_ST0_FT0(void); |
31 | 19e6c4b8 | bellard | void helper_fmov_FT0_STN(int st_index); |
32 | 19e6c4b8 | bellard | void helper_fmov_ST0_STN(int st_index); |
33 | 19e6c4b8 | bellard | void helper_fmov_STN_ST0(int st_index); |
34 | 19e6c4b8 | bellard | void helper_fxchg_ST0_STN(int st_index); |
35 | 19e6c4b8 | bellard | void helper_fcom_ST0_FT0(void); |
36 | 19e6c4b8 | bellard | void helper_fucom_ST0_FT0(void); |
37 | 19e6c4b8 | bellard | void helper_fcomi_ST0_FT0(void); |
38 | 19e6c4b8 | bellard | void helper_fucomi_ST0_FT0(void); |
39 | 19e6c4b8 | bellard | void helper_fadd_ST0_FT0(void); |
40 | 19e6c4b8 | bellard | void helper_fmul_ST0_FT0(void); |
41 | 19e6c4b8 | bellard | void helper_fsub_ST0_FT0(void); |
42 | 19e6c4b8 | bellard | void helper_fsubr_ST0_FT0(void); |
43 | 19e6c4b8 | bellard | void helper_fdiv_ST0_FT0(void); |
44 | 19e6c4b8 | bellard | void helper_fdivr_ST0_FT0(void); |
45 | 19e6c4b8 | bellard | void helper_fadd_STN_ST0(int st_index); |
46 | 19e6c4b8 | bellard | void helper_fmul_STN_ST0(int st_index); |
47 | 19e6c4b8 | bellard | void helper_fsub_STN_ST0(int st_index); |
48 | 19e6c4b8 | bellard | void helper_fsubr_STN_ST0(int st_index); |
49 | 19e6c4b8 | bellard | void helper_fdiv_STN_ST0(int st_index); |
50 | 19e6c4b8 | bellard | void helper_fdivr_STN_ST0(int st_index); |
51 | 19e6c4b8 | bellard | void helper_fchs_ST0(void); |
52 | 19e6c4b8 | bellard | void helper_fabs_ST0(void); |
53 | 19e6c4b8 | bellard | void helper_fxam_ST0(void); |
54 | 19e6c4b8 | bellard | void helper_fld1_ST0(void); |
55 | 19e6c4b8 | bellard | void helper_fldl2t_ST0(void); |
56 | 19e6c4b8 | bellard | void helper_fldl2e_ST0(void); |
57 | 19e6c4b8 | bellard | void helper_fldpi_ST0(void); |
58 | 19e6c4b8 | bellard | void helper_fldlg2_ST0(void); |
59 | 19e6c4b8 | bellard | void helper_fldln2_ST0(void); |
60 | 19e6c4b8 | bellard | void helper_fldz_ST0(void); |
61 | 19e6c4b8 | bellard | void helper_fldz_FT0(void); |
62 | 19e6c4b8 | bellard | uint32_t helper_fnstsw(void);
|
63 | 19e6c4b8 | bellard | uint32_t helper_fnstcw(void);
|
64 | 19e6c4b8 | bellard | void helper_fldcw(uint32_t val);
|
65 | 19e6c4b8 | bellard | void helper_fclex(void); |
66 | 19e6c4b8 | bellard | void helper_fwait(void); |
67 | 19e6c4b8 | bellard | void helper_fninit(void); |
68 | 19e6c4b8 | bellard | void helper_fbld_ST0(target_ulong ptr);
|
69 | 19e6c4b8 | bellard | void helper_fbst_ST0(target_ulong ptr);
|
70 | 19e6c4b8 | bellard | void helper_f2xm1(void); |
71 | 19e6c4b8 | bellard | void helper_fyl2x(void); |
72 | 19e6c4b8 | bellard | void helper_fptan(void); |
73 | 19e6c4b8 | bellard | void helper_fpatan(void); |
74 | 19e6c4b8 | bellard | void helper_fxtract(void); |
75 | 19e6c4b8 | bellard | void helper_fprem1(void); |
76 | 19e6c4b8 | bellard | void helper_fprem(void); |
77 | 19e6c4b8 | bellard | void helper_fyl2xp1(void); |
78 | 19e6c4b8 | bellard | void helper_fsqrt(void); |
79 | 19e6c4b8 | bellard | void helper_fsincos(void); |
80 | 19e6c4b8 | bellard | void helper_frndint(void); |
81 | 19e6c4b8 | bellard | void helper_fscale(void); |
82 | 19e6c4b8 | bellard | void helper_fsin(void); |
83 | 19e6c4b8 | bellard | void helper_fcos(void); |
84 | 19e6c4b8 | bellard | void helper_fxam_ST0(void); |
85 | 19e6c4b8 | bellard | void helper_fstenv(target_ulong ptr, int data32); |
86 | 19e6c4b8 | bellard | void helper_fldenv(target_ulong ptr, int data32); |
87 | 19e6c4b8 | bellard | void helper_fsave(target_ulong ptr, int data32); |
88 | 19e6c4b8 | bellard | void helper_frstor(target_ulong ptr, int data32); |
89 | 19e6c4b8 | bellard | void helper_fxsave(target_ulong ptr, int data64); |
90 | 19e6c4b8 | bellard | void helper_fxrstor(target_ulong ptr, int data64); |
91 | 19e6c4b8 | bellard | |
92 | 19e6c4b8 | bellard | /* MMX/SSE */
|
93 | 19e6c4b8 | bellard | |
94 | 5af45186 | bellard | void TCG_HELPER_PROTO helper_enter_mmx(void); |
95 | 5af45186 | bellard | void TCG_HELPER_PROTO helper_emms(void); |
96 | 5af45186 | bellard | void TCG_HELPER_PROTO helper_movq(uint64_t *d, uint64_t *s);
|
97 | 5af45186 | bellard | |
98 | 5af45186 | bellard | #define SHIFT 0 |
99 | 5af45186 | bellard | #include "ops_sse_header.h" |
100 | 5af45186 | bellard | #define SHIFT 1 |
101 | 5af45186 | bellard | #include "ops_sse_header.h" |