1#include "def-helper.h" 2 3DEF_HELPER_2(exception, void, env, i32) 4DEF_HELPER_4(nc, i32, env, i32, i64, i64) 5DEF_HELPER_4(oc, i32, env, i32, i64, i64) 6DEF_HELPER_4(xc, i32, env, i32, i64, i64) 7DEF_HELPER_4(mvc, void, env, i32, i64, i64) 8DEF_HELPER_4(clc, i32, env, i32, i64, i64) 9DEF_HELPER_3(mvcl, i32, env, i32, i32) 10DEF_HELPER_FLAGS_1(set_cc_comp_s32, TCG_CALL_NO_RWG_SE, i32, s32) 11DEF_HELPER_FLAGS_1(set_cc_comp_s64, TCG_CALL_NO_RWG_SE, i32, s64) 12DEF_HELPER_FLAGS_2(set_cc_icm, TCG_CALL_NO_RWG_SE, i32, i32, i32) 13DEF_HELPER_4(clm, i32, env, i32, i32, i64) 14DEF_HELPER_4(stcm, void, env, i32, i32, i64) 15DEF_HELPER_3(mlg, void, env, i32, i64) 16DEF_HELPER_3(dlg, void, env, i32, i64) 17DEF_HELPER_FLAGS_3(set_cc_add64, TCG_CALL_NO_RWG_SE, i32, s64, s64, s64) 18DEF_HELPER_FLAGS_3(set_cc_addu64, TCG_CALL_NO_RWG_SE, i32, i64, i64, i64) 19DEF_HELPER_FLAGS_3(set_cc_add32, TCG_CALL_NO_RWG_SE, i32, s32, s32, s32) 20DEF_HELPER_FLAGS_3(set_cc_addu32, TCG_CALL_NO_RWG_SE, i32, i32, i32, i32) 21DEF_HELPER_FLAGS_3(set_cc_sub64, TCG_CALL_NO_RWG_SE, i32, s64, s64, s64) 22DEF_HELPER_FLAGS_3(set_cc_subu64, TCG_CALL_NO_RWG_SE, i32, i64, i64, i64) 23DEF_HELPER_FLAGS_3(set_cc_sub32, TCG_CALL_NO_RWG_SE, i32, s32, s32, s32) 24DEF_HELPER_FLAGS_3(set_cc_subu32, TCG_CALL_NO_RWG_SE, i32, i32, i32, i32) 25DEF_HELPER_4(srst, i32, env, i32, i32, i32) 26DEF_HELPER_4(clst, i32, env, i32, i32, i32) 27DEF_HELPER_4(mvpg, void, env, i64, i64, i64) 28DEF_HELPER_4(mvst, void, env, i32, i32, i32) 29DEF_HELPER_4(csg, i32, env, i32, i64, i32) 30DEF_HELPER_4(cdsg, i32, env, i32, i64, i32) 31DEF_HELPER_4(cs, i32, env, i32, i64, i32) 32DEF_HELPER_5(ex, i32, env, i32, i64, i64, i64) 33DEF_HELPER_FLAGS_1(abs_i32, TCG_CALL_NO_RWG_SE, i32, s32) 34DEF_HELPER_FLAGS_1(nabs_i32, TCG_CALL_NO_RWG_SE, s32, s32) 35DEF_HELPER_FLAGS_1(abs_i64, TCG_CALL_NO_RWG_SE, i64, s64) 36DEF_HELPER_FLAGS_1(nabs_i64, TCG_CALL_NO_RWG_SE, s64, s64) 37DEF_HELPER_4(stcmh, void, env, i32, i64, i32) 38DEF_HELPER_4(icmh, i32, env, i32, i64, i32) 39DEF_HELPER_3(ipm, void, env, i32, i32) 40DEF_HELPER_FLAGS_3(addc_u32, TCG_CALL_NO_RWG_SE, i32, i32, i32, i32) 41DEF_HELPER_FLAGS_3(set_cc_addc_u64, TCG_CALL_NO_RWG_SE, i32, i64, i64, i64) 42DEF_HELPER_4(stam, void, env, i32, i64, i32) 43DEF_HELPER_4(lam, void, env, i32, i64, i32) 44DEF_HELPER_4(mvcle, i32, env, i32, i64, i32) 45DEF_HELPER_4(clcle, i32, env, i32, i64, i32) 46DEF_HELPER_4(slb, i32, env, i32, i32, i32) 47DEF_HELPER_5(slbg, i32, env, i32, i32, i64, i64) 48DEF_HELPER_3(cefbr, void, env, i32, s32) 49DEF_HELPER_3(cdfbr, void, env, i32, s32) 50DEF_HELPER_3(cxfbr, void, env, i32, s32) 51DEF_HELPER_3(cegbr, void, env, i32, s64) 52DEF_HELPER_3(cdgbr, void, env, i32, s64) 53DEF_HELPER_3(cxgbr, void, env, i32, s64) 54DEF_HELPER_3(adbr, i32, env, i32, i32) 55DEF_HELPER_3(aebr, i32, env, i32, i32) 56DEF_HELPER_3(sebr, i32, env, i32, i32) 57DEF_HELPER_3(sdbr, i32, env, i32, i32) 58DEF_HELPER_3(debr, void, env, i32, i32) 59DEF_HELPER_3(dxbr, void, env, i32, i32) 60DEF_HELPER_3(mdbr, void, env, i32, i32) 61DEF_HELPER_3(mxbr, void, env, i32, i32) 62DEF_HELPER_3(ldebr, void, env, i32, i32) 63DEF_HELPER_3(ldxbr, void, env, i32, i32) 64DEF_HELPER_3(lxdbr, void, env, i32, i32) 65DEF_HELPER_3(ledbr, void, env, i32, i32) 66DEF_HELPER_3(lexbr, void, env, i32, i32) 67DEF_HELPER_3(lpebr, i32, env, i32, i32) 68DEF_HELPER_3(lpdbr, i32, env, i32, i32) 69DEF_HELPER_3(lpxbr, i32, env, i32, i32) 70DEF_HELPER_3(ltebr, i32, env, i32, i32) 71DEF_HELPER_3(ltdbr, i32, env, i32, i32) 72DEF_HELPER_3(ltxbr, i32, env, i32, i32) 73DEF_HELPER_3(lcebr, i32, env, i32, i32) 74DEF_HELPER_3(lcdbr, i32, env, i32, i32) 75DEF_HELPER_3(lcxbr, i32, env, i32, i32) 76DEF_HELPER_3(aeb, void, env, i32, i32) 77DEF_HELPER_3(deb, void, env, i32, i32) 78DEF_HELPER_3(meeb, void, env, i32, i32) 79DEF_HELPER_3(cdb, i32, env, i32, i64) 80DEF_HELPER_3(adb, i32, env, i32, i64) 81DEF_HELPER_3(seb, void, env, i32, i32) 82DEF_HELPER_3(sdb, i32, env, i32, i64) 83DEF_HELPER_3(mdb, void, env, i32, i64) 84DEF_HELPER_3(ddb, void, env, i32, i64) 85DEF_HELPER_FLAGS_3(cebr, TCG_CALL_NO_SE, i32, env, i32, i32) 86DEF_HELPER_FLAGS_3(cdbr, TCG_CALL_NO_SE, i32, env, i32, i32) 87DEF_HELPER_FLAGS_3(cxbr, TCG_CALL_NO_SE, i32, env, i32, i32) 88DEF_HELPER_4(cgebr, i32, env, i32, i32, i32) 89DEF_HELPER_4(cgdbr, i32, env, i32, i32, i32) 90DEF_HELPER_4(cgxbr, i32, env, i32, i32, i32) 91DEF_HELPER_2(lzer, void, env, i32) 92DEF_HELPER_2(lzdr, void, env, i32) 93DEF_HELPER_2(lzxr, void, env, i32) 94DEF_HELPER_4(cfebr, i32, env, i32, i32, i32) 95DEF_HELPER_4(cfdbr, i32, env, i32, i32, i32) 96DEF_HELPER_4(cfxbr, i32, env, i32, i32, i32) 97DEF_HELPER_3(axbr, i32, env, i32, i32) 98DEF_HELPER_3(sxbr, i32, env, i32, i32) 99DEF_HELPER_3(meebr, void, env, i32, i32) 100DEF_HELPER_3(ddbr, void, env, i32, i32) 101DEF_HELPER_4(madb, void, env, i32, i64, i32) 102DEF_HELPER_4(maebr, void, env, i32, i32, i32) 103DEF_HELPER_4(madbr, void, env, i32, i32, i32) 104DEF_HELPER_4(msdbr, void, env, i32, i32, i32) 105DEF_HELPER_3(ldeb, void, env, i32, i64) 106DEF_HELPER_3(lxdb, void, env, i32, i64) 107DEF_HELPER_FLAGS_3(tceb, TCG_CALL_NO_SE, i32, env, i32, i64) 108DEF_HELPER_FLAGS_3(tcdb, TCG_CALL_NO_SE, i32, env, i32, i64) 109DEF_HELPER_FLAGS_3(tcxb, TCG_CALL_NO_SE, i32, env, i32, i64) 110DEF_HELPER_3(flogr, i32, env, i32, i64) 111DEF_HELPER_3(sqdbr, void, env, i32, i32) 112DEF_HELPER_FLAGS_1(cvd, TCG_CALL_NO_RWG_SE, i64, s32) 113DEF_HELPER_4(unpk, void, env, i32, i64, i64) 114DEF_HELPER_4(tr, void, env, i32, i64, i64) 115 116DEF_HELPER_3(servc, i32, env, i32, i64) 117DEF_HELPER_4(diag, i64, env, i32, i64, i64) 118DEF_HELPER_3(load_psw, void, env, i64, i64) 119DEF_HELPER_1(program_interrupt, void, i32) 120DEF_HELPER_FLAGS_2(stidp, TCG_CALL_NO_RWG, void, env, i64) 121DEF_HELPER_FLAGS_2(spx, TCG_CALL_NO_RWG, void, env, i64) 122DEF_HELPER_FLAGS_1(sck, TCG_CALL_NO_RWG, i32, i64) 123DEF_HELPER_2(stck, i32, env, i64) 124DEF_HELPER_2(stcke, i32, env, i64) 125DEF_HELPER_FLAGS_2(sckc, TCG_CALL_NO_RWG, void, env, i64) 126DEF_HELPER_FLAGS_2(stckc, TCG_CALL_NO_RWG, void, env, i64) 127DEF_HELPER_FLAGS_2(spt, TCG_CALL_NO_RWG, void, env, i64) 128DEF_HELPER_FLAGS_2(stpt, TCG_CALL_NO_RWG, void, env, i64) 129DEF_HELPER_4(stsi, i32, env, i64, i32, i32) 130DEF_HELPER_4(lctl, void, env, i32, i64, i32) 131DEF_HELPER_4(lctlg, void, env, i32, i64, i32) 132DEF_HELPER_4(stctl, void, env, i32, i64, i32) 133DEF_HELPER_4(stctg, void, env, i32, i64, i32) 134DEF_HELPER_FLAGS_2(tprot, TCG_CALL_NO_RWG, i32, i64, i64) 135DEF_HELPER_FLAGS_2(iske, TCG_CALL_NO_RWG_SE, i64, env, i64) 136DEF_HELPER_FLAGS_3(sske, TCG_CALL_NO_RWG, void, env, i32, i64) 137DEF_HELPER_FLAGS_3(rrbe, TCG_CALL_NO_RWG, i32, env, i32, i64) 138DEF_HELPER_3(csp, i32, env, i32, i32) 139DEF_HELPER_4(mvcs, i32, env, i64, i64, i64) 140DEF_HELPER_4(mvcp, i32, env, i64, i64, i64) 141DEF_HELPER_4(sigp, i32, env, i64, i32, i64) 142DEF_HELPER_2(sacf, void, env, i64) 143DEF_HELPER_FLAGS_3(ipte, TCG_CALL_NO_RWG, void, env, i64, i64) 144DEF_HELPER_FLAGS_1(ptlb, TCG_CALL_NO_RWG, void, env) 145DEF_HELPER_3(lra, i32, env, i64, i32) 146DEF_HELPER_3(stura, void, env, i64, i32) 147DEF_HELPER_3(cksm, void, env, i32, i32) 148 149DEF_HELPER_FLAGS_5(calc_cc, TCG_CALL_NO_RWG_SE, 150 i32, env, i32, i64, i64, i64) 151 152#include "def-helper.h" 153