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