xref: /openbmc/qemu/target/s390x/helper.h (revision 8112274f86fa99f74b0ebe9e5173171f404babbb)
1fcf5ef2aSThomas Huth DEF_HELPER_2(exception, noreturn, env, i32)
2bbf6ea3bSDavid Hildenbrand DEF_HELPER_2(data_exception, noreturn, env, i32)
3fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_4(nc, TCG_CALL_NO_WG, i32, env, i32, i64, i64)
4fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_4(oc, TCG_CALL_NO_WG, i32, env, i32, i64, i64)
5fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_4(xc, TCG_CALL_NO_WG, i32, env, i32, i64, i64)
6fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_4(mvc, TCG_CALL_NO_WG, void, env, i32, i64, i64)
76c9deca8SAurelien Jarno DEF_HELPER_FLAGS_4(mvcin, TCG_CALL_NO_WG, void, env, i32, i64, i64)
8fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_4(clc, TCG_CALL_NO_WG, i32, env, i32, i64, i64)
9fcf5ef2aSThomas Huth DEF_HELPER_3(mvcl, i32, env, i32, i32)
105c2b48a8SAurelien Jarno DEF_HELPER_3(clcl, i32, env, i32, i32)
11fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_4(clm, TCG_CALL_NO_WG, i32, env, i32, i32, i64)
12fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_3(divs32, TCG_CALL_NO_WG, s64, env, s64, s64)
13fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_3(divu32, TCG_CALL_NO_WG, i64, env, i64, i64)
14fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_3(divs64, TCG_CALL_NO_WG, s64, env, s64, s64)
15fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_4(divu64, TCG_CALL_NO_WG, i64, env, i64, i64, i64)
167591db78SRichard Henderson DEF_HELPER_3(srst, void, env, i32, i32)
17be7acb58SRichard Henderson DEF_HELPER_3(srstu, void, env, i32, i32)
18fcf5ef2aSThomas Huth DEF_HELPER_4(clst, i64, env, i64, i64, i64)
19256dab6fSAurelien Jarno DEF_HELPER_FLAGS_4(mvn, TCG_CALL_NO_WG, void, env, i32, i64, i64)
20fdc0a747SAurelien Jarno DEF_HELPER_FLAGS_4(mvo, TCG_CALL_NO_WG, void, env, i32, i64, i64)
217cf96fcaSRichard Henderson DEF_HELPER_FLAGS_4(mvpg, TCG_CALL_NO_WG, i32, env, i64, i64, i64)
2201f8db88SAurelien Jarno DEF_HELPER_FLAGS_4(mvz, TCG_CALL_NO_WG, void, env, i32, i64, i64)
23fcf5ef2aSThomas Huth DEF_HELPER_4(mvst, i64, env, i64, i64, i64)
2483500793SRichard Henderson DEF_HELPER_4(ex, void, env, i32, i64, i64)
25fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_4(stam, TCG_CALL_NO_WG, void, env, i32, i64, i32)
26fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_4(lam, TCG_CALL_NO_WG, void, env, i32, i64, i32)
27fcf5ef2aSThomas Huth DEF_HELPER_4(mvcle, i32, env, i32, i64, i32)
2816f2e4b8SAurelien Jarno DEF_HELPER_4(mvclu, i32, env, i32, i64, i32)
29fcf5ef2aSThomas Huth DEF_HELPER_4(clcle, i32, env, i32, i64, i32)
3031006af3SAurelien Jarno DEF_HELPER_4(clclu, i32, env, i32, i64, i32)
31fcf5ef2aSThomas Huth DEF_HELPER_3(cegb, i64, env, s64, i32)
32fcf5ef2aSThomas Huth DEF_HELPER_3(cdgb, i64, env, s64, i32)
33fcf5ef2aSThomas Huth DEF_HELPER_3(cxgb, i64, env, s64, i32)
34fcf5ef2aSThomas Huth DEF_HELPER_3(celgb, i64, env, i64, i32)
35fcf5ef2aSThomas Huth DEF_HELPER_3(cdlgb, i64, env, i64, i32)
36fcf5ef2aSThomas Huth DEF_HELPER_3(cxlgb, i64, env, i64, i32)
37303a9ab8SRichard Henderson DEF_HELPER_4(cdsg, void, env, i64, i32, i32)
386476615dSEmilio G. Cota DEF_HELPER_4(cdsg_parallel, void, env, i64, i32, i32)
39c67ba303SRichard Henderson DEF_HELPER_4(csst, i32, env, i32, i64, i64)
406476615dSEmilio G. Cota DEF_HELPER_4(csst_parallel, i32, env, i32, i64, i64)
41fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_3(aeb, TCG_CALL_NO_WG, i64, env, i64, i64)
42fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_3(adb, TCG_CALL_NO_WG, i64, env, i64, i64)
43fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_5(axb, TCG_CALL_NO_WG, i64, env, i64, i64, i64, i64)
44fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_3(seb, TCG_CALL_NO_WG, i64, env, i64, i64)
45fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_3(sdb, TCG_CALL_NO_WG, i64, env, i64, i64)
46fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_5(sxb, TCG_CALL_NO_WG, i64, env, i64, i64, i64, i64)
47fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_3(deb, TCG_CALL_NO_WG, i64, env, i64, i64)
48fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_3(ddb, TCG_CALL_NO_WG, i64, env, i64, i64)
49fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_5(dxb, TCG_CALL_NO_WG, i64, env, i64, i64, i64, i64)
50fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_3(meeb, TCG_CALL_NO_WG, i64, env, i64, i64)
51fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_3(mdeb, TCG_CALL_NO_WG, i64, env, i64, i64)
52fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_3(mdb, TCG_CALL_NO_WG, i64, env, i64, i64)
53fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_5(mxb, TCG_CALL_NO_WG, i64, env, i64, i64, i64, i64)
54fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_4(mxdb, TCG_CALL_NO_WG, i64, env, i64, i64, i64)
55fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_2(ldeb, TCG_CALL_NO_WG, i64, env, i64)
56bdcfcd44SDavid Hildenbrand DEF_HELPER_FLAGS_4(ldxb, TCG_CALL_NO_WG, i64, env, i64, i64, i32)
57fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_2(lxdb, TCG_CALL_NO_WG, i64, env, i64)
58fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_2(lxeb, TCG_CALL_NO_WG, i64, env, i64)
59bdcfcd44SDavid Hildenbrand DEF_HELPER_FLAGS_3(ledb, TCG_CALL_NO_WG, i64, env, i64, i32)
60bdcfcd44SDavid Hildenbrand DEF_HELPER_FLAGS_4(lexb, TCG_CALL_NO_WG, i64, env, i64, i64, i32)
61fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_3(ceb, TCG_CALL_NO_WG_SE, i32, env, i64, i64)
62fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_3(cdb, TCG_CALL_NO_WG_SE, i32, env, i64, i64)
63fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_5(cxb, TCG_CALL_NO_WG_SE, i32, env, i64, i64, i64, i64)
649c8be598SAurelien Jarno DEF_HELPER_FLAGS_3(keb, TCG_CALL_NO_WG, i32, env, i64, i64)
659c8be598SAurelien Jarno DEF_HELPER_FLAGS_3(kdb, TCG_CALL_NO_WG, i32, env, i64, i64)
669c8be598SAurelien Jarno DEF_HELPER_FLAGS_5(kxb, TCG_CALL_NO_WG, i32, env, i64, i64, i64, i64)
67fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_3(cgeb, TCG_CALL_NO_WG, i64, env, i64, i32)
68fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_3(cgdb, TCG_CALL_NO_WG, i64, env, i64, i32)
69fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_4(cgxb, TCG_CALL_NO_WG, i64, env, i64, i64, i32)
70fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_3(cfeb, TCG_CALL_NO_WG, i64, env, i64, i32)
71fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_3(cfdb, TCG_CALL_NO_WG, i64, env, i64, i32)
72fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_4(cfxb, TCG_CALL_NO_WG, i64, env, i64, i64, i32)
73fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_3(clgeb, TCG_CALL_NO_WG, i64, env, i64, i32)
74fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_3(clgdb, TCG_CALL_NO_WG, i64, env, i64, i32)
75fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_4(clgxb, TCG_CALL_NO_WG, i64, env, i64, i64, i32)
76fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_3(clfeb, TCG_CALL_NO_WG, i64, env, i64, i32)
77fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_3(clfdb, TCG_CALL_NO_WG, i64, env, i64, i32)
78fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_4(clfxb, TCG_CALL_NO_WG, i64, env, i64, i64, i32)
79fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_3(fieb, TCG_CALL_NO_WG, i64, env, i64, i32)
80fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_3(fidb, TCG_CALL_NO_WG, i64, env, i64, i32)
81fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_4(fixb, TCG_CALL_NO_WG, i64, env, i64, i64, i32)
82fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_4(maeb, TCG_CALL_NO_WG, i64, env, i64, i64, i64)
83fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_4(madb, TCG_CALL_NO_WG, i64, env, i64, i64, i64)
84fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_4(mseb, TCG_CALL_NO_WG, i64, env, i64, i64, i64)
85fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_4(msdb, TCG_CALL_NO_WG, i64, env, i64, i64, i64)
86fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_3(tceb, TCG_CALL_NO_RWG_SE, i32, env, i64, i64)
87fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_3(tcdb, TCG_CALL_NO_RWG_SE, i32, env, i64, i64)
88fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_4(tcxb, TCG_CALL_NO_RWG_SE, i32, env, i64, i64, i64)
89fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_2(sqeb, TCG_CALL_NO_WG, i64, env, i64)
90fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_2(sqdb, TCG_CALL_NO_WG, i64, env, i64)
91fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_3(sqxb, TCG_CALL_NO_WG, i64, env, i64, i64)
92fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_1(cvd, TCG_CALL_NO_RWG_SE, i64, s32)
9376c57490SAurelien Jarno DEF_HELPER_FLAGS_4(pack, TCG_CALL_NO_WG, void, env, i32, i64, i64)
943bd3d6d3SAurelien Jarno DEF_HELPER_FLAGS_4(pka, TCG_CALL_NO_WG, void, env, i64, i64, i32)
954e256befSAurelien Jarno DEF_HELPER_FLAGS_4(pku, TCG_CALL_NO_WG, void, env, i64, i64, i32)
96fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_4(unpk, TCG_CALL_NO_WG, void, env, i32, i64, i64)
971a35f08aSAurelien Jarno DEF_HELPER_FLAGS_4(unpka, TCG_CALL_NO_WG, i32, env, i64, i32, i64)
9815417787SAurelien Jarno DEF_HELPER_FLAGS_4(unpku, TCG_CALL_NO_WG, i32, env, i64, i32, i64)
995d4a655aSAurelien Jarno DEF_HELPER_FLAGS_3(tp, TCG_CALL_NO_WG, i32, env, i64, i32)
100fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_4(tr, TCG_CALL_NO_WG, void, env, i32, i64, i64)
101fcf5ef2aSThomas Huth DEF_HELPER_4(tre, i64, env, i64, i64, i64)
102fcf5ef2aSThomas Huth DEF_HELPER_4(trt, i32, env, i32, i64, i64)
103b213c9f5SRichard Henderson DEF_HELPER_4(trtr, i32, env, i32, i64, i64)
1044065ae76SAurelien Jarno DEF_HELPER_5(trXX, i32, env, i32, i32, i32, i32)
105fcf5ef2aSThomas Huth DEF_HELPER_4(cksm, i64, env, i64, i64, i64)
106fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_5(calc_cc, TCG_CALL_NO_RWG_SE, i32, env, i32, i64, i64, i64)
1072aea83c6SDavid Hildenbrand DEF_HELPER_FLAGS_2(sfpc, TCG_CALL_NO_WG, void, env, i64)
108fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_2(sfas, TCG_CALL_NO_WG, void, env, i64)
109b9c737f5SDavid Hildenbrand DEF_HELPER_FLAGS_2(srnm, TCG_CALL_NO_WG, void, env, i64)
110fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_1(popcnt, TCG_CALL_NO_RWG_SE, i64, i64)
1115bf83628SRichard Henderson DEF_HELPER_2(stfle, i32, env, i64)
112e22dfdb2SAurelien Jarno DEF_HELPER_FLAGS_2(lpq, TCG_CALL_NO_WG, i64, env, i64)
1136476615dSEmilio G. Cota DEF_HELPER_FLAGS_2(lpq_parallel, TCG_CALL_NO_WG, i64, env, i64)
114c21b610fSAurelien Jarno DEF_HELPER_FLAGS_4(stpq, TCG_CALL_NO_WG, void, env, i64, i64, i64)
1156476615dSEmilio G. Cota DEF_HELPER_FLAGS_4(stpq_parallel, TCG_CALL_NO_WG, void, env, i64, i64, i64)
1163e7e5e0bSDavid Hildenbrand DEF_HELPER_4(mvcos, i32, env, i64, i64, i64)
117941ef3dbSRichard Henderson DEF_HELPER_4(cu12, i32, env, i32, i32, i32)
118941ef3dbSRichard Henderson DEF_HELPER_4(cu14, i32, env, i32, i32, i32)
119941ef3dbSRichard Henderson DEF_HELPER_4(cu21, i32, env, i32, i32, i32)
120941ef3dbSRichard Henderson DEF_HELPER_4(cu24, i32, env, i32, i32, i32)
121941ef3dbSRichard Henderson DEF_HELPER_4(cu41, i32, env, i32, i32, i32)
122941ef3dbSRichard Henderson DEF_HELPER_4(cu42, i32, env, i32, i32, i32)
1237705c750SDavid Hildenbrand DEF_HELPER_5(msa, i32, env, i32, i32, i32, i32)
1244bac52f5SDavid Hildenbrand DEF_HELPER_FLAGS_1(stpt, TCG_CALL_NO_RWG, i64, env)
125965018beSRichard Henderson DEF_HELPER_FLAGS_1(stck, TCG_CALL_NO_RWG_SE, i64, env)
126c5a7392cSDavid Hildenbrand DEF_HELPER_FLAGS_3(probe_write_access, TCG_CALL_NO_WG, void, env, i64, i64)
127fcf5ef2aSThomas Huth 
12860e9e3f1SDavid Hildenbrand /* === Vector Support Instructions === */
12960e9e3f1SDavid Hildenbrand DEF_HELPER_FLAGS_4(vll, TCG_CALL_NO_WG, void, env, ptr, i64, i64)
13073946f0dSDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_vpk16, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
13173946f0dSDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_vpk32, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
13273946f0dSDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_vpk64, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
13373946f0dSDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_vpks16, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
13473946f0dSDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_vpks32, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
13573946f0dSDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_vpks64, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
13673946f0dSDavid Hildenbrand DEF_HELPER_5(gvec_vpks_cc16, void, ptr, cptr, cptr, env, i32)
13773946f0dSDavid Hildenbrand DEF_HELPER_5(gvec_vpks_cc32, void, ptr, cptr, cptr, env, i32)
13873946f0dSDavid Hildenbrand DEF_HELPER_5(gvec_vpks_cc64, void, ptr, cptr, cptr, env, i32)
13973946f0dSDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_vpkls16, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
14073946f0dSDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_vpkls32, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
14173946f0dSDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_vpkls64, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
14273946f0dSDavid Hildenbrand DEF_HELPER_5(gvec_vpkls_cc16, void, ptr, cptr, cptr, env, i32)
14373946f0dSDavid Hildenbrand DEF_HELPER_5(gvec_vpkls_cc32, void, ptr, cptr, cptr, env, i32)
14473946f0dSDavid Hildenbrand DEF_HELPER_5(gvec_vpkls_cc64, void, ptr, cptr, cptr, env, i32)
1457aaf844dSDavid Hildenbrand DEF_HELPER_FLAGS_5(gvec_vperm, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, cptr, i32)
1460e0a5b49SDavid Hildenbrand DEF_HELPER_FLAGS_4(vstl, TCG_CALL_NO_WG, void, env, cptr, i64, i64)
14760e9e3f1SDavid Hildenbrand 
148c1a81d4bSDavid Hildenbrand /* === Vector Integer Instructions === */
149c1a81d4bSDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_vavg8, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
150c1a81d4bSDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_vavg16, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
151801aa78bSDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_vavgl8, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
152801aa78bSDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_vavgl16, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
15328863f1dSDavid Hildenbrand DEF_HELPER_FLAGS_3(gvec_vclz8, TCG_CALL_NO_RWG, void, ptr, cptr, i32)
15428863f1dSDavid Hildenbrand DEF_HELPER_FLAGS_3(gvec_vclz16, TCG_CALL_NO_RWG, void, ptr, cptr, i32)
155449a8ac2SDavid Hildenbrand DEF_HELPER_FLAGS_3(gvec_vctz8, TCG_CALL_NO_RWG, void, ptr, cptr, i32)
156449a8ac2SDavid Hildenbrand DEF_HELPER_FLAGS_3(gvec_vctz16, TCG_CALL_NO_RWG, void, ptr, cptr, i32)
157697a45d6SDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_vgfm8, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
158697a45d6SDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_vgfm16, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
159697a45d6SDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_vgfm32, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
160697a45d6SDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_vgfm64, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
161697a45d6SDavid Hildenbrand DEF_HELPER_FLAGS_5(gvec_vgfma8, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, cptr, i32)
162697a45d6SDavid Hildenbrand DEF_HELPER_FLAGS_5(gvec_vgfma16, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, cptr, i32)
163697a45d6SDavid Hildenbrand DEF_HELPER_FLAGS_5(gvec_vgfma32, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, cptr, i32)
164697a45d6SDavid Hildenbrand DEF_HELPER_FLAGS_5(gvec_vgfma64, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, cptr, i32)
1651b430aecSDavid Hildenbrand DEF_HELPER_FLAGS_5(gvec_vmal8, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, cptr, i32)
1661b430aecSDavid Hildenbrand DEF_HELPER_FLAGS_5(gvec_vmal16, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, cptr, i32)
1671b430aecSDavid Hildenbrand DEF_HELPER_FLAGS_5(gvec_vmah8, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, cptr, i32)
1681b430aecSDavid Hildenbrand DEF_HELPER_FLAGS_5(gvec_vmah16, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, cptr, i32)
1691b430aecSDavid Hildenbrand DEF_HELPER_FLAGS_5(gvec_vmalh8, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, cptr, i32)
1701b430aecSDavid Hildenbrand DEF_HELPER_FLAGS_5(gvec_vmalh16, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, cptr, i32)
1711b430aecSDavid Hildenbrand DEF_HELPER_FLAGS_5(gvec_vmae8, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, cptr, i32)
1721b430aecSDavid Hildenbrand DEF_HELPER_FLAGS_5(gvec_vmae16, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, cptr, i32)
1731b430aecSDavid Hildenbrand DEF_HELPER_FLAGS_5(gvec_vmae32, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, cptr, i32)
1741b430aecSDavid Hildenbrand DEF_HELPER_FLAGS_5(gvec_vmale8, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, cptr, i32)
1751b430aecSDavid Hildenbrand DEF_HELPER_FLAGS_5(gvec_vmale16, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, cptr, i32)
1761b430aecSDavid Hildenbrand DEF_HELPER_FLAGS_5(gvec_vmale32, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, cptr, i32)
1771b430aecSDavid Hildenbrand DEF_HELPER_FLAGS_5(gvec_vmao8, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, cptr, i32)
1781b430aecSDavid Hildenbrand DEF_HELPER_FLAGS_5(gvec_vmao16, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, cptr, i32)
1791b430aecSDavid Hildenbrand DEF_HELPER_FLAGS_5(gvec_vmao32, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, cptr, i32)
1801b430aecSDavid Hildenbrand DEF_HELPER_FLAGS_5(gvec_vmalo8, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, cptr, i32)
1811b430aecSDavid Hildenbrand DEF_HELPER_FLAGS_5(gvec_vmalo16, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, cptr, i32)
1821b430aecSDavid Hildenbrand DEF_HELPER_FLAGS_5(gvec_vmalo32, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, cptr, i32)
1832bf3ee38SDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_vmh8, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
1842bf3ee38SDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_vmh16, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
1852bf3ee38SDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_vmlh8, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
1862bf3ee38SDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_vmlh16, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
1872bf3ee38SDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_vme8, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
1882bf3ee38SDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_vme16, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
1892bf3ee38SDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_vme32, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
1902bf3ee38SDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_vmle8, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
1912bf3ee38SDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_vmle16, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
1922bf3ee38SDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_vmle32, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
1932bf3ee38SDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_vmo8, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
1942bf3ee38SDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_vmo16, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
1952bf3ee38SDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_vmo32, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
1962bf3ee38SDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_vmlo8, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
1972bf3ee38SDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_vmlo16, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
1982bf3ee38SDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_vmlo32, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
199c3838aaaSDavid Hildenbrand DEF_HELPER_FLAGS_3(gvec_vpopct8, TCG_CALL_NO_RWG, void, ptr, cptr, i32)
200c3838aaaSDavid Hildenbrand DEF_HELPER_FLAGS_3(gvec_vpopct16, TCG_CALL_NO_RWG, void, ptr, cptr, i32)
20155236da2SDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_verllv8, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
20255236da2SDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_verllv16, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
20355236da2SDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_verll8, TCG_CALL_NO_RWG, void, ptr, cptr, i64, i32)
20455236da2SDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_verll16, TCG_CALL_NO_RWG, void, ptr, cptr, i64, i32)
2055c4b0ab4SDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_verim8, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
2065c4b0ab4SDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_verim16, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
207dea33fc3SDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_vsl, TCG_CALL_NO_RWG, void, ptr, cptr, i64, i32)
2085f724887SDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_vsra, TCG_CALL_NO_RWG, void, ptr, cptr, i64, i32)
209*8112274fSDavid Hildenbrand DEF_HELPER_FLAGS_4(gvec_vsrl, TCG_CALL_NO_RWG, void, ptr, cptr, i64, i32)
210c1a81d4bSDavid Hildenbrand 
211fcf5ef2aSThomas Huth #ifndef CONFIG_USER_ONLY
212fcf5ef2aSThomas Huth DEF_HELPER_3(servc, i32, env, i64, i64)
213fcf5ef2aSThomas Huth DEF_HELPER_4(diag, void, env, i32, i32, i32)
214fcf5ef2aSThomas Huth DEF_HELPER_3(load_psw, noreturn, env, i64, i64)
215fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_2(spx, TCG_CALL_NO_RWG, void, env, i64)
2169dc67537SDavid Hildenbrand DEF_HELPER_FLAGS_2(sck, TCG_CALL_NO_RWG, i32, env, i64)
217fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_2(sckc, TCG_CALL_NO_RWG, void, env, i64)
218257a119eSDavid Hildenbrand DEF_HELPER_FLAGS_2(sckpf, TCG_CALL_NO_RWG, void, env, i64)
219fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_1(stckc, TCG_CALL_NO_RWG, i64, env)
220fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_2(spt, TCG_CALL_NO_RWG, void, env, i64)
221fcf5ef2aSThomas Huth DEF_HELPER_4(stsi, i32, env, i64, i64, i64)
222fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_4(lctl, TCG_CALL_NO_WG, void, env, i32, i64, i32)
223fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_4(lctlg, TCG_CALL_NO_WG, void, env, i32, i64, i32)
224fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_4(stctl, TCG_CALL_NO_WG, void, env, i32, i64, i32)
225fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_4(stctg, TCG_CALL_NO_WG, void, env, i32, i64, i32)
226f79f1ca4SThomas Huth DEF_HELPER_FLAGS_2(testblock, TCG_CALL_NO_WG, i32, env, i64)
227b5e85329SDavid Hildenbrand DEF_HELPER_FLAGS_3(tprot, TCG_CALL_NO_WG, i32, env, i64, i64)
228fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_2(iske, TCG_CALL_NO_RWG_SE, i64, env, i64)
229fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_3(sske, TCG_CALL_NO_RWG, void, env, i64, i64)
230fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_2(rrbe, TCG_CALL_NO_RWG, i32, env, i64)
231fcf5ef2aSThomas Huth DEF_HELPER_4(mvcs, i32, env, i64, i64, i64)
232fcf5ef2aSThomas Huth DEF_HELPER_4(mvcp, i32, env, i64, i64, i64)
23311b0079cSDavid Hildenbrand DEF_HELPER_4(sigp, i32, env, i64, i32, i32)
234fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_2(sacf, TCG_CALL_NO_WG, void, env, i64)
235be7f28deSDavid Hildenbrand DEF_HELPER_FLAGS_4(idte, TCG_CALL_NO_RWG, void, env, i64, i64, i32)
2361f58720cSAurelien Jarno DEF_HELPER_FLAGS_4(ipte, TCG_CALL_NO_RWG, void, env, i64, i64, i32)
237fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_1(ptlb, TCG_CALL_NO_RWG, void, env)
23831a18b45SRichard Henderson DEF_HELPER_FLAGS_1(purge, TCG_CALL_NO_RWG, void, env)
239fcf5ef2aSThomas Huth DEF_HELPER_2(lra, i64, env, i64)
240fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_2(lura, TCG_CALL_NO_WG, i64, env, i64)
241fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_2(lurag, TCG_CALL_NO_WG, i64, env, i64)
242fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_3(stura, TCG_CALL_NO_WG, void, env, i64, i64)
243fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_3(sturg, TCG_CALL_NO_WG, void, env, i64, i64)
244fcf5ef2aSThomas Huth DEF_HELPER_1(per_check_exception, void, env)
245fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_3(per_branch, TCG_CALL_NO_RWG, void, env, i64, i64)
246fcf5ef2aSThomas Huth DEF_HELPER_FLAGS_2(per_ifetch, TCG_CALL_NO_RWG, void, env, i64)
24786b5ab39SDavid Hildenbrand DEF_HELPER_FLAGS_1(stfl, TCG_CALL_NO_RWG, void, env)
248fcf5ef2aSThomas Huth 
249fcf5ef2aSThomas Huth DEF_HELPER_2(xsch, void, env, i64)
250fcf5ef2aSThomas Huth DEF_HELPER_2(csch, void, env, i64)
251fcf5ef2aSThomas Huth DEF_HELPER_2(hsch, void, env, i64)
252fcf5ef2aSThomas Huth DEF_HELPER_3(msch, void, env, i64, i64)
253fcf5ef2aSThomas Huth DEF_HELPER_2(rchp, void, env, i64)
254fcf5ef2aSThomas Huth DEF_HELPER_2(rsch, void, env, i64)
25586c34633SDavid Hildenbrand DEF_HELPER_2(sal, void, env, i64)
256a9de75a0SDavid Hildenbrand DEF_HELPER_4(schm, void, env, i64, i64, i64)
257fcf5ef2aSThomas Huth DEF_HELPER_3(ssch, void, env, i64, i64)
2585a59bc1dSDavid Hildenbrand DEF_HELPER_2(stcrw, void, env, i64)
259fcf5ef2aSThomas Huth DEF_HELPER_3(stsch, void, env, i64, i64)
2606a253de3SDavid Hildenbrand DEF_HELPER_2(tpi, i32, env, i64)
261fcf5ef2aSThomas Huth DEF_HELPER_3(tsch, void, env, i64, i64)
262fcf5ef2aSThomas Huth DEF_HELPER_2(chsc, void, env, i64)
263f6c232ceSCornelia Huck 
264f6c232ceSCornelia Huck DEF_HELPER_2(clp, void, env, i32)
265f6c232ceSCornelia Huck DEF_HELPER_3(pcilg, void, env, i32, i32)
266f6c232ceSCornelia Huck DEF_HELPER_3(pcistg, void, env, i32, i32)
267f6c232ceSCornelia Huck DEF_HELPER_4(stpcifc, void, env, i32, i64, i32)
268f6c232ceSCornelia Huck DEF_HELPER_3(sic, void, env, i64, i64)
269f6c232ceSCornelia Huck DEF_HELPER_3(rpcit, void, env, i32, i32)
270f6c232ceSCornelia Huck DEF_HELPER_5(pcistb, void, env, i32, i32, i64, i32)
271f6c232ceSCornelia Huck DEF_HELPER_4(mpcifc, void, env, i32, i64, i32)
272fcf5ef2aSThomas Huth #endif
273