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