1 DEF_HELPER_FLAGS_3(raise_exception_err, TCG_CALL_NO_WG, noreturn, env, i32, i32) 2 DEF_HELPER_FLAGS_2(raise_exception, TCG_CALL_NO_WG, noreturn, env, i32) 3 DEF_HELPER_FLAGS_4(tw, TCG_CALL_NO_WG, void, env, tl, tl, i32) 4 #if defined(TARGET_PPC64) 5 DEF_HELPER_FLAGS_4(td, TCG_CALL_NO_WG, void, env, tl, tl, i32) 6 #endif 7 #if !defined(CONFIG_USER_ONLY) 8 DEF_HELPER_2(store_msr, void, env, tl) 9 DEF_HELPER_1(rfi, void, env) 10 DEF_HELPER_1(40x_rfci, void, env) 11 DEF_HELPER_1(rfci, void, env) 12 DEF_HELPER_1(rfdi, void, env) 13 DEF_HELPER_1(rfmci, void, env) 14 #if defined(TARGET_PPC64) 15 DEF_HELPER_2(scv, noreturn, env, i32) 16 DEF_HELPER_2(pminsn, void, env, i32) 17 DEF_HELPER_1(rfid, void, env) 18 DEF_HELPER_1(rfscv, void, env) 19 DEF_HELPER_1(hrfid, void, env) 20 DEF_HELPER_2(rfebb, void, env, tl) 21 DEF_HELPER_2(store_lpcr, void, env, tl) 22 DEF_HELPER_2(store_pcr, void, env, tl) 23 DEF_HELPER_2(store_mmcr0, void, env, tl) 24 DEF_HELPER_2(store_mmcr1, void, env, tl) 25 DEF_HELPER_3(store_pmc, void, env, i32, i64) 26 DEF_HELPER_2(read_pmc, tl, env, i32) 27 DEF_HELPER_2(insns_inc, void, env, i32) 28 #endif 29 DEF_HELPER_1(check_tlb_flush_local, void, env) 30 DEF_HELPER_1(check_tlb_flush_global, void, env) 31 #endif 32 33 DEF_HELPER_3(lmw, void, env, tl, i32) 34 DEF_HELPER_FLAGS_3(stmw, TCG_CALL_NO_WG, void, env, tl, i32) 35 DEF_HELPER_4(lsw, void, env, tl, i32, i32) 36 DEF_HELPER_5(lswx, void, env, tl, i32, i32, i32) 37 DEF_HELPER_FLAGS_4(stsw, TCG_CALL_NO_WG, void, env, tl, i32, i32) 38 DEF_HELPER_FLAGS_3(dcbz, TCG_CALL_NO_WG, void, env, tl, i32) 39 DEF_HELPER_FLAGS_3(dcbzep, TCG_CALL_NO_WG, void, env, tl, i32) 40 DEF_HELPER_FLAGS_2(icbi, TCG_CALL_NO_WG, void, env, tl) 41 DEF_HELPER_FLAGS_2(icbiep, TCG_CALL_NO_WG, void, env, tl) 42 DEF_HELPER_5(lscbx, tl, env, tl, i32, i32, i32) 43 44 #if defined(TARGET_PPC64) 45 DEF_HELPER_4(divdeu, i64, env, i64, i64, i32) 46 DEF_HELPER_4(divde, i64, env, i64, i64, i32) 47 #endif 48 DEF_HELPER_4(divweu, tl, env, tl, tl, i32) 49 DEF_HELPER_4(divwe, tl, env, tl, tl, i32) 50 51 DEF_HELPER_FLAGS_1(popcntb, TCG_CALL_NO_RWG_SE, tl, tl) 52 DEF_HELPER_FLAGS_2(cmpb, TCG_CALL_NO_RWG_SE, tl, tl, tl) 53 DEF_HELPER_3(sraw, tl, env, tl, tl) 54 DEF_HELPER_FLAGS_2(CFUGED, TCG_CALL_NO_RWG_SE, i64, i64, i64) 55 DEF_HELPER_FLAGS_2(PDEPD, TCG_CALL_NO_RWG_SE, i64, i64, i64) 56 DEF_HELPER_FLAGS_2(PEXTD, TCG_CALL_NO_RWG_SE, i64, i64, i64) 57 #if defined(TARGET_PPC64) 58 DEF_HELPER_FLAGS_2(cmpeqb, TCG_CALL_NO_RWG_SE, i32, tl, tl) 59 DEF_HELPER_FLAGS_1(popcntw, TCG_CALL_NO_RWG_SE, tl, tl) 60 DEF_HELPER_FLAGS_2(bpermd, TCG_CALL_NO_RWG_SE, i64, i64, i64) 61 DEF_HELPER_3(srad, tl, env, tl, tl) 62 DEF_HELPER_0(darn32, tl) 63 DEF_HELPER_0(darn64, tl) 64 #endif 65 66 DEF_HELPER_FLAGS_1(cntlsw32, TCG_CALL_NO_RWG_SE, i32, i32) 67 DEF_HELPER_FLAGS_1(cntlzw32, TCG_CALL_NO_RWG_SE, i32, i32) 68 DEF_HELPER_FLAGS_2(brinc, TCG_CALL_NO_RWG_SE, tl, tl, tl) 69 70 DEF_HELPER_1(float_check_status, void, env) 71 DEF_HELPER_1(fpscr_check_status, void, env) 72 DEF_HELPER_1(reset_fpstatus, void, env) 73 DEF_HELPER_2(compute_fprf_float64, void, env, i64) 74 DEF_HELPER_3(store_fpscr, void, env, i64, i32) 75 DEF_HELPER_2(fpscr_clrbit, void, env, i32) 76 DEF_HELPER_2(fpscr_setbit, void, env, i32) 77 DEF_HELPER_FLAGS_1(todouble, TCG_CALL_NO_RWG_SE, i64, i32) 78 DEF_HELPER_FLAGS_1(tosingle, TCG_CALL_NO_RWG_SE, i32, i64) 79 80 DEF_HELPER_4(fcmpo, void, env, i64, i64, i32) 81 DEF_HELPER_4(fcmpu, void, env, i64, i64, i32) 82 83 DEF_HELPER_2(fctiw, i64, env, i64) 84 DEF_HELPER_2(fctiwu, i64, env, i64) 85 DEF_HELPER_2(fctiwz, i64, env, i64) 86 DEF_HELPER_2(fctiwuz, i64, env, i64) 87 DEF_HELPER_2(fcfid, i64, env, i64) 88 DEF_HELPER_2(fcfidu, i64, env, i64) 89 DEF_HELPER_2(fcfids, i64, env, i64) 90 DEF_HELPER_2(fcfidus, i64, env, i64) 91 DEF_HELPER_2(fctid, i64, env, i64) 92 DEF_HELPER_2(fctidu, i64, env, i64) 93 DEF_HELPER_2(fctidz, i64, env, i64) 94 DEF_HELPER_2(fctiduz, i64, env, i64) 95 DEF_HELPER_2(frsp, i64, env, i64) 96 DEF_HELPER_2(frin, i64, env, i64) 97 DEF_HELPER_2(friz, i64, env, i64) 98 DEF_HELPER_2(frip, i64, env, i64) 99 DEF_HELPER_2(frim, i64, env, i64) 100 101 DEF_HELPER_3(fadd, f64, env, f64, f64) 102 DEF_HELPER_3(fadds, f64, env, f64, f64) 103 DEF_HELPER_3(fsub, f64, env, f64, f64) 104 DEF_HELPER_3(fsubs, f64, env, f64, f64) 105 DEF_HELPER_3(fmul, f64, env, f64, f64) 106 DEF_HELPER_3(fmuls, f64, env, f64, f64) 107 DEF_HELPER_3(fdiv, f64, env, f64, f64) 108 DEF_HELPER_3(fdivs, f64, env, f64, f64) 109 DEF_HELPER_4(fmadd, i64, env, i64, i64, i64) 110 DEF_HELPER_4(fmsub, i64, env, i64, i64, i64) 111 DEF_HELPER_4(fnmadd, i64, env, i64, i64, i64) 112 DEF_HELPER_4(fnmsub, i64, env, i64, i64, i64) 113 DEF_HELPER_4(fmadds, i64, env, i64, i64, i64) 114 DEF_HELPER_4(fmsubs, i64, env, i64, i64, i64) 115 DEF_HELPER_4(fnmadds, i64, env, i64, i64, i64) 116 DEF_HELPER_4(fnmsubs, i64, env, i64, i64, i64) 117 DEF_HELPER_2(fsqrt, f64, env, f64) 118 DEF_HELPER_2(fsqrts, f64, env, f64) 119 DEF_HELPER_2(fre, i64, env, i64) 120 DEF_HELPER_2(fres, i64, env, i64) 121 DEF_HELPER_2(frsqrte, i64, env, i64) 122 DEF_HELPER_2(frsqrtes, i64, env, i64) 123 DEF_HELPER_4(fsel, i64, env, i64, i64, i64) 124 125 DEF_HELPER_FLAGS_2(ftdiv, TCG_CALL_NO_RWG_SE, i32, i64, i64) 126 DEF_HELPER_FLAGS_1(ftsqrt, TCG_CALL_NO_RWG_SE, i32, i64) 127 128 #define dh_alias_avr ptr 129 #define dh_ctype_avr ppc_avr_t * 130 #define dh_typecode_avr dh_typecode_ptr 131 132 #define dh_alias_vsr ptr 133 #define dh_ctype_vsr ppc_vsr_t * 134 #define dh_typecode_vsr dh_typecode_ptr 135 136 DEF_HELPER_3(vavgub, void, avr, avr, avr) 137 DEF_HELPER_3(vavguh, void, avr, avr, avr) 138 DEF_HELPER_3(vavguw, void, avr, avr, avr) 139 DEF_HELPER_3(vabsdub, void, avr, avr, avr) 140 DEF_HELPER_3(vabsduh, void, avr, avr, avr) 141 DEF_HELPER_3(vabsduw, void, avr, avr, avr) 142 DEF_HELPER_3(vavgsb, void, avr, avr, avr) 143 DEF_HELPER_3(vavgsh, void, avr, avr, avr) 144 DEF_HELPER_3(vavgsw, void, avr, avr, avr) 145 DEF_HELPER_4(vcmpeqfp, void, env, avr, avr, avr) 146 DEF_HELPER_4(vcmpgefp, void, env, avr, avr, avr) 147 DEF_HELPER_4(vcmpgtfp, void, env, avr, avr, avr) 148 DEF_HELPER_4(vcmpbfp, void, env, avr, avr, avr) 149 DEF_HELPER_FLAGS_4(VCMPNEZB, TCG_CALL_NO_RWG, void, avr, avr, avr, i32) 150 DEF_HELPER_FLAGS_4(VCMPNEZH, TCG_CALL_NO_RWG, void, avr, avr, avr, i32) 151 DEF_HELPER_FLAGS_4(VCMPNEZW, TCG_CALL_NO_RWG, void, avr, avr, avr, i32) 152 DEF_HELPER_4(vcmpeqfp_dot, void, env, avr, avr, avr) 153 DEF_HELPER_4(vcmpgefp_dot, void, env, avr, avr, avr) 154 DEF_HELPER_4(vcmpgtfp_dot, void, env, avr, avr, avr) 155 DEF_HELPER_4(vcmpbfp_dot, void, env, avr, avr, avr) 156 DEF_HELPER_3(vmrglb, void, avr, avr, avr) 157 DEF_HELPER_3(vmrglh, void, avr, avr, avr) 158 DEF_HELPER_3(vmrglw, void, avr, avr, avr) 159 DEF_HELPER_3(vmrghb, void, avr, avr, avr) 160 DEF_HELPER_3(vmrghh, void, avr, avr, avr) 161 DEF_HELPER_3(vmrghw, void, avr, avr, avr) 162 DEF_HELPER_FLAGS_3(VMULESB, TCG_CALL_NO_RWG, void, avr, avr, avr) 163 DEF_HELPER_FLAGS_3(VMULESH, TCG_CALL_NO_RWG, void, avr, avr, avr) 164 DEF_HELPER_FLAGS_3(VMULESW, TCG_CALL_NO_RWG, void, avr, avr, avr) 165 DEF_HELPER_FLAGS_3(VMULEUB, TCG_CALL_NO_RWG, void, avr, avr, avr) 166 DEF_HELPER_FLAGS_3(VMULEUH, TCG_CALL_NO_RWG, void, avr, avr, avr) 167 DEF_HELPER_FLAGS_3(VMULEUW, TCG_CALL_NO_RWG, void, avr, avr, avr) 168 DEF_HELPER_FLAGS_3(VMULOSB, TCG_CALL_NO_RWG, void, avr, avr, avr) 169 DEF_HELPER_FLAGS_3(VMULOSH, TCG_CALL_NO_RWG, void, avr, avr, avr) 170 DEF_HELPER_FLAGS_3(VMULOSW, TCG_CALL_NO_RWG, void, avr, avr, avr) 171 DEF_HELPER_FLAGS_3(VMULOUB, TCG_CALL_NO_RWG, void, avr, avr, avr) 172 DEF_HELPER_FLAGS_3(VMULOUH, TCG_CALL_NO_RWG, void, avr, avr, avr) 173 DEF_HELPER_FLAGS_3(VMULOUW, TCG_CALL_NO_RWG, void, avr, avr, avr) 174 DEF_HELPER_3(vslo, void, avr, avr, avr) 175 DEF_HELPER_3(vsro, void, avr, avr, avr) 176 DEF_HELPER_3(vsrv, void, avr, avr, avr) 177 DEF_HELPER_3(vslv, void, avr, avr, avr) 178 DEF_HELPER_3(vaddcuw, void, avr, avr, avr) 179 DEF_HELPER_2(vprtybw, void, avr, avr) 180 DEF_HELPER_2(vprtybd, void, avr, avr) 181 DEF_HELPER_2(vprtybq, void, avr, avr) 182 DEF_HELPER_3(vsubcuw, void, avr, avr, avr) 183 DEF_HELPER_FLAGS_5(vaddsbs, TCG_CALL_NO_RWG, void, avr, avr, avr, avr, i32) 184 DEF_HELPER_FLAGS_5(vaddshs, TCG_CALL_NO_RWG, void, avr, avr, avr, avr, i32) 185 DEF_HELPER_FLAGS_5(vaddsws, TCG_CALL_NO_RWG, void, avr, avr, avr, avr, i32) 186 DEF_HELPER_FLAGS_5(vsubsbs, TCG_CALL_NO_RWG, void, avr, avr, avr, avr, i32) 187 DEF_HELPER_FLAGS_5(vsubshs, TCG_CALL_NO_RWG, void, avr, avr, avr, avr, i32) 188 DEF_HELPER_FLAGS_5(vsubsws, TCG_CALL_NO_RWG, void, avr, avr, avr, avr, i32) 189 DEF_HELPER_FLAGS_5(vaddubs, TCG_CALL_NO_RWG, void, avr, avr, avr, avr, i32) 190 DEF_HELPER_FLAGS_5(vadduhs, TCG_CALL_NO_RWG, void, avr, avr, avr, avr, i32) 191 DEF_HELPER_FLAGS_5(vadduws, TCG_CALL_NO_RWG, void, avr, avr, avr, avr, i32) 192 DEF_HELPER_FLAGS_5(vsububs, TCG_CALL_NO_RWG, void, avr, avr, avr, avr, i32) 193 DEF_HELPER_FLAGS_5(vsubuhs, TCG_CALL_NO_RWG, void, avr, avr, avr, avr, i32) 194 DEF_HELPER_FLAGS_5(vsubuws, TCG_CALL_NO_RWG, void, avr, avr, avr, avr, i32) 195 DEF_HELPER_3(vadduqm, void, avr, avr, avr) 196 DEF_HELPER_4(vaddecuq, void, avr, avr, avr, avr) 197 DEF_HELPER_4(vaddeuqm, void, avr, avr, avr, avr) 198 DEF_HELPER_3(vaddcuq, void, avr, avr, avr) 199 DEF_HELPER_3(vsubuqm, void, avr, avr, avr) 200 DEF_HELPER_4(vsubecuq, void, avr, avr, avr, avr) 201 DEF_HELPER_4(vsubeuqm, void, avr, avr, avr, avr) 202 DEF_HELPER_3(vsubcuq, void, avr, avr, avr) 203 DEF_HELPER_4(vsldoi, void, avr, avr, avr, i32) 204 DEF_HELPER_3(vextractub, void, avr, avr, i32) 205 DEF_HELPER_3(vextractuh, void, avr, avr, i32) 206 DEF_HELPER_3(vextractuw, void, avr, avr, i32) 207 DEF_HELPER_3(vextractd, void, avr, avr, i32) 208 DEF_HELPER_4(VINSBLX, void, env, avr, i64, tl) 209 DEF_HELPER_4(VINSHLX, void, env, avr, i64, tl) 210 DEF_HELPER_4(VINSWLX, void, env, avr, i64, tl) 211 DEF_HELPER_4(VINSDLX, void, env, avr, i64, tl) 212 DEF_HELPER_FLAGS_2(VSTRIBL, TCG_CALL_NO_RWG, i32, avr, avr) 213 DEF_HELPER_FLAGS_2(VSTRIBR, TCG_CALL_NO_RWG, i32, avr, avr) 214 DEF_HELPER_FLAGS_2(VSTRIHL, TCG_CALL_NO_RWG, i32, avr, avr) 215 DEF_HELPER_FLAGS_2(VSTRIHR, TCG_CALL_NO_RWG, i32, avr, avr) 216 DEF_HELPER_2(vnegw, void, avr, avr) 217 DEF_HELPER_2(vnegd, void, avr, avr) 218 DEF_HELPER_2(vupkhpx, void, avr, avr) 219 DEF_HELPER_2(vupklpx, void, avr, avr) 220 DEF_HELPER_2(vupkhsb, void, avr, avr) 221 DEF_HELPER_2(vupkhsh, void, avr, avr) 222 DEF_HELPER_2(vupkhsw, void, avr, avr) 223 DEF_HELPER_2(vupklsb, void, avr, avr) 224 DEF_HELPER_2(vupklsh, void, avr, avr) 225 DEF_HELPER_2(vupklsw, void, avr, avr) 226 DEF_HELPER_5(vmsumubm, void, env, avr, avr, avr, avr) 227 DEF_HELPER_5(vmsummbm, void, env, avr, avr, avr, avr) 228 DEF_HELPER_FLAGS_4(VPERM, TCG_CALL_NO_RWG, void, avr, avr, avr, avr) 229 DEF_HELPER_FLAGS_4(VPERMR, TCG_CALL_NO_RWG, void, avr, avr, avr, avr) 230 DEF_HELPER_4(vpkshss, void, env, avr, avr, avr) 231 DEF_HELPER_4(vpkshus, void, env, avr, avr, avr) 232 DEF_HELPER_4(vpkswss, void, env, avr, avr, avr) 233 DEF_HELPER_4(vpkswus, void, env, avr, avr, avr) 234 DEF_HELPER_4(vpksdss, void, env, avr, avr, avr) 235 DEF_HELPER_4(vpksdus, void, env, avr, avr, avr) 236 DEF_HELPER_4(vpkuhus, void, env, avr, avr, avr) 237 DEF_HELPER_4(vpkuwus, void, env, avr, avr, avr) 238 DEF_HELPER_4(vpkudus, void, env, avr, avr, avr) 239 DEF_HELPER_4(vpkuhum, void, env, avr, avr, avr) 240 DEF_HELPER_4(vpkuwum, void, env, avr, avr, avr) 241 DEF_HELPER_4(vpkudum, void, env, avr, avr, avr) 242 DEF_HELPER_3(vpkpx, void, avr, avr, avr) 243 DEF_HELPER_5(vmhaddshs, void, env, avr, avr, avr, avr) 244 DEF_HELPER_5(vmhraddshs, void, env, avr, avr, avr, avr) 245 DEF_HELPER_5(vmsumuhm, void, env, avr, avr, avr, avr) 246 DEF_HELPER_5(vmsumuhs, void, env, avr, avr, avr, avr) 247 DEF_HELPER_5(vmsumshm, void, env, avr, avr, avr, avr) 248 DEF_HELPER_5(vmsumshs, void, env, avr, avr, avr, avr) 249 DEF_HELPER_4(vmladduhm, void, avr, avr, avr, avr) 250 DEF_HELPER_FLAGS_2(mtvscr, TCG_CALL_NO_RWG, void, env, i32) 251 DEF_HELPER_FLAGS_1(mfvscr, TCG_CALL_NO_RWG, i32, env) 252 DEF_HELPER_3(lvebx, void, env, avr, tl) 253 DEF_HELPER_3(lvehx, void, env, avr, tl) 254 DEF_HELPER_3(lvewx, void, env, avr, tl) 255 DEF_HELPER_3(stvebx, void, env, avr, tl) 256 DEF_HELPER_3(stvehx, void, env, avr, tl) 257 DEF_HELPER_3(stvewx, void, env, avr, tl) 258 #if defined(TARGET_PPC64) 259 DEF_HELPER_4(lxvl, void, env, tl, vsr, tl) 260 DEF_HELPER_4(lxvll, void, env, tl, vsr, tl) 261 DEF_HELPER_4(stxvl, void, env, tl, vsr, tl) 262 DEF_HELPER_4(stxvll, void, env, tl, vsr, tl) 263 #endif 264 DEF_HELPER_4(vsumsws, void, env, avr, avr, avr) 265 DEF_HELPER_4(vsum2sws, void, env, avr, avr, avr) 266 DEF_HELPER_4(vsum4sbs, void, env, avr, avr, avr) 267 DEF_HELPER_4(vsum4shs, void, env, avr, avr, avr) 268 DEF_HELPER_4(vsum4ubs, void, env, avr, avr, avr) 269 DEF_HELPER_4(vaddfp, void, env, avr, avr, avr) 270 DEF_HELPER_4(vsubfp, void, env, avr, avr, avr) 271 DEF_HELPER_4(vmaxfp, void, env, avr, avr, avr) 272 DEF_HELPER_4(vminfp, void, env, avr, avr, avr) 273 DEF_HELPER_3(vrefp, void, env, avr, avr) 274 DEF_HELPER_3(vrsqrtefp, void, env, avr, avr) 275 DEF_HELPER_FLAGS_4(VRLWMI, TCG_CALL_NO_RWG, void, avr, avr, avr, i32) 276 DEF_HELPER_FLAGS_4(VRLDMI, TCG_CALL_NO_RWG, void, avr, avr, avr, i32) 277 DEF_HELPER_FLAGS_4(VRLDNM, TCG_CALL_NO_RWG, void, avr, avr, avr, i32) 278 DEF_HELPER_FLAGS_4(VRLWNM, TCG_CALL_NO_RWG, void, avr, avr, avr, i32) 279 DEF_HELPER_5(vmaddfp, void, env, avr, avr, avr, avr) 280 DEF_HELPER_5(vnmsubfp, void, env, avr, avr, avr, avr) 281 DEF_HELPER_3(vexptefp, void, env, avr, avr) 282 DEF_HELPER_3(vlogefp, void, env, avr, avr) 283 DEF_HELPER_3(vrfim, void, env, avr, avr) 284 DEF_HELPER_3(vrfin, void, env, avr, avr) 285 DEF_HELPER_3(vrfip, void, env, avr, avr) 286 DEF_HELPER_3(vrfiz, void, env, avr, avr) 287 DEF_HELPER_4(vcfux, void, env, avr, avr, i32) 288 DEF_HELPER_4(vcfsx, void, env, avr, avr, i32) 289 DEF_HELPER_4(vctuxs, void, env, avr, avr, i32) 290 DEF_HELPER_4(vctsxs, void, env, avr, avr, i32) 291 292 DEF_HELPER_2(vclzb, void, avr, avr) 293 DEF_HELPER_2(vclzh, void, avr, avr) 294 DEF_HELPER_2(vctzb, void, avr, avr) 295 DEF_HELPER_2(vctzh, void, avr, avr) 296 DEF_HELPER_2(vctzw, void, avr, avr) 297 DEF_HELPER_2(vctzd, void, avr, avr) 298 DEF_HELPER_2(vpopcntb, void, avr, avr) 299 DEF_HELPER_2(vpopcnth, void, avr, avr) 300 DEF_HELPER_2(vpopcntw, void, avr, avr) 301 DEF_HELPER_2(vpopcntd, void, avr, avr) 302 DEF_HELPER_1(vclzlsbb, tl, avr) 303 DEF_HELPER_1(vctzlsbb, tl, avr) 304 DEF_HELPER_3(vbpermd, void, avr, avr, avr) 305 DEF_HELPER_3(vbpermq, void, avr, avr, avr) 306 DEF_HELPER_3(vpmsumb, void, avr, avr, avr) 307 DEF_HELPER_3(vpmsumh, void, avr, avr, avr) 308 DEF_HELPER_3(vpmsumw, void, avr, avr, avr) 309 DEF_HELPER_3(vpmsumd, void, avr, avr, avr) 310 DEF_HELPER_2(vextublx, tl, tl, avr) 311 DEF_HELPER_2(vextuhlx, tl, tl, avr) 312 DEF_HELPER_2(vextuwlx, tl, tl, avr) 313 DEF_HELPER_2(vextubrx, tl, tl, avr) 314 DEF_HELPER_2(vextuhrx, tl, tl, avr) 315 DEF_HELPER_2(vextuwrx, tl, tl, avr) 316 DEF_HELPER_5(VEXTDUBVLX, void, env, avr, avr, avr, tl) 317 DEF_HELPER_5(VEXTDUHVLX, void, env, avr, avr, avr, tl) 318 DEF_HELPER_5(VEXTDUWVLX, void, env, avr, avr, avr, tl) 319 DEF_HELPER_5(VEXTDDVLX, void, env, avr, avr, avr, tl) 320 321 DEF_HELPER_2(vsbox, void, avr, avr) 322 DEF_HELPER_3(vcipher, void, avr, avr, avr) 323 DEF_HELPER_3(vcipherlast, void, avr, avr, avr) 324 DEF_HELPER_3(vncipher, void, avr, avr, avr) 325 DEF_HELPER_3(vncipherlast, void, avr, avr, avr) 326 DEF_HELPER_3(vshasigmaw, void, avr, avr, i32) 327 DEF_HELPER_3(vshasigmad, void, avr, avr, i32) 328 DEF_HELPER_4(vpermxor, void, avr, avr, avr, avr) 329 330 DEF_HELPER_4(bcdadd, i32, avr, avr, avr, i32) 331 DEF_HELPER_4(bcdsub, i32, avr, avr, avr, i32) 332 DEF_HELPER_3(bcdcfn, i32, avr, avr, i32) 333 DEF_HELPER_3(bcdctn, i32, avr, avr, i32) 334 DEF_HELPER_3(bcdcfz, i32, avr, avr, i32) 335 DEF_HELPER_3(bcdctz, i32, avr, avr, i32) 336 DEF_HELPER_3(bcdcfsq, i32, avr, avr, i32) 337 DEF_HELPER_3(bcdctsq, i32, avr, avr, i32) 338 DEF_HELPER_4(bcdcpsgn, i32, avr, avr, avr, i32) 339 DEF_HELPER_3(bcdsetsgn, i32, avr, avr, i32) 340 DEF_HELPER_4(bcds, i32, avr, avr, avr, i32) 341 DEF_HELPER_4(bcdus, i32, avr, avr, avr, i32) 342 DEF_HELPER_4(bcdsr, i32, avr, avr, avr, i32) 343 DEF_HELPER_4(bcdtrunc, i32, avr, avr, avr, i32) 344 DEF_HELPER_4(bcdutrunc, i32, avr, avr, avr, i32) 345 346 DEF_HELPER_4(xsadddp, void, env, vsr, vsr, vsr) 347 DEF_HELPER_5(xsaddqp, void, env, i32, vsr, vsr, vsr) 348 DEF_HELPER_4(xssubdp, void, env, vsr, vsr, vsr) 349 DEF_HELPER_4(xsmuldp, void, env, vsr, vsr, vsr) 350 DEF_HELPER_5(xsmulqp, void, env, i32, vsr, vsr, vsr) 351 DEF_HELPER_4(xsdivdp, void, env, vsr, vsr, vsr) 352 DEF_HELPER_5(xsdivqp, void, env, i32, vsr, vsr, vsr) 353 DEF_HELPER_3(xsredp, void, env, vsr, vsr) 354 DEF_HELPER_3(xssqrtdp, void, env, vsr, vsr) 355 DEF_HELPER_3(xsrsqrtedp, void, env, vsr, vsr) 356 DEF_HELPER_4(xstdivdp, void, env, i32, vsr, vsr) 357 DEF_HELPER_3(xstsqrtdp, void, env, i32, vsr) 358 DEF_HELPER_5(XSMADDDP, void, env, vsr, vsr, vsr, vsr) 359 DEF_HELPER_5(XSMSUBDP, void, env, vsr, vsr, vsr, vsr) 360 DEF_HELPER_5(XSNMADDDP, void, env, vsr, vsr, vsr, vsr) 361 DEF_HELPER_5(XSNMSUBDP, void, env, vsr, vsr, vsr, vsr) 362 DEF_HELPER_4(XSCMPEQDP, void, env, vsr, vsr, vsr) 363 DEF_HELPER_4(XSCMPGTDP, void, env, vsr, vsr, vsr) 364 DEF_HELPER_4(XSCMPGEDP, void, env, vsr, vsr, vsr) 365 DEF_HELPER_4(XSCMPEQQP, void, env, vsr, vsr, vsr) 366 DEF_HELPER_4(XSCMPGTQP, void, env, vsr, vsr, vsr) 367 DEF_HELPER_4(XSCMPGEQP, void, env, vsr, vsr, vsr) 368 DEF_HELPER_4(xscmpexpdp, void, env, i32, vsr, vsr) 369 DEF_HELPER_4(xscmpexpqp, void, env, i32, vsr, vsr) 370 DEF_HELPER_4(xscmpodp, void, env, i32, vsr, vsr) 371 DEF_HELPER_4(xscmpudp, void, env, i32, vsr, vsr) 372 DEF_HELPER_4(xscmpoqp, void, env, i32, vsr, vsr) 373 DEF_HELPER_4(xscmpuqp, void, env, i32, vsr, vsr) 374 DEF_HELPER_4(xsmaxdp, void, env, vsr, vsr, vsr) 375 DEF_HELPER_4(xsmindp, void, env, vsr, vsr, vsr) 376 DEF_HELPER_4(XSMAXCDP, void, env, vsr, vsr, vsr) 377 DEF_HELPER_4(XSMINCDP, void, env, vsr, vsr, vsr) 378 DEF_HELPER_4(XSMAXJDP, void, env, vsr, vsr, vsr) 379 DEF_HELPER_4(XSMINJDP, void, env, vsr, vsr, vsr) 380 DEF_HELPER_4(XSMAXCQP, void, env, vsr, vsr, vsr) 381 DEF_HELPER_4(XSMINCQP, void, env, vsr, vsr, vsr) 382 DEF_HELPER_3(xscvdphp, void, env, vsr, vsr) 383 DEF_HELPER_4(xscvdpqp, void, env, i32, vsr, vsr) 384 DEF_HELPER_3(xscvdpsp, void, env, vsr, vsr) 385 DEF_HELPER_2(xscvdpspn, i64, env, i64) 386 DEF_HELPER_4(XSCVQPDP, void, env, i32, vsr, vsr) 387 DEF_HELPER_4(xscvqpsdz, void, env, i32, vsr, vsr) 388 DEF_HELPER_4(xscvqpswz, void, env, i32, vsr, vsr) 389 DEF_HELPER_4(xscvqpudz, void, env, i32, vsr, vsr) 390 DEF_HELPER_4(xscvqpuwz, void, env, i32, vsr, vsr) 391 DEF_HELPER_3(xscvhpdp, void, env, vsr, vsr) 392 DEF_HELPER_4(xscvsdqp, void, env, i32, vsr, vsr) 393 DEF_HELPER_3(xscvspdp, void, env, vsr, vsr) 394 DEF_HELPER_2(xscvspdpn, i64, env, i64) 395 DEF_HELPER_3(xscvdpsxds, void, env, vsr, vsr) 396 DEF_HELPER_3(xscvdpsxws, void, env, vsr, vsr) 397 DEF_HELPER_3(xscvdpuxds, void, env, vsr, vsr) 398 DEF_HELPER_3(xscvdpuxws, void, env, vsr, vsr) 399 DEF_HELPER_3(xscvsxddp, void, env, vsr, vsr) 400 DEF_HELPER_3(xscvuxdsp, void, env, vsr, vsr) 401 DEF_HELPER_3(xscvsxdsp, void, env, vsr, vsr) 402 DEF_HELPER_4(xscvudqp, void, env, i32, vsr, vsr) 403 DEF_HELPER_3(xscvuxddp, void, env, vsr, vsr) 404 DEF_HELPER_3(xststdcsp, void, env, i32, vsr) 405 DEF_HELPER_2(xststdcdp, void, env, i32) 406 DEF_HELPER_2(xststdcqp, void, env, i32) 407 DEF_HELPER_3(xsrdpi, void, env, vsr, vsr) 408 DEF_HELPER_3(xsrdpic, void, env, vsr, vsr) 409 DEF_HELPER_3(xsrdpim, void, env, vsr, vsr) 410 DEF_HELPER_3(xsrdpip, void, env, vsr, vsr) 411 DEF_HELPER_3(xsrdpiz, void, env, vsr, vsr) 412 DEF_HELPER_4(xsrqpi, void, env, i32, vsr, vsr) 413 DEF_HELPER_4(xsrqpxp, void, env, i32, vsr, vsr) 414 DEF_HELPER_4(xssqrtqp, void, env, i32, vsr, vsr) 415 DEF_HELPER_5(xssubqp, void, env, i32, vsr, vsr, vsr) 416 417 DEF_HELPER_4(xsaddsp, void, env, vsr, vsr, vsr) 418 DEF_HELPER_4(xssubsp, void, env, vsr, vsr, vsr) 419 DEF_HELPER_4(xsmulsp, void, env, vsr, vsr, vsr) 420 DEF_HELPER_4(xsdivsp, void, env, vsr, vsr, vsr) 421 DEF_HELPER_3(xsresp, void, env, vsr, vsr) 422 DEF_HELPER_2(xsrsp, i64, env, i64) 423 DEF_HELPER_3(xssqrtsp, void, env, vsr, vsr) 424 DEF_HELPER_3(xsrsqrtesp, void, env, vsr, vsr) 425 DEF_HELPER_5(XSMADDSP, void, env, vsr, vsr, vsr, vsr) 426 DEF_HELPER_5(XSMSUBSP, void, env, vsr, vsr, vsr, vsr) 427 DEF_HELPER_5(XSNMADDSP, void, env, vsr, vsr, vsr, vsr) 428 DEF_HELPER_5(XSNMSUBSP, void, env, vsr, vsr, vsr, vsr) 429 430 DEF_HELPER_5(XSMADDQP, void, env, vsr, vsr, vsr, vsr) 431 DEF_HELPER_5(XSMADDQPO, void, env, vsr, vsr, vsr, vsr) 432 DEF_HELPER_5(XSMSUBQP, void, env, vsr, vsr, vsr, vsr) 433 DEF_HELPER_5(XSMSUBQPO, void, env, vsr, vsr, vsr, vsr) 434 DEF_HELPER_5(XSNMADDQP, void, env, vsr, vsr, vsr, vsr) 435 DEF_HELPER_5(XSNMADDQPO, void, env, vsr, vsr, vsr, vsr) 436 DEF_HELPER_5(XSNMSUBQP, void, env, vsr, vsr, vsr, vsr) 437 DEF_HELPER_5(XSNMSUBQPO, void, env, vsr, vsr, vsr, vsr) 438 439 DEF_HELPER_4(xvadddp, void, env, vsr, vsr, vsr) 440 DEF_HELPER_4(xvsubdp, void, env, vsr, vsr, vsr) 441 DEF_HELPER_4(xvmuldp, void, env, vsr, vsr, vsr) 442 DEF_HELPER_4(xvdivdp, void, env, vsr, vsr, vsr) 443 DEF_HELPER_3(xvredp, void, env, vsr, vsr) 444 DEF_HELPER_3(xvsqrtdp, void, env, vsr, vsr) 445 DEF_HELPER_3(xvrsqrtedp, void, env, vsr, vsr) 446 DEF_HELPER_4(xvtdivdp, void, env, i32, vsr, vsr) 447 DEF_HELPER_3(xvtsqrtdp, void, env, i32, vsr) 448 DEF_HELPER_5(xvmadddp, void, env, vsr, vsr, vsr, vsr) 449 DEF_HELPER_5(xvmsubdp, void, env, vsr, vsr, vsr, vsr) 450 DEF_HELPER_5(xvnmadddp, void, env, vsr, vsr, vsr, vsr) 451 DEF_HELPER_5(xvnmsubdp, void, env, vsr, vsr, vsr, vsr) 452 DEF_HELPER_4(xvmaxdp, void, env, vsr, vsr, vsr) 453 DEF_HELPER_4(xvmindp, void, env, vsr, vsr, vsr) 454 DEF_HELPER_FLAGS_4(xvcmpeqdp, TCG_CALL_NO_RWG, i32, env, vsr, vsr, vsr) 455 DEF_HELPER_FLAGS_4(xvcmpgedp, TCG_CALL_NO_RWG, i32, env, vsr, vsr, vsr) 456 DEF_HELPER_FLAGS_4(xvcmpgtdp, TCG_CALL_NO_RWG, i32, env, vsr, vsr, vsr) 457 DEF_HELPER_FLAGS_4(xvcmpnedp, TCG_CALL_NO_RWG, i32, env, vsr, vsr, vsr) 458 DEF_HELPER_3(xvcvdpsp, void, env, vsr, vsr) 459 DEF_HELPER_3(xvcvdpsxds, void, env, vsr, vsr) 460 DEF_HELPER_3(xvcvdpsxws, void, env, vsr, vsr) 461 DEF_HELPER_3(xvcvdpuxds, void, env, vsr, vsr) 462 DEF_HELPER_3(xvcvdpuxws, void, env, vsr, vsr) 463 DEF_HELPER_3(xvcvsxddp, void, env, vsr, vsr) 464 DEF_HELPER_3(xvcvuxddp, void, env, vsr, vsr) 465 DEF_HELPER_3(xvcvsxwdp, void, env, vsr, vsr) 466 DEF_HELPER_3(xvcvuxwdp, void, env, vsr, vsr) 467 DEF_HELPER_3(xvrdpi, void, env, vsr, vsr) 468 DEF_HELPER_3(xvrdpic, void, env, vsr, vsr) 469 DEF_HELPER_3(xvrdpim, void, env, vsr, vsr) 470 DEF_HELPER_3(xvrdpip, void, env, vsr, vsr) 471 DEF_HELPER_3(xvrdpiz, void, env, vsr, vsr) 472 473 DEF_HELPER_4(xvaddsp, void, env, vsr, vsr, vsr) 474 DEF_HELPER_4(xvsubsp, void, env, vsr, vsr, vsr) 475 DEF_HELPER_4(xvmulsp, void, env, vsr, vsr, vsr) 476 DEF_HELPER_4(xvdivsp, void, env, vsr, vsr, vsr) 477 DEF_HELPER_3(xvresp, void, env, vsr, vsr) 478 DEF_HELPER_3(xvsqrtsp, void, env, vsr, vsr) 479 DEF_HELPER_3(xvrsqrtesp, void, env, vsr, vsr) 480 DEF_HELPER_4(xvtdivsp, void, env, i32, vsr, vsr) 481 DEF_HELPER_3(xvtsqrtsp, void, env, i32, vsr) 482 DEF_HELPER_5(xvmaddsp, void, env, vsr, vsr, vsr, vsr) 483 DEF_HELPER_5(xvmsubsp, void, env, vsr, vsr, vsr, vsr) 484 DEF_HELPER_5(xvnmaddsp, void, env, vsr, vsr, vsr, vsr) 485 DEF_HELPER_5(xvnmsubsp, void, env, vsr, vsr, vsr, vsr) 486 DEF_HELPER_4(xvmaxsp, void, env, vsr, vsr, vsr) 487 DEF_HELPER_4(xvminsp, void, env, vsr, vsr, vsr) 488 DEF_HELPER_FLAGS_4(xvcmpeqsp, TCG_CALL_NO_RWG, i32, env, vsr, vsr, vsr) 489 DEF_HELPER_FLAGS_4(xvcmpgesp, TCG_CALL_NO_RWG, i32, env, vsr, vsr, vsr) 490 DEF_HELPER_FLAGS_4(xvcmpgtsp, TCG_CALL_NO_RWG, i32, env, vsr, vsr, vsr) 491 DEF_HELPER_FLAGS_4(xvcmpnesp, TCG_CALL_NO_RWG, i32, env, vsr, vsr, vsr) 492 DEF_HELPER_3(xvcvspdp, void, env, vsr, vsr) 493 DEF_HELPER_3(xvcvsphp, void, env, vsr, vsr) 494 DEF_HELPER_3(xvcvhpsp, void, env, vsr, vsr) 495 DEF_HELPER_3(XVCVSPBF16, void, env, vsr, vsr) 496 DEF_HELPER_3(xvcvspsxds, void, env, vsr, vsr) 497 DEF_HELPER_3(xvcvspsxws, void, env, vsr, vsr) 498 DEF_HELPER_3(xvcvspuxds, void, env, vsr, vsr) 499 DEF_HELPER_3(xvcvspuxws, void, env, vsr, vsr) 500 DEF_HELPER_3(xvcvsxdsp, void, env, vsr, vsr) 501 DEF_HELPER_3(xvcvuxdsp, void, env, vsr, vsr) 502 DEF_HELPER_3(xvcvsxwsp, void, env, vsr, vsr) 503 DEF_HELPER_3(xvcvuxwsp, void, env, vsr, vsr) 504 DEF_HELPER_2(xvtstdcsp, void, env, i32) 505 DEF_HELPER_2(xvtstdcdp, void, env, i32) 506 DEF_HELPER_3(xvrspi, void, env, vsr, vsr) 507 DEF_HELPER_3(xvrspic, void, env, vsr, vsr) 508 DEF_HELPER_3(xvrspim, void, env, vsr, vsr) 509 DEF_HELPER_3(xvrspip, void, env, vsr, vsr) 510 DEF_HELPER_3(xvrspiz, void, env, vsr, vsr) 511 DEF_HELPER_FLAGS_2(XXGENPCVBM_be_exp, TCG_CALL_NO_RWG, void, vsr, avr) 512 DEF_HELPER_FLAGS_2(XXGENPCVBM_be_comp, TCG_CALL_NO_RWG, void, vsr, avr) 513 DEF_HELPER_FLAGS_2(XXGENPCVBM_le_exp, TCG_CALL_NO_RWG, void, vsr, avr) 514 DEF_HELPER_FLAGS_2(XXGENPCVBM_le_comp, TCG_CALL_NO_RWG, void, vsr, avr) 515 DEF_HELPER_FLAGS_2(XXGENPCVHM_be_exp, TCG_CALL_NO_RWG, void, vsr, avr) 516 DEF_HELPER_FLAGS_2(XXGENPCVHM_be_comp, TCG_CALL_NO_RWG, void, vsr, avr) 517 DEF_HELPER_FLAGS_2(XXGENPCVHM_le_exp, TCG_CALL_NO_RWG, void, vsr, avr) 518 DEF_HELPER_FLAGS_2(XXGENPCVHM_le_comp, TCG_CALL_NO_RWG, void, vsr, avr) 519 DEF_HELPER_FLAGS_2(XXGENPCVWM_be_exp, TCG_CALL_NO_RWG, void, vsr, avr) 520 DEF_HELPER_FLAGS_2(XXGENPCVWM_be_comp, TCG_CALL_NO_RWG, void, vsr, avr) 521 DEF_HELPER_FLAGS_2(XXGENPCVWM_le_exp, TCG_CALL_NO_RWG, void, vsr, avr) 522 DEF_HELPER_FLAGS_2(XXGENPCVWM_le_comp, TCG_CALL_NO_RWG, void, vsr, avr) 523 DEF_HELPER_FLAGS_2(XXGENPCVDM_be_exp, TCG_CALL_NO_RWG, void, vsr, avr) 524 DEF_HELPER_FLAGS_2(XXGENPCVDM_be_comp, TCG_CALL_NO_RWG, void, vsr, avr) 525 DEF_HELPER_FLAGS_2(XXGENPCVDM_le_exp, TCG_CALL_NO_RWG, void, vsr, avr) 526 DEF_HELPER_FLAGS_2(XXGENPCVDM_le_comp, TCG_CALL_NO_RWG, void, vsr, avr) 527 DEF_HELPER_4(xxextractuw, void, env, vsr, vsr, i32) 528 DEF_HELPER_FLAGS_5(XXPERMX, TCG_CALL_NO_RWG, void, vsr, vsr, vsr, vsr, tl) 529 DEF_HELPER_4(xxinsertw, void, env, vsr, vsr, i32) 530 DEF_HELPER_3(xvxsigsp, void, env, vsr, vsr) 531 DEF_HELPER_FLAGS_5(XXEVAL, TCG_CALL_NO_RWG, void, vsr, vsr, vsr, vsr, i32) 532 DEF_HELPER_5(XXBLENDVB, void, vsr, vsr, vsr, vsr, i32) 533 DEF_HELPER_5(XXBLENDVH, void, vsr, vsr, vsr, vsr, i32) 534 DEF_HELPER_5(XXBLENDVW, void, vsr, vsr, vsr, vsr, i32) 535 DEF_HELPER_5(XXBLENDVD, void, vsr, vsr, vsr, vsr, i32) 536 537 DEF_HELPER_2(efscfsi, i32, env, i32) 538 DEF_HELPER_2(efscfui, i32, env, i32) 539 DEF_HELPER_2(efscfuf, i32, env, i32) 540 DEF_HELPER_2(efscfsf, i32, env, i32) 541 DEF_HELPER_2(efsctsi, i32, env, i32) 542 DEF_HELPER_2(efsctui, i32, env, i32) 543 DEF_HELPER_2(efsctsiz, i32, env, i32) 544 DEF_HELPER_2(efsctuiz, i32, env, i32) 545 DEF_HELPER_2(efsctsf, i32, env, i32) 546 DEF_HELPER_2(efsctuf, i32, env, i32) 547 DEF_HELPER_2(evfscfsi, i64, env, i64) 548 DEF_HELPER_2(evfscfui, i64, env, i64) 549 DEF_HELPER_2(evfscfuf, i64, env, i64) 550 DEF_HELPER_2(evfscfsf, i64, env, i64) 551 DEF_HELPER_2(evfsctsi, i64, env, i64) 552 DEF_HELPER_2(evfsctui, i64, env, i64) 553 DEF_HELPER_2(evfsctsiz, i64, env, i64) 554 DEF_HELPER_2(evfsctuiz, i64, env, i64) 555 DEF_HELPER_2(evfsctsf, i64, env, i64) 556 DEF_HELPER_2(evfsctuf, i64, env, i64) 557 DEF_HELPER_3(efsadd, i32, env, i32, i32) 558 DEF_HELPER_3(efssub, i32, env, i32, i32) 559 DEF_HELPER_3(efsmul, i32, env, i32, i32) 560 DEF_HELPER_3(efsdiv, i32, env, i32, i32) 561 DEF_HELPER_3(evfsadd, i64, env, i64, i64) 562 DEF_HELPER_3(evfssub, i64, env, i64, i64) 563 DEF_HELPER_3(evfsmul, i64, env, i64, i64) 564 DEF_HELPER_3(evfsdiv, i64, env, i64, i64) 565 DEF_HELPER_3(efststlt, i32, env, i32, i32) 566 DEF_HELPER_3(efststgt, i32, env, i32, i32) 567 DEF_HELPER_3(efststeq, i32, env, i32, i32) 568 DEF_HELPER_3(efscmplt, i32, env, i32, i32) 569 DEF_HELPER_3(efscmpgt, i32, env, i32, i32) 570 DEF_HELPER_3(efscmpeq, i32, env, i32, i32) 571 DEF_HELPER_3(evfststlt, i32, env, i64, i64) 572 DEF_HELPER_3(evfststgt, i32, env, i64, i64) 573 DEF_HELPER_3(evfststeq, i32, env, i64, i64) 574 DEF_HELPER_3(evfscmplt, i32, env, i64, i64) 575 DEF_HELPER_3(evfscmpgt, i32, env, i64, i64) 576 DEF_HELPER_3(evfscmpeq, i32, env, i64, i64) 577 DEF_HELPER_2(efdcfsi, i64, env, i32) 578 DEF_HELPER_2(efdcfsid, i64, env, i64) 579 DEF_HELPER_2(efdcfui, i64, env, i32) 580 DEF_HELPER_2(efdcfuid, i64, env, i64) 581 DEF_HELPER_2(efdctsi, i32, env, i64) 582 DEF_HELPER_2(efdctui, i32, env, i64) 583 DEF_HELPER_2(efdctsiz, i32, env, i64) 584 DEF_HELPER_2(efdctsidz, i64, env, i64) 585 DEF_HELPER_2(efdctuiz, i32, env, i64) 586 DEF_HELPER_2(efdctuidz, i64, env, i64) 587 DEF_HELPER_2(efdcfsf, i64, env, i32) 588 DEF_HELPER_2(efdcfuf, i64, env, i32) 589 DEF_HELPER_2(efdctsf, i32, env, i64) 590 DEF_HELPER_2(efdctuf, i32, env, i64) 591 DEF_HELPER_2(efscfd, i32, env, i64) 592 DEF_HELPER_2(efdcfs, i64, env, i32) 593 DEF_HELPER_3(efdadd, i64, env, i64, i64) 594 DEF_HELPER_3(efdsub, i64, env, i64, i64) 595 DEF_HELPER_3(efdmul, i64, env, i64, i64) 596 DEF_HELPER_3(efddiv, i64, env, i64, i64) 597 DEF_HELPER_3(efdtstlt, i32, env, i64, i64) 598 DEF_HELPER_3(efdtstgt, i32, env, i64, i64) 599 DEF_HELPER_3(efdtsteq, i32, env, i64, i64) 600 DEF_HELPER_3(efdcmplt, i32, env, i64, i64) 601 DEF_HELPER_3(efdcmpgt, i32, env, i64, i64) 602 DEF_HELPER_3(efdcmpeq, i32, env, i64, i64) 603 604 #if !defined(CONFIG_USER_ONLY) 605 DEF_HELPER_2(4xx_tlbre_hi, tl, env, tl) 606 DEF_HELPER_2(4xx_tlbre_lo, tl, env, tl) 607 DEF_HELPER_3(4xx_tlbwe_hi, void, env, tl, tl) 608 DEF_HELPER_3(4xx_tlbwe_lo, void, env, tl, tl) 609 DEF_HELPER_2(4xx_tlbsx, tl, env, tl) 610 DEF_HELPER_3(440_tlbre, tl, env, i32, tl) 611 DEF_HELPER_4(440_tlbwe, void, env, i32, tl, tl) 612 DEF_HELPER_2(440_tlbsx, tl, env, tl) 613 DEF_HELPER_1(booke206_tlbre, void, env) 614 DEF_HELPER_1(booke206_tlbwe, void, env) 615 DEF_HELPER_2(booke206_tlbsx, void, env, tl) 616 DEF_HELPER_2(booke206_tlbivax, void, env, tl) 617 DEF_HELPER_2(booke206_tlbilx0, void, env, tl) 618 DEF_HELPER_2(booke206_tlbilx1, void, env, tl) 619 DEF_HELPER_2(booke206_tlbilx3, void, env, tl) 620 DEF_HELPER_2(booke206_tlbflush, void, env, tl) 621 DEF_HELPER_3(booke_setpid, void, env, i32, tl) 622 DEF_HELPER_2(booke_set_eplc, void, env, tl) 623 DEF_HELPER_2(booke_set_epsc, void, env, tl) 624 DEF_HELPER_2(6xx_tlbd, void, env, tl) 625 DEF_HELPER_2(6xx_tlbi, void, env, tl) 626 DEF_HELPER_FLAGS_1(tlbia, TCG_CALL_NO_RWG, void, env) 627 DEF_HELPER_FLAGS_2(tlbie, TCG_CALL_NO_RWG, void, env, tl) 628 DEF_HELPER_FLAGS_2(tlbiva, TCG_CALL_NO_RWG, void, env, tl) 629 #if defined(TARGET_PPC64) 630 DEF_HELPER_FLAGS_3(store_slb, TCG_CALL_NO_RWG, void, env, tl, tl) 631 DEF_HELPER_2(load_slb_esid, tl, env, tl) 632 DEF_HELPER_2(load_slb_vsid, tl, env, tl) 633 DEF_HELPER_2(find_slb_vsid, tl, env, tl) 634 DEF_HELPER_FLAGS_2(slbia, TCG_CALL_NO_RWG, void, env, i32) 635 DEF_HELPER_FLAGS_2(slbie, TCG_CALL_NO_RWG, void, env, tl) 636 DEF_HELPER_FLAGS_2(slbieg, TCG_CALL_NO_RWG, void, env, tl) 637 #endif 638 DEF_HELPER_FLAGS_2(load_sr, TCG_CALL_NO_RWG, tl, env, tl) 639 DEF_HELPER_FLAGS_3(store_sr, TCG_CALL_NO_RWG, void, env, tl, tl) 640 641 DEF_HELPER_1(msgsnd, void, tl) 642 DEF_HELPER_2(msgclr, void, env, tl) 643 DEF_HELPER_1(book3s_msgsnd, void, tl) 644 DEF_HELPER_2(book3s_msgclr, void, env, tl) 645 #endif 646 647 DEF_HELPER_4(dlmzb, tl, env, tl, tl, i32) 648 #if !defined(CONFIG_USER_ONLY) 649 DEF_HELPER_2(rac, tl, env, tl) 650 #endif 651 652 DEF_HELPER_2(load_dcr, tl, env, tl) 653 DEF_HELPER_3(store_dcr, void, env, tl, tl) 654 655 DEF_HELPER_2(load_dump_spr, void, env, i32) 656 DEF_HELPER_2(store_dump_spr, void, env, i32) 657 DEF_HELPER_4(fscr_facility_check, void, env, i32, i32, i32) 658 DEF_HELPER_4(msr_facility_check, void, env, i32, i32, i32) 659 DEF_HELPER_FLAGS_1(load_tbl, TCG_CALL_NO_RWG, tl, env) 660 DEF_HELPER_FLAGS_1(load_tbu, TCG_CALL_NO_RWG, tl, env) 661 DEF_HELPER_FLAGS_1(load_atbl, TCG_CALL_NO_RWG, tl, env) 662 DEF_HELPER_FLAGS_1(load_atbu, TCG_CALL_NO_RWG, tl, env) 663 DEF_HELPER_FLAGS_1(load_vtb, TCG_CALL_NO_RWG, tl, env) 664 #if !defined(CONFIG_USER_ONLY) 665 #if defined(TARGET_PPC64) 666 DEF_HELPER_FLAGS_1(load_purr, TCG_CALL_NO_RWG, tl, env) 667 DEF_HELPER_FLAGS_2(store_purr, TCG_CALL_NO_RWG, void, env, tl) 668 DEF_HELPER_2(store_ptcr, void, env, tl) 669 DEF_HELPER_FLAGS_1(load_dpdes, TCG_CALL_NO_RWG, tl, env) 670 DEF_HELPER_FLAGS_2(store_dpdes, TCG_CALL_NO_RWG, void, env, tl) 671 DEF_HELPER_2(book3s_msgsndp, void, env, tl) 672 DEF_HELPER_2(book3s_msgclrp, void, env, tl) 673 #endif 674 DEF_HELPER_2(store_sdr1, void, env, tl) 675 DEF_HELPER_2(store_pidr, void, env, tl) 676 DEF_HELPER_2(store_lpidr, void, env, tl) 677 DEF_HELPER_FLAGS_2(store_tbl, TCG_CALL_NO_RWG, void, env, tl) 678 DEF_HELPER_FLAGS_2(store_tbu, TCG_CALL_NO_RWG, void, env, tl) 679 DEF_HELPER_FLAGS_2(store_atbl, TCG_CALL_NO_RWG, void, env, tl) 680 DEF_HELPER_FLAGS_2(store_atbu, TCG_CALL_NO_RWG, void, env, tl) 681 DEF_HELPER_FLAGS_1(load_decr, TCG_CALL_NO_RWG, tl, env) 682 DEF_HELPER_FLAGS_2(store_decr, TCG_CALL_NO_RWG, void, env, tl) 683 DEF_HELPER_FLAGS_1(load_hdecr, TCG_CALL_NO_RWG, tl, env) 684 DEF_HELPER_FLAGS_2(store_hdecr, TCG_CALL_NO_RWG, void, env, tl) 685 DEF_HELPER_FLAGS_2(store_vtb, TCG_CALL_NO_RWG, void, env, tl) 686 DEF_HELPER_FLAGS_2(store_tbu40, TCG_CALL_NO_RWG, void, env, tl) 687 DEF_HELPER_FLAGS_1(load_40x_pit, TCG_CALL_NO_RWG, tl, env) 688 DEF_HELPER_FLAGS_2(store_40x_pit, TCG_CALL_NO_RWG, void, env, tl) 689 DEF_HELPER_FLAGS_2(store_40x_tcr, TCG_CALL_NO_RWG, void, env, tl) 690 DEF_HELPER_FLAGS_2(store_40x_tsr, TCG_CALL_NO_RWG, void, env, tl) 691 DEF_HELPER_2(store_40x_pid, void, env, tl) 692 DEF_HELPER_2(store_40x_dbcr0, void, env, tl) 693 DEF_HELPER_2(store_40x_sler, void, env, tl) 694 DEF_HELPER_FLAGS_2(store_booke_tcr, TCG_CALL_NO_RWG, void, env, tl) 695 DEF_HELPER_FLAGS_2(store_booke_tsr, TCG_CALL_NO_RWG, void, env, tl) 696 DEF_HELPER_3(store_ibatl, void, env, i32, tl) 697 DEF_HELPER_3(store_ibatu, void, env, i32, tl) 698 DEF_HELPER_3(store_dbatl, void, env, i32, tl) 699 DEF_HELPER_3(store_dbatu, void, env, i32, tl) 700 #endif 701 702 #define dh_alias_fprp ptr 703 #define dh_ctype_fprp ppc_fprp_t * 704 #define dh_typecode_fprp dh_typecode_ptr 705 706 DEF_HELPER_4(DADD, void, env, fprp, fprp, fprp) 707 DEF_HELPER_4(DADDQ, void, env, fprp, fprp, fprp) 708 DEF_HELPER_4(DSUB, void, env, fprp, fprp, fprp) 709 DEF_HELPER_4(DSUBQ, void, env, fprp, fprp, fprp) 710 DEF_HELPER_4(DMUL, void, env, fprp, fprp, fprp) 711 DEF_HELPER_4(DMULQ, void, env, fprp, fprp, fprp) 712 DEF_HELPER_4(DDIV, void, env, fprp, fprp, fprp) 713 DEF_HELPER_4(DDIVQ, void, env, fprp, fprp, fprp) 714 DEF_HELPER_3(DCMPO, i32, env, fprp, fprp) 715 DEF_HELPER_3(DCMPOQ, i32, env, fprp, fprp) 716 DEF_HELPER_3(DCMPU, i32, env, fprp, fprp) 717 DEF_HELPER_3(DCMPUQ, i32, env, fprp, fprp) 718 DEF_HELPER_3(DTSTDC, i32, env, fprp, i32) 719 DEF_HELPER_3(DTSTDCQ, i32, env, fprp, i32) 720 DEF_HELPER_3(DTSTDG, i32, env, fprp, i32) 721 DEF_HELPER_3(DTSTDGQ, i32, env, fprp, i32) 722 DEF_HELPER_3(DTSTEX, i32, env, fprp, fprp) 723 DEF_HELPER_3(DTSTEXQ, i32, env, fprp, fprp) 724 DEF_HELPER_3(DTSTSF, i32, env, fprp, fprp) 725 DEF_HELPER_3(DTSTSFQ, i32, env, fprp, fprp) 726 DEF_HELPER_3(DTSTSFI, i32, env, i32, fprp) 727 DEF_HELPER_3(DTSTSFIQ, i32, env, i32, fprp) 728 DEF_HELPER_5(DQUAI, void, env, fprp, fprp, i32, i32) 729 DEF_HELPER_5(DQUAIQ, void, env, fprp, fprp, i32, i32) 730 DEF_HELPER_5(DQUA, void, env, fprp, fprp, fprp, i32) 731 DEF_HELPER_5(DQUAQ, void, env, fprp, fprp, fprp, i32) 732 DEF_HELPER_5(DRRND, void, env, fprp, fprp, fprp, i32) 733 DEF_HELPER_5(DRRNDQ, void, env, fprp, fprp, fprp, i32) 734 DEF_HELPER_5(DRINTX, void, env, fprp, fprp, i32, i32) 735 DEF_HELPER_5(DRINTXQ, void, env, fprp, fprp, i32, i32) 736 DEF_HELPER_5(DRINTN, void, env, fprp, fprp, i32, i32) 737 DEF_HELPER_5(DRINTNQ, void, env, fprp, fprp, i32, i32) 738 DEF_HELPER_3(DCTDP, void, env, fprp, fprp) 739 DEF_HELPER_3(DCTQPQ, void, env, fprp, fprp) 740 DEF_HELPER_3(DRSP, void, env, fprp, fprp) 741 DEF_HELPER_3(DRDPQ, void, env, fprp, fprp) 742 DEF_HELPER_3(DCFFIX, void, env, fprp, fprp) 743 DEF_HELPER_3(DCFFIXQ, void, env, fprp, fprp) 744 DEF_HELPER_3(DCFFIXQQ, void, env, fprp, avr) 745 DEF_HELPER_3(DCTFIX, void, env, fprp, fprp) 746 DEF_HELPER_3(DCTFIXQ, void, env, fprp, fprp) 747 DEF_HELPER_3(DCTFIXQQ, void, env, avr, fprp) 748 DEF_HELPER_4(DDEDPD, void, env, fprp, fprp, i32) 749 DEF_HELPER_4(DDEDPDQ, void, env, fprp, fprp, i32) 750 DEF_HELPER_4(DENBCD, void, env, fprp, fprp, i32) 751 DEF_HELPER_4(DENBCDQ, void, env, fprp, fprp, i32) 752 DEF_HELPER_3(DXEX, void, env, fprp, fprp) 753 DEF_HELPER_3(DXEXQ, void, env, fprp, fprp) 754 DEF_HELPER_4(DIEX, void, env, fprp, fprp, fprp) 755 DEF_HELPER_4(DIEXQ, void, env, fprp, fprp, fprp) 756 DEF_HELPER_4(DSCRI, void, env, fprp, fprp, i32) 757 DEF_HELPER_4(DSCRIQ, void, env, fprp, fprp, i32) 758 DEF_HELPER_4(DSCLI, void, env, fprp, fprp, i32) 759 DEF_HELPER_4(DSCLIQ, void, env, fprp, fprp, i32) 760 761 DEF_HELPER_1(tbegin, void, env) 762 DEF_HELPER_FLAGS_1(fixup_thrm, TCG_CALL_NO_RWG, void, env) 763 764 #ifdef TARGET_PPC64 765 DEF_HELPER_FLAGS_3(lq_le_parallel, TCG_CALL_NO_WG, i64, env, tl, i32) 766 DEF_HELPER_FLAGS_3(lq_be_parallel, TCG_CALL_NO_WG, i64, env, tl, i32) 767 DEF_HELPER_FLAGS_5(stq_le_parallel, TCG_CALL_NO_WG, 768 void, env, tl, i64, i64, i32) 769 DEF_HELPER_FLAGS_5(stq_be_parallel, TCG_CALL_NO_WG, 770 void, env, tl, i64, i64, i32) 771 DEF_HELPER_5(stqcx_le_parallel, i32, env, tl, i64, i64, i32) 772 DEF_HELPER_5(stqcx_be_parallel, i32, env, tl, i64, i64, i32) 773 #endif 774