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