root / target-ppc / helper.h @ 91a75935
History | View | Annotate | Download (14.3 kB)
1 | a7812ae4 | pbrook | #include "def-helper.h" |
---|---|---|---|
2 | f10dc08e | aurel32 | |
3 | 64adab3f | aurel32 | DEF_HELPER_2(raise_exception_err, void, i32, i32)
|
4 | e06fcd75 | aurel32 | DEF_HELPER_1(raise_exception, void, i32)
|
5 | cab3bee2 | aurel32 | DEF_HELPER_3(tw, void, tl, tl, i32)
|
6 | cab3bee2 | aurel32 | #if defined(TARGET_PPC64)
|
7 | cab3bee2 | aurel32 | DEF_HELPER_3(td, void, tl, tl, i32)
|
8 | cab3bee2 | aurel32 | #endif
|
9 | d72a19f7 | aurel32 | #if !defined(CONFIG_USER_ONLY)
|
10 | 6527f6ea | aurel32 | DEF_HELPER_1(store_msr, void, tl)
|
11 | d72a19f7 | aurel32 | DEF_HELPER_0(rfi, void)
|
12 | d72a19f7 | aurel32 | DEF_HELPER_0(rfsvc, void)
|
13 | d72a19f7 | aurel32 | DEF_HELPER_0(40x_rfci, void) |
14 | d72a19f7 | aurel32 | DEF_HELPER_0(rfci, void)
|
15 | d72a19f7 | aurel32 | DEF_HELPER_0(rfdi, void)
|
16 | d72a19f7 | aurel32 | DEF_HELPER_0(rfmci, void)
|
17 | d72a19f7 | aurel32 | #if defined(TARGET_PPC64)
|
18 | d72a19f7 | aurel32 | DEF_HELPER_0(rfid, void)
|
19 | d72a19f7 | aurel32 | DEF_HELPER_0(hrfid, void)
|
20 | d72a19f7 | aurel32 | #endif
|
21 | d72a19f7 | aurel32 | #endif
|
22 | 64adab3f | aurel32 | |
23 | ff4a62cd | aurel32 | DEF_HELPER_2(lmw, void, tl, i32)
|
24 | ff4a62cd | aurel32 | DEF_HELPER_2(stmw, void, tl, i32)
|
25 | dfbc799d | aurel32 | DEF_HELPER_3(lsw, void, tl, i32, i32)
|
26 | dfbc799d | aurel32 | DEF_HELPER_4(lswx, void, tl, i32, i32, i32)
|
27 | dfbc799d | aurel32 | DEF_HELPER_3(stsw, void, tl, i32, i32)
|
28 | 799a8c8d | aurel32 | DEF_HELPER_1(dcbz, void, tl)
|
29 | 799a8c8d | aurel32 | DEF_HELPER_1(dcbz_970, void, tl)
|
30 | 37d269df | aurel32 | DEF_HELPER_1(icbi, void, tl)
|
31 | bdb4b689 | aurel32 | DEF_HELPER_4(lscbx, tl, tl, i32, i32, i32) |
32 | bdb4b689 | aurel32 | |
33 | 74637406 | aurel32 | #if defined(TARGET_PPC64)
|
34 | 69a218fc | aurel32 | DEF_HELPER_FLAGS_2(mulhd, TCG_CALL_CONST | TCG_CALL_PURE, i64, i64, i64) |
35 | 69a218fc | aurel32 | DEF_HELPER_FLAGS_2(mulhdu, TCG_CALL_CONST | TCG_CALL_PURE, i64, i64, i64) |
36 | a7812ae4 | pbrook | DEF_HELPER_2(mulldo, i64, i64, i64) |
37 | 74637406 | aurel32 | #endif
|
38 | 74637406 | aurel32 | |
39 | 69a218fc | aurel32 | DEF_HELPER_FLAGS_1(cntlzw, TCG_CALL_CONST | TCG_CALL_PURE, tl, tl) |
40 | 69a218fc | aurel32 | DEF_HELPER_FLAGS_1(popcntb, TCG_CALL_CONST | TCG_CALL_PURE, tl, tl) |
41 | a7812ae4 | pbrook | DEF_HELPER_2(sraw, tl, tl, tl) |
42 | 26d67362 | aurel32 | #if defined(TARGET_PPC64)
|
43 | 69a218fc | aurel32 | DEF_HELPER_FLAGS_1(cntlzd, TCG_CALL_CONST | TCG_CALL_PURE, tl, tl) |
44 | 69a218fc | aurel32 | DEF_HELPER_FLAGS_1(popcntb_64, TCG_CALL_CONST | TCG_CALL_PURE, tl, tl) |
45 | a7812ae4 | pbrook | DEF_HELPER_2(srad, tl, tl, tl) |
46 | 26d67362 | aurel32 | #endif
|
47 | 26d67362 | aurel32 | |
48 | 69a218fc | aurel32 | DEF_HELPER_FLAGS_1(cntlsw32, TCG_CALL_CONST | TCG_CALL_PURE, i32, i32) |
49 | 69a218fc | aurel32 | DEF_HELPER_FLAGS_1(cntlzw32, TCG_CALL_CONST | TCG_CALL_PURE, i32, i32) |
50 | 69a218fc | aurel32 | DEF_HELPER_FLAGS_2(brinc, TCG_CALL_CONST | TCG_CALL_PURE, tl, tl, tl) |
51 | a7812ae4 | pbrook | |
52 | af12906f | aurel32 | DEF_HELPER_0(float_check_status, void)
|
53 | af12906f | aurel32 | #ifdef CONFIG_SOFTFLOAT
|
54 | af12906f | aurel32 | DEF_HELPER_0(reset_fpstatus, void)
|
55 | af12906f | aurel32 | #endif
|
56 | af12906f | aurel32 | DEF_HELPER_2(compute_fprf, i32, i64, i32) |
57 | af12906f | aurel32 | DEF_HELPER_2(store_fpscr, void, i64, i32)
|
58 | 6e35d524 | aurel32 | DEF_HELPER_1(fpscr_clrbit, void, i32)
|
59 | af12906f | aurel32 | DEF_HELPER_1(fpscr_setbit, void, i32)
|
60 | a0d7d5a7 | aurel32 | DEF_HELPER_1(float64_to_float32, i32, i64) |
61 | a0d7d5a7 | aurel32 | DEF_HELPER_1(float32_to_float64, i64, i32) |
62 | af12906f | aurel32 | |
63 | 9a819377 | aurel32 | DEF_HELPER_3(fcmpo, void, i64, i64, i32)
|
64 | 9a819377 | aurel32 | DEF_HELPER_3(fcmpu, void, i64, i64, i32)
|
65 | d72a19f7 | aurel32 | |
66 | af12906f | aurel32 | DEF_HELPER_1(fctiw, i64, i64) |
67 | af12906f | aurel32 | DEF_HELPER_1(fctiwz, i64, i64) |
68 | af12906f | aurel32 | #if defined(TARGET_PPC64)
|
69 | af12906f | aurel32 | DEF_HELPER_1(fcfid, i64, i64) |
70 | af12906f | aurel32 | DEF_HELPER_1(fctid, i64, i64) |
71 | af12906f | aurel32 | DEF_HELPER_1(fctidz, i64, i64) |
72 | af12906f | aurel32 | #endif
|
73 | af12906f | aurel32 | DEF_HELPER_1(frsp, i64, i64) |
74 | af12906f | aurel32 | DEF_HELPER_1(frin, i64, i64) |
75 | af12906f | aurel32 | DEF_HELPER_1(friz, i64, i64) |
76 | af12906f | aurel32 | DEF_HELPER_1(frip, i64, i64) |
77 | af12906f | aurel32 | DEF_HELPER_1(frim, i64, i64) |
78 | af12906f | aurel32 | |
79 | af12906f | aurel32 | DEF_HELPER_2(fadd, i64, i64, i64) |
80 | af12906f | aurel32 | DEF_HELPER_2(fsub, i64, i64, i64) |
81 | af12906f | aurel32 | DEF_HELPER_2(fmul, i64, i64, i64) |
82 | af12906f | aurel32 | DEF_HELPER_2(fdiv, i64, i64, i64) |
83 | af12906f | aurel32 | DEF_HELPER_3(fmadd, i64, i64, i64, i64) |
84 | af12906f | aurel32 | DEF_HELPER_3(fmsub, i64, i64, i64, i64) |
85 | af12906f | aurel32 | DEF_HELPER_3(fnmadd, i64, i64, i64, i64) |
86 | af12906f | aurel32 | DEF_HELPER_3(fnmsub, i64, i64, i64, i64) |
87 | af12906f | aurel32 | DEF_HELPER_1(fabs, i64, i64) |
88 | af12906f | aurel32 | DEF_HELPER_1(fnabs, i64, i64) |
89 | af12906f | aurel32 | DEF_HELPER_1(fneg, i64, i64) |
90 | 1c97856d | aurel32 | DEF_HELPER_1(fsqrt, i64, i64) |
91 | 1c97856d | aurel32 | DEF_HELPER_1(fre, i64, i64) |
92 | 1c97856d | aurel32 | DEF_HELPER_1(fres, i64, i64) |
93 | 1c97856d | aurel32 | DEF_HELPER_1(frsqrte, i64, i64) |
94 | af12906f | aurel32 | DEF_HELPER_3(fsel, i64, i64, i64, i64) |
95 | af12906f | aurel32 | |
96 | 7872c51c | aurel32 | #define dh_alias_avr ptr
|
97 | c227f099 | Anthony Liguori | #define dh_ctype_avr ppc_avr_t *
|
98 | 7872c51c | aurel32 | |
99 | 7872c51c | aurel32 | DEF_HELPER_3(vaddubm, void, avr, avr, avr)
|
100 | 7872c51c | aurel32 | DEF_HELPER_3(vadduhm, void, avr, avr, avr)
|
101 | 7872c51c | aurel32 | DEF_HELPER_3(vadduwm, void, avr, avr, avr)
|
102 | 7872c51c | aurel32 | DEF_HELPER_3(vsububm, void, avr, avr, avr)
|
103 | 7872c51c | aurel32 | DEF_HELPER_3(vsubuhm, void, avr, avr, avr)
|
104 | 7872c51c | aurel32 | DEF_HELPER_3(vsubuwm, void, avr, avr, avr)
|
105 | fab3cbe9 | aurel32 | DEF_HELPER_3(vavgub, void, avr, avr, avr)
|
106 | fab3cbe9 | aurel32 | DEF_HELPER_3(vavguh, void, avr, avr, avr)
|
107 | fab3cbe9 | aurel32 | DEF_HELPER_3(vavguw, void, avr, avr, avr)
|
108 | fab3cbe9 | aurel32 | DEF_HELPER_3(vavgsb, void, avr, avr, avr)
|
109 | fab3cbe9 | aurel32 | DEF_HELPER_3(vavgsh, void, avr, avr, avr)
|
110 | fab3cbe9 | aurel32 | DEF_HELPER_3(vavgsw, void, avr, avr, avr)
|
111 | e4039339 | aurel32 | DEF_HELPER_3(vminsb, void, avr, avr, avr)
|
112 | e4039339 | aurel32 | DEF_HELPER_3(vminsh, void, avr, avr, avr)
|
113 | e4039339 | aurel32 | DEF_HELPER_3(vminsw, void, avr, avr, avr)
|
114 | e4039339 | aurel32 | DEF_HELPER_3(vmaxsb, void, avr, avr, avr)
|
115 | e4039339 | aurel32 | DEF_HELPER_3(vmaxsh, void, avr, avr, avr)
|
116 | e4039339 | aurel32 | DEF_HELPER_3(vmaxsw, void, avr, avr, avr)
|
117 | e4039339 | aurel32 | DEF_HELPER_3(vminub, void, avr, avr, avr)
|
118 | e4039339 | aurel32 | DEF_HELPER_3(vminuh, void, avr, avr, avr)
|
119 | e4039339 | aurel32 | DEF_HELPER_3(vminuw, void, avr, avr, avr)
|
120 | e4039339 | aurel32 | DEF_HELPER_3(vmaxub, void, avr, avr, avr)
|
121 | e4039339 | aurel32 | DEF_HELPER_3(vmaxuh, void, avr, avr, avr)
|
122 | e4039339 | aurel32 | DEF_HELPER_3(vmaxuw, void, avr, avr, avr)
|
123 | 1add6e23 | aurel32 | DEF_HELPER_3(vcmpequb, void, avr, avr, avr)
|
124 | 1add6e23 | aurel32 | DEF_HELPER_3(vcmpequh, void, avr, avr, avr)
|
125 | 1add6e23 | aurel32 | DEF_HELPER_3(vcmpequw, void, avr, avr, avr)
|
126 | 1add6e23 | aurel32 | DEF_HELPER_3(vcmpgtub, void, avr, avr, avr)
|
127 | 1add6e23 | aurel32 | DEF_HELPER_3(vcmpgtuh, void, avr, avr, avr)
|
128 | 1add6e23 | aurel32 | DEF_HELPER_3(vcmpgtuw, void, avr, avr, avr)
|
129 | 1add6e23 | aurel32 | DEF_HELPER_3(vcmpgtsb, void, avr, avr, avr)
|
130 | 1add6e23 | aurel32 | DEF_HELPER_3(vcmpgtsh, void, avr, avr, avr)
|
131 | 1add6e23 | aurel32 | DEF_HELPER_3(vcmpgtsw, void, avr, avr, avr)
|
132 | 819ca121 | aurel32 | DEF_HELPER_3(vcmpeqfp, void, avr, avr, avr)
|
133 | 819ca121 | aurel32 | DEF_HELPER_3(vcmpgefp, void, avr, avr, avr)
|
134 | 819ca121 | aurel32 | DEF_HELPER_3(vcmpgtfp, void, avr, avr, avr)
|
135 | 819ca121 | aurel32 | DEF_HELPER_3(vcmpbfp, void, avr, avr, avr)
|
136 | 1add6e23 | aurel32 | DEF_HELPER_3(vcmpequb_dot, void, avr, avr, avr)
|
137 | 1add6e23 | aurel32 | DEF_HELPER_3(vcmpequh_dot, void, avr, avr, avr)
|
138 | 1add6e23 | aurel32 | DEF_HELPER_3(vcmpequw_dot, void, avr, avr, avr)
|
139 | 1add6e23 | aurel32 | DEF_HELPER_3(vcmpgtub_dot, void, avr, avr, avr)
|
140 | 1add6e23 | aurel32 | DEF_HELPER_3(vcmpgtuh_dot, void, avr, avr, avr)
|
141 | 1add6e23 | aurel32 | DEF_HELPER_3(vcmpgtuw_dot, void, avr, avr, avr)
|
142 | 1add6e23 | aurel32 | DEF_HELPER_3(vcmpgtsb_dot, void, avr, avr, avr)
|
143 | 1add6e23 | aurel32 | DEF_HELPER_3(vcmpgtsh_dot, void, avr, avr, avr)
|
144 | 1add6e23 | aurel32 | DEF_HELPER_3(vcmpgtsw_dot, void, avr, avr, avr)
|
145 | 819ca121 | aurel32 | DEF_HELPER_3(vcmpeqfp_dot, void, avr, avr, avr)
|
146 | 819ca121 | aurel32 | DEF_HELPER_3(vcmpgefp_dot, void, avr, avr, avr)
|
147 | 819ca121 | aurel32 | DEF_HELPER_3(vcmpgtfp_dot, void, avr, avr, avr)
|
148 | 819ca121 | aurel32 | DEF_HELPER_3(vcmpbfp_dot, void, avr, avr, avr)
|
149 | 3b430048 | aurel32 | DEF_HELPER_3(vmrglb, void, avr, avr, avr)
|
150 | 3b430048 | aurel32 | DEF_HELPER_3(vmrglh, void, avr, avr, avr)
|
151 | 3b430048 | aurel32 | DEF_HELPER_3(vmrglw, void, avr, avr, avr)
|
152 | 3b430048 | aurel32 | DEF_HELPER_3(vmrghb, void, avr, avr, avr)
|
153 | 3b430048 | aurel32 | DEF_HELPER_3(vmrghh, void, avr, avr, avr)
|
154 | 3b430048 | aurel32 | DEF_HELPER_3(vmrghw, void, avr, avr, avr)
|
155 | 2c277908 | aurel32 | DEF_HELPER_3(vmulesb, void, avr, avr, avr)
|
156 | 2c277908 | aurel32 | DEF_HELPER_3(vmulesh, void, avr, avr, avr)
|
157 | 2c277908 | aurel32 | DEF_HELPER_3(vmuleub, void, avr, avr, avr)
|
158 | 2c277908 | aurel32 | DEF_HELPER_3(vmuleuh, void, avr, avr, avr)
|
159 | 2c277908 | aurel32 | DEF_HELPER_3(vmulosb, void, avr, avr, avr)
|
160 | 2c277908 | aurel32 | DEF_HELPER_3(vmulosh, void, avr, avr, avr)
|
161 | 2c277908 | aurel32 | DEF_HELPER_3(vmuloub, void, avr, avr, avr)
|
162 | 2c277908 | aurel32 | DEF_HELPER_3(vmulouh, void, avr, avr, avr)
|
163 | 07ef34c3 | aurel32 | DEF_HELPER_3(vsrab, void, avr, avr, avr)
|
164 | 07ef34c3 | aurel32 | DEF_HELPER_3(vsrah, void, avr, avr, avr)
|
165 | 07ef34c3 | aurel32 | DEF_HELPER_3(vsraw, void, avr, avr, avr)
|
166 | 07ef34c3 | aurel32 | DEF_HELPER_3(vsrb, void, avr, avr, avr)
|
167 | 07ef34c3 | aurel32 | DEF_HELPER_3(vsrh, void, avr, avr, avr)
|
168 | 07ef34c3 | aurel32 | DEF_HELPER_3(vsrw, void, avr, avr, avr)
|
169 | d79f0809 | aurel32 | DEF_HELPER_3(vslb, void, avr, avr, avr)
|
170 | d79f0809 | aurel32 | DEF_HELPER_3(vslh, void, avr, avr, avr)
|
171 | d79f0809 | aurel32 | DEF_HELPER_3(vslw, void, avr, avr, avr)
|
172 | 7b239bec | aurel32 | DEF_HELPER_3(vslo, void, avr, avr, avr)
|
173 | 7b239bec | aurel32 | DEF_HELPER_3(vsro, void, avr, avr, avr)
|
174 | e343da72 | aurel32 | DEF_HELPER_3(vaddcuw, void, avr, avr, avr)
|
175 | e343da72 | aurel32 | DEF_HELPER_3(vsubcuw, void, avr, avr, avr)
|
176 | bf8d8ded | aurel32 | DEF_HELPER_2(lvsl, void, avr, tl);
|
177 | bf8d8ded | aurel32 | DEF_HELPER_2(lvsr, void, avr, tl);
|
178 | 5ab09f33 | aurel32 | DEF_HELPER_3(vaddsbs, void, avr, avr, avr)
|
179 | 5ab09f33 | aurel32 | DEF_HELPER_3(vaddshs, void, avr, avr, avr)
|
180 | 5ab09f33 | aurel32 | DEF_HELPER_3(vaddsws, void, avr, avr, avr)
|
181 | 5ab09f33 | aurel32 | DEF_HELPER_3(vsubsbs, void, avr, avr, avr)
|
182 | 5ab09f33 | aurel32 | DEF_HELPER_3(vsubshs, void, avr, avr, avr)
|
183 | 5ab09f33 | aurel32 | DEF_HELPER_3(vsubsws, void, avr, avr, avr)
|
184 | 5ab09f33 | aurel32 | DEF_HELPER_3(vaddubs, void, avr, avr, avr)
|
185 | 5ab09f33 | aurel32 | DEF_HELPER_3(vadduhs, void, avr, avr, avr)
|
186 | 5ab09f33 | aurel32 | DEF_HELPER_3(vadduws, void, avr, avr, avr)
|
187 | 5ab09f33 | aurel32 | DEF_HELPER_3(vsububs, void, avr, avr, avr)
|
188 | 5ab09f33 | aurel32 | DEF_HELPER_3(vsubuhs, void, avr, avr, avr)
|
189 | 5ab09f33 | aurel32 | DEF_HELPER_3(vsubuws, void, avr, avr, avr)
|
190 | 5e1d0985 | aurel32 | DEF_HELPER_3(vrlb, void, avr, avr, avr)
|
191 | 5e1d0985 | aurel32 | DEF_HELPER_3(vrlh, void, avr, avr, avr)
|
192 | 5e1d0985 | aurel32 | DEF_HELPER_3(vrlw, void, avr, avr, avr)
|
193 | d9430add | aurel32 | DEF_HELPER_3(vsl, void, avr, avr, avr)
|
194 | d9430add | aurel32 | DEF_HELPER_3(vsr, void, avr, avr, avr)
|
195 | cd633b10 | aurel32 | DEF_HELPER_4(vsldoi, void, avr, avr, avr, i32)
|
196 | c026766b | aurel32 | DEF_HELPER_2(vspltisb, void, avr, i32)
|
197 | c026766b | aurel32 | DEF_HELPER_2(vspltish, void, avr, i32)
|
198 | c026766b | aurel32 | DEF_HELPER_2(vspltisw, void, avr, i32)
|
199 | e4e6bee7 | aurel32 | DEF_HELPER_3(vspltb, void, avr, avr, i32)
|
200 | e4e6bee7 | aurel32 | DEF_HELPER_3(vsplth, void, avr, avr, i32)
|
201 | e4e6bee7 | aurel32 | DEF_HELPER_3(vspltw, void, avr, avr, i32)
|
202 | 79f85c3a | aurel32 | DEF_HELPER_2(vupkhpx, void, avr, avr)
|
203 | 79f85c3a | aurel32 | DEF_HELPER_2(vupklpx, void, avr, avr)
|
204 | 6cf1c6e5 | aurel32 | DEF_HELPER_2(vupkhsb, void, avr, avr)
|
205 | 6cf1c6e5 | aurel32 | DEF_HELPER_2(vupkhsh, void, avr, avr)
|
206 | 6cf1c6e5 | aurel32 | DEF_HELPER_2(vupklsb, void, avr, avr)
|
207 | 6cf1c6e5 | aurel32 | DEF_HELPER_2(vupklsh, void, avr, avr)
|
208 | b04ae981 | aurel32 | DEF_HELPER_4(vmsumubm, void, avr, avr, avr, avr)
|
209 | b04ae981 | aurel32 | DEF_HELPER_4(vmsummbm, void, avr, avr, avr, avr)
|
210 | d1258698 | aurel32 | DEF_HELPER_4(vsel, void, avr, avr, avr, avr)
|
211 | d1258698 | aurel32 | DEF_HELPER_4(vperm, void, avr, avr, avr, avr)
|
212 | 5335a145 | aurel32 | DEF_HELPER_3(vpkshss, void, avr, avr, avr)
|
213 | 5335a145 | aurel32 | DEF_HELPER_3(vpkshus, void, avr, avr, avr)
|
214 | 5335a145 | aurel32 | DEF_HELPER_3(vpkswss, void, avr, avr, avr)
|
215 | 5335a145 | aurel32 | DEF_HELPER_3(vpkswus, void, avr, avr, avr)
|
216 | 5335a145 | aurel32 | DEF_HELPER_3(vpkuhus, void, avr, avr, avr)
|
217 | 5335a145 | aurel32 | DEF_HELPER_3(vpkuwus, void, avr, avr, avr)
|
218 | 5335a145 | aurel32 | DEF_HELPER_3(vpkuhum, void, avr, avr, avr)
|
219 | 5335a145 | aurel32 | DEF_HELPER_3(vpkuwum, void, avr, avr, avr)
|
220 | 1dd9ffb9 | aurel32 | DEF_HELPER_3(vpkpx, void, avr, avr, avr)
|
221 | b161ae27 | aurel32 | DEF_HELPER_4(vmhaddshs, void, avr, avr, avr, avr)
|
222 | b161ae27 | aurel32 | DEF_HELPER_4(vmhraddshs, void, avr, avr, avr, avr)
|
223 | 4d9903b6 | aurel32 | DEF_HELPER_4(vmsumuhm, void, avr, avr, avr, avr)
|
224 | 4d9903b6 | aurel32 | DEF_HELPER_4(vmsumuhs, void, avr, avr, avr, avr)
|
225 | eae07261 | aurel32 | DEF_HELPER_4(vmsumshm, void, avr, avr, avr, avr)
|
226 | eae07261 | aurel32 | DEF_HELPER_4(vmsumshs, void, avr, avr, avr, avr)
|
227 | bcd2ee23 | aurel32 | DEF_HELPER_4(vmladduhm, void, avr, avr, avr, avr)
|
228 | 6e87b7c7 | aurel32 | DEF_HELPER_1(mtvscr, void, avr);
|
229 | cbfb6ae9 | aurel32 | DEF_HELPER_2(lvebx, void, avr, tl)
|
230 | cbfb6ae9 | aurel32 | DEF_HELPER_2(lvehx, void, avr, tl)
|
231 | cbfb6ae9 | aurel32 | DEF_HELPER_2(lvewx, void, avr, tl)
|
232 | cbfb6ae9 | aurel32 | DEF_HELPER_2(stvebx, void, avr, tl)
|
233 | cbfb6ae9 | aurel32 | DEF_HELPER_2(stvehx, void, avr, tl)
|
234 | cbfb6ae9 | aurel32 | DEF_HELPER_2(stvewx, void, avr, tl)
|
235 | 8142cddd | aurel32 | DEF_HELPER_3(vsumsws, void, avr, avr, avr)
|
236 | 8142cddd | aurel32 | DEF_HELPER_3(vsum2sws, void, avr, avr, avr)
|
237 | 8142cddd | aurel32 | DEF_HELPER_3(vsum4sbs, void, avr, avr, avr)
|
238 | 8142cddd | aurel32 | DEF_HELPER_3(vsum4shs, void, avr, avr, avr)
|
239 | 8142cddd | aurel32 | DEF_HELPER_3(vsum4ubs, void, avr, avr, avr)
|
240 | 56fdd213 | aurel32 | DEF_HELPER_3(vaddfp, void, avr, avr, avr)
|
241 | 56fdd213 | aurel32 | DEF_HELPER_3(vsubfp, void, avr, avr, avr)
|
242 | 1536ff64 | aurel32 | DEF_HELPER_3(vmaxfp, void, avr, avr, avr)
|
243 | 1536ff64 | aurel32 | DEF_HELPER_3(vminfp, void, avr, avr, avr)
|
244 | bdfbac35 | aurel32 | DEF_HELPER_2(vrefp, void, avr, avr)
|
245 | 071fc3b1 | aurel32 | DEF_HELPER_2(vrsqrtefp, void, avr, avr)
|
246 | 35cf7c7e | aurel32 | DEF_HELPER_4(vmaddfp, void, avr, avr, avr, avr)
|
247 | 35cf7c7e | aurel32 | DEF_HELPER_4(vnmsubfp, void, avr, avr, avr, avr)
|
248 | b580763f | aurel32 | DEF_HELPER_2(vlogefp, void, avr, avr)
|
249 | f6b19645 | aurel32 | DEF_HELPER_2(vrfim, void, avr, avr)
|
250 | f6b19645 | aurel32 | DEF_HELPER_2(vrfin, void, avr, avr)
|
251 | f6b19645 | aurel32 | DEF_HELPER_2(vrfip, void, avr, avr)
|
252 | f6b19645 | aurel32 | DEF_HELPER_2(vrfiz, void, avr, avr)
|
253 | e140632e | aurel32 | DEF_HELPER_3(vcfux, void, avr, avr, i32)
|
254 | e140632e | aurel32 | DEF_HELPER_3(vcfsx, void, avr, avr, i32)
|
255 | 875b31db | aurel32 | DEF_HELPER_3(vctuxs, void, avr, avr, i32)
|
256 | 875b31db | aurel32 | DEF_HELPER_3(vctsxs, void, avr, avr, i32)
|
257 | fab3cbe9 | aurel32 | |
258 | 1c97856d | aurel32 | DEF_HELPER_1(efscfsi, i32, i32) |
259 | 1c97856d | aurel32 | DEF_HELPER_1(efscfui, i32, i32) |
260 | 1c97856d | aurel32 | DEF_HELPER_1(efscfuf, i32, i32) |
261 | 1c97856d | aurel32 | DEF_HELPER_1(efscfsf, i32, i32) |
262 | 1c97856d | aurel32 | DEF_HELPER_1(efsctsi, i32, i32) |
263 | 1c97856d | aurel32 | DEF_HELPER_1(efsctui, i32, i32) |
264 | 1c97856d | aurel32 | DEF_HELPER_1(efsctsiz, i32, i32) |
265 | 1c97856d | aurel32 | DEF_HELPER_1(efsctuiz, i32, i32) |
266 | 1c97856d | aurel32 | DEF_HELPER_1(efsctsf, i32, i32) |
267 | 1c97856d | aurel32 | DEF_HELPER_1(efsctuf, i32, i32) |
268 | 1c97856d | aurel32 | DEF_HELPER_1(evfscfsi, i64, i64) |
269 | 1c97856d | aurel32 | DEF_HELPER_1(evfscfui, i64, i64) |
270 | 1c97856d | aurel32 | DEF_HELPER_1(evfscfuf, i64, i64) |
271 | 1c97856d | aurel32 | DEF_HELPER_1(evfscfsf, i64, i64) |
272 | 1c97856d | aurel32 | DEF_HELPER_1(evfsctsi, i64, i64) |
273 | 1c97856d | aurel32 | DEF_HELPER_1(evfsctui, i64, i64) |
274 | 1c97856d | aurel32 | DEF_HELPER_1(evfsctsiz, i64, i64) |
275 | 1c97856d | aurel32 | DEF_HELPER_1(evfsctuiz, i64, i64) |
276 | 1c97856d | aurel32 | DEF_HELPER_1(evfsctsf, i64, i64) |
277 | 1c97856d | aurel32 | DEF_HELPER_1(evfsctuf, i64, i64) |
278 | 1c97856d | aurel32 | DEF_HELPER_2(efsadd, i32, i32, i32) |
279 | 1c97856d | aurel32 | DEF_HELPER_2(efssub, i32, i32, i32) |
280 | 1c97856d | aurel32 | DEF_HELPER_2(efsmul, i32, i32, i32) |
281 | 1c97856d | aurel32 | DEF_HELPER_2(efsdiv, i32, i32, i32) |
282 | 1c97856d | aurel32 | DEF_HELPER_2(evfsadd, i64, i64, i64) |
283 | 1c97856d | aurel32 | DEF_HELPER_2(evfssub, i64, i64, i64) |
284 | 1c97856d | aurel32 | DEF_HELPER_2(evfsmul, i64, i64, i64) |
285 | 1c97856d | aurel32 | DEF_HELPER_2(evfsdiv, i64, i64, i64) |
286 | 1c97856d | aurel32 | DEF_HELPER_2(efststlt, i32, i32, i32) |
287 | 1c97856d | aurel32 | DEF_HELPER_2(efststgt, i32, i32, i32) |
288 | 1c97856d | aurel32 | DEF_HELPER_2(efststeq, i32, i32, i32) |
289 | 1c97856d | aurel32 | DEF_HELPER_2(efscmplt, i32, i32, i32) |
290 | 1c97856d | aurel32 | DEF_HELPER_2(efscmpgt, i32, i32, i32) |
291 | 1c97856d | aurel32 | DEF_HELPER_2(efscmpeq, i32, i32, i32) |
292 | 1c97856d | aurel32 | DEF_HELPER_2(evfststlt, i32, i64, i64) |
293 | 1c97856d | aurel32 | DEF_HELPER_2(evfststgt, i32, i64, i64) |
294 | 1c97856d | aurel32 | DEF_HELPER_2(evfststeq, i32, i64, i64) |
295 | 1c97856d | aurel32 | DEF_HELPER_2(evfscmplt, i32, i64, i64) |
296 | 1c97856d | aurel32 | DEF_HELPER_2(evfscmpgt, i32, i64, i64) |
297 | 1c97856d | aurel32 | DEF_HELPER_2(evfscmpeq, i32, i64, i64) |
298 | 1c97856d | aurel32 | DEF_HELPER_1(efdcfsi, i64, i32) |
299 | 1c97856d | aurel32 | DEF_HELPER_1(efdcfsid, i64, i64) |
300 | 1c97856d | aurel32 | DEF_HELPER_1(efdcfui, i64, i32) |
301 | 1c97856d | aurel32 | DEF_HELPER_1(efdcfuid, i64, i64) |
302 | 1c97856d | aurel32 | DEF_HELPER_1(efdctsi, i32, i64) |
303 | 1c97856d | aurel32 | DEF_HELPER_1(efdctui, i32, i64) |
304 | 1c97856d | aurel32 | DEF_HELPER_1(efdctsiz, i32, i64) |
305 | 1c97856d | aurel32 | DEF_HELPER_1(efdctsidz, i64, i64) |
306 | 1c97856d | aurel32 | DEF_HELPER_1(efdctuiz, i32, i64) |
307 | 1c97856d | aurel32 | DEF_HELPER_1(efdctuidz, i64, i64) |
308 | 1c97856d | aurel32 | DEF_HELPER_1(efdcfsf, i64, i32) |
309 | 1c97856d | aurel32 | DEF_HELPER_1(efdcfuf, i64, i32) |
310 | 1c97856d | aurel32 | DEF_HELPER_1(efdctsf, i32, i64) |
311 | 1c97856d | aurel32 | DEF_HELPER_1(efdctuf, i32, i64) |
312 | 1c97856d | aurel32 | DEF_HELPER_1(efscfd, i32, i64) |
313 | 1c97856d | aurel32 | DEF_HELPER_1(efdcfs, i64, i32) |
314 | 1c97856d | aurel32 | DEF_HELPER_2(efdadd, i64, i64, i64) |
315 | 1c97856d | aurel32 | DEF_HELPER_2(efdsub, i64, i64, i64) |
316 | 1c97856d | aurel32 | DEF_HELPER_2(efdmul, i64, i64, i64) |
317 | 1c97856d | aurel32 | DEF_HELPER_2(efddiv, i64, i64, i64) |
318 | 1c97856d | aurel32 | DEF_HELPER_2(efdtstlt, i32, i64, i64) |
319 | 1c97856d | aurel32 | DEF_HELPER_2(efdtstgt, i32, i64, i64) |
320 | 1c97856d | aurel32 | DEF_HELPER_2(efdtsteq, i32, i64, i64) |
321 | 1c97856d | aurel32 | DEF_HELPER_2(efdcmplt, i32, i64, i64) |
322 | 1c97856d | aurel32 | DEF_HELPER_2(efdcmpgt, i32, i64, i64) |
323 | 1c97856d | aurel32 | DEF_HELPER_2(efdcmpeq, i32, i64, i64) |
324 | 1c97856d | aurel32 | |
325 | 0f3955e2 | aurel32 | #if !defined(CONFIG_USER_ONLY)
|
326 | 74d37793 | aurel32 | DEF_HELPER_1(4xx_tlbre_hi, tl, tl)
|
327 | 74d37793 | aurel32 | DEF_HELPER_1(4xx_tlbre_lo, tl, tl)
|
328 | 74d37793 | aurel32 | DEF_HELPER_2(4xx_tlbwe_hi, void, tl, tl) |
329 | 74d37793 | aurel32 | DEF_HELPER_2(4xx_tlbwe_lo, void, tl, tl) |
330 | 74d37793 | aurel32 | DEF_HELPER_1(4xx_tlbsx, tl, tl)
|
331 | 74d37793 | aurel32 | DEF_HELPER_2(440_tlbre, tl, i32, tl)
|
332 | 74d37793 | aurel32 | DEF_HELPER_3(440_tlbwe, void, i32, tl, tl) |
333 | 74d37793 | aurel32 | DEF_HELPER_1(440_tlbsx, tl, tl)
|
334 | 74d37793 | aurel32 | DEF_HELPER_1(6xx_tlbd, void, tl) |
335 | 74d37793 | aurel32 | DEF_HELPER_1(6xx_tlbi, void, tl) |
336 | 74d37793 | aurel32 | DEF_HELPER_1(74xx_tlbd, void, tl) |
337 | 74d37793 | aurel32 | DEF_HELPER_1(74xx_tlbi, void, tl) |
338 | 69a218fc | aurel32 | DEF_HELPER_FLAGS_0(tlbia, TCG_CALL_CONST, void)
|
339 | 69a218fc | aurel32 | DEF_HELPER_FLAGS_1(tlbie, TCG_CALL_CONST, void, tl)
|
340 | 74d37793 | aurel32 | #if defined(TARGET_PPC64)
|
341 | 69a218fc | aurel32 | DEF_HELPER_FLAGS_1(load_slb, TCG_CALL_CONST, tl, tl) |
342 | 69a218fc | aurel32 | DEF_HELPER_FLAGS_2(store_slb, TCG_CALL_CONST, void, tl, tl)
|
343 | 69a218fc | aurel32 | DEF_HELPER_FLAGS_0(slbia, TCG_CALL_CONST, void)
|
344 | 69a218fc | aurel32 | DEF_HELPER_FLAGS_1(slbie, TCG_CALL_CONST, void, tl)
|
345 | 74d37793 | aurel32 | #endif
|
346 | 69a218fc | aurel32 | DEF_HELPER_FLAGS_1(load_sr, TCG_CALL_CONST, tl, tl); |
347 | 69a218fc | aurel32 | DEF_HELPER_FLAGS_2(store_sr, TCG_CALL_CONST, void, tl, tl)
|
348 | cf02a65c | aurel32 | |
349 | 69a218fc | aurel32 | DEF_HELPER_FLAGS_1(602_mfrom, TCG_CALL_CONST | TCG_CALL_PURE, tl, tl)
|
350 | 0f3955e2 | aurel32 | #endif
|
351 | 0f3955e2 | aurel32 | |
352 | ef0d51af | aurel32 | DEF_HELPER_3(dlmzb, tl, tl, tl, i32) |
353 | 69a218fc | aurel32 | DEF_HELPER_FLAGS_1(clcs, TCG_CALL_CONST | TCG_CALL_PURE, tl, i32) |
354 | 22e0e173 | aurel32 | #if !defined(CONFIG_USER_ONLY)
|
355 | 22e0e173 | aurel32 | DEF_HELPER_1(rac, tl, tl) |
356 | 22e0e173 | aurel32 | #endif
|
357 | 22e0e173 | aurel32 | DEF_HELPER_2(div, tl, tl, tl) |
358 | 22e0e173 | aurel32 | DEF_HELPER_2(divo, tl, tl, tl) |
359 | 22e0e173 | aurel32 | DEF_HELPER_2(divs, tl, tl, tl) |
360 | 22e0e173 | aurel32 | DEF_HELPER_2(divso, tl, tl, tl) |
361 | ef0d51af | aurel32 | |
362 | 06dca6a7 | aurel32 | DEF_HELPER_1(load_dcr, tl, tl); |
363 | 45d827d2 | aurel32 | DEF_HELPER_2(store_dcr, void, tl, tl)
|
364 | 45d827d2 | aurel32 | |
365 | 45d827d2 | aurel32 | DEF_HELPER_1(load_dump_spr, void, i32)
|
366 | 45d827d2 | aurel32 | DEF_HELPER_1(store_dump_spr, void, i32)
|
367 | 45d827d2 | aurel32 | DEF_HELPER_0(load_tbl, tl) |
368 | 45d827d2 | aurel32 | DEF_HELPER_0(load_tbu, tl) |
369 | 45d827d2 | aurel32 | DEF_HELPER_0(load_atbl, tl) |
370 | 45d827d2 | aurel32 | DEF_HELPER_0(load_atbu, tl) |
371 | 45d827d2 | aurel32 | DEF_HELPER_0(load_601_rtcl, tl) |
372 | 45d827d2 | aurel32 | DEF_HELPER_0(load_601_rtcu, tl) |
373 | 45d827d2 | aurel32 | #if !defined(CONFIG_USER_ONLY)
|
374 | 45d827d2 | aurel32 | #if defined(TARGET_PPC64)
|
375 | 45d827d2 | aurel32 | DEF_HELPER_1(store_asr, void, tl)
|
376 | 45d827d2 | aurel32 | #endif
|
377 | 45d827d2 | aurel32 | DEF_HELPER_1(store_sdr1, void, tl)
|
378 | 45d827d2 | aurel32 | DEF_HELPER_1(store_tbl, void, tl)
|
379 | 45d827d2 | aurel32 | DEF_HELPER_1(store_tbu, void, tl)
|
380 | 45d827d2 | aurel32 | DEF_HELPER_1(store_atbl, void, tl)
|
381 | 45d827d2 | aurel32 | DEF_HELPER_1(store_atbu, void, tl)
|
382 | 45d827d2 | aurel32 | DEF_HELPER_1(store_601_rtcl, void, tl)
|
383 | 45d827d2 | aurel32 | DEF_HELPER_1(store_601_rtcu, void, tl)
|
384 | 45d827d2 | aurel32 | DEF_HELPER_0(load_decr, tl) |
385 | 45d827d2 | aurel32 | DEF_HELPER_1(store_decr, void, tl)
|
386 | 45d827d2 | aurel32 | DEF_HELPER_1(store_hid0_601, void, tl)
|
387 | 45d827d2 | aurel32 | DEF_HELPER_2(store_403_pbr, void, i32, tl)
|
388 | 45d827d2 | aurel32 | DEF_HELPER_0(load_40x_pit, tl) |
389 | 45d827d2 | aurel32 | DEF_HELPER_1(store_40x_pit, void, tl)
|
390 | 45d827d2 | aurel32 | DEF_HELPER_1(store_40x_dbcr0, void, tl)
|
391 | 45d827d2 | aurel32 | DEF_HELPER_1(store_40x_sler, void, tl)
|
392 | 45d827d2 | aurel32 | DEF_HELPER_1(store_booke_tcr, void, tl)
|
393 | 45d827d2 | aurel32 | DEF_HELPER_1(store_booke_tsr, void, tl)
|
394 | 45d827d2 | aurel32 | DEF_HELPER_2(store_ibatl, void, i32, tl)
|
395 | 45d827d2 | aurel32 | DEF_HELPER_2(store_ibatu, void, i32, tl)
|
396 | 45d827d2 | aurel32 | DEF_HELPER_2(store_dbatl, void, i32, tl)
|
397 | 45d827d2 | aurel32 | DEF_HELPER_2(store_dbatu, void, i32, tl)
|
398 | 45d827d2 | aurel32 | DEF_HELPER_2(store_601_batl, void, i32, tl)
|
399 | 45d827d2 | aurel32 | DEF_HELPER_2(store_601_batu, void, i32, tl)
|
400 | 45d827d2 | aurel32 | #endif
|
401 | 06dca6a7 | aurel32 | |
402 | a7812ae4 | pbrook | #include "def-helper.h" |