root / target-alpha / helper.h @ bf1b03fe
History | View | Annotate | Download (5.7 kB)
1 | a7812ae4 | pbrook | #include "def-helper.h" |
---|---|---|---|
2 | a7812ae4 | pbrook | |
3 | a7812ae4 | pbrook | DEF_HELPER_2(excp, void, int, int) |
4 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_0(load_pcc, TCG_CALL_CONST | TCG_CALL_PURE, i64) |
5 | a7812ae4 | pbrook | |
6 | a7812ae4 | pbrook | DEF_HELPER_2(addqv, i64, i64, i64) |
7 | a7812ae4 | pbrook | DEF_HELPER_2(addlv, i64, i64, i64) |
8 | a7812ae4 | pbrook | DEF_HELPER_2(subqv, i64, i64, i64) |
9 | a7812ae4 | pbrook | DEF_HELPER_2(sublv, i64, i64, i64) |
10 | a7812ae4 | pbrook | DEF_HELPER_2(mullv, i64, i64, i64) |
11 | a7812ae4 | pbrook | DEF_HELPER_2(mulqv, i64, i64, i64) |
12 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_2(umulh, TCG_CALL_CONST | TCG_CALL_PURE, i64, i64, i64) |
13 | 0c287402 | Richard Henderson | |
14 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_1(ctpop, TCG_CALL_CONST | TCG_CALL_PURE, i64, i64) |
15 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_1(ctlz, TCG_CALL_CONST | TCG_CALL_PURE, i64, i64) |
16 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_1(cttz, TCG_CALL_CONST | TCG_CALL_PURE, i64, i64) |
17 | 0c287402 | Richard Henderson | |
18 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_2(zap, TCG_CALL_CONST | TCG_CALL_PURE, i64, i64, i64) |
19 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_2(zapnot, TCG_CALL_CONST | TCG_CALL_PURE, i64, i64, i64) |
20 | 0c287402 | Richard Henderson | |
21 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_2(cmpbge, TCG_CALL_CONST | TCG_CALL_PURE, i64, i64, i64) |
22 | 0c287402 | Richard Henderson | |
23 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_2(minub8, TCG_CALL_CONST | TCG_CALL_PURE, i64, i64, i64) |
24 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_2(minsb8, TCG_CALL_CONST | TCG_CALL_PURE, i64, i64, i64) |
25 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_2(minuw4, TCG_CALL_CONST | TCG_CALL_PURE, i64, i64, i64) |
26 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_2(minsw4, TCG_CALL_CONST | TCG_CALL_PURE, i64, i64, i64) |
27 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_2(maxub8, TCG_CALL_CONST | TCG_CALL_PURE, i64, i64, i64) |
28 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_2(maxsb8, TCG_CALL_CONST | TCG_CALL_PURE, i64, i64, i64) |
29 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_2(maxuw4, TCG_CALL_CONST | TCG_CALL_PURE, i64, i64, i64) |
30 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_2(maxsw4, TCG_CALL_CONST | TCG_CALL_PURE, i64, i64, i64) |
31 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_2(perr, TCG_CALL_CONST | TCG_CALL_PURE, i64, i64, i64) |
32 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_1(pklb, TCG_CALL_CONST | TCG_CALL_PURE, i64, i64) |
33 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_1(pkwb, TCG_CALL_CONST | TCG_CALL_PURE, i64, i64) |
34 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_1(unpkbl, TCG_CALL_CONST | TCG_CALL_PURE, i64, i64) |
35 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_1(unpkbw, TCG_CALL_CONST | TCG_CALL_PURE, i64, i64) |
36 | 0c287402 | Richard Henderson | |
37 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_0(load_fpcr, TCG_CALL_CONST | TCG_CALL_PURE, i64) |
38 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_1(store_fpcr, TCG_CALL_CONST, void, i64)
|
39 | 0c287402 | Richard Henderson | |
40 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_1(f_to_memory, TCG_CALL_CONST | TCG_CALL_PURE, i32, i64) |
41 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_1(memory_to_f, TCG_CALL_CONST | TCG_CALL_PURE, i64, i32) |
42 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_2(addf, TCG_CALL_CONST, i64, i64, i64) |
43 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_2(subf, TCG_CALL_CONST, i64, i64, i64) |
44 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_2(mulf, TCG_CALL_CONST, i64, i64, i64) |
45 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_2(divf, TCG_CALL_CONST, i64, i64, i64) |
46 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_1(sqrtf, TCG_CALL_CONST, i64, i64) |
47 | 0c287402 | Richard Henderson | |
48 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_1(g_to_memory, TCG_CALL_CONST | TCG_CALL_PURE, i64, i64) |
49 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_1(memory_to_g, TCG_CALL_CONST | TCG_CALL_PURE, i64, i64) |
50 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_2(addg, TCG_CALL_CONST, i64, i64, i64) |
51 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_2(subg, TCG_CALL_CONST, i64, i64, i64) |
52 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_2(mulg, TCG_CALL_CONST, i64, i64, i64) |
53 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_2(divg, TCG_CALL_CONST, i64, i64, i64) |
54 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_1(sqrtg, TCG_CALL_CONST, i64, i64) |
55 | 0c287402 | Richard Henderson | |
56 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_1(s_to_memory, TCG_CALL_CONST | TCG_CALL_PURE, i32, i64) |
57 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_1(memory_to_s, TCG_CALL_CONST | TCG_CALL_PURE, i64, i32) |
58 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_2(adds, TCG_CALL_CONST, i64, i64, i64) |
59 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_2(subs, TCG_CALL_CONST, i64, i64, i64) |
60 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_2(muls, TCG_CALL_CONST, i64, i64, i64) |
61 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_2(divs, TCG_CALL_CONST, i64, i64, i64) |
62 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_1(sqrts, TCG_CALL_CONST, i64, i64) |
63 | 0c287402 | Richard Henderson | |
64 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_2(addt, TCG_CALL_CONST, i64, i64, i64) |
65 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_2(subt, TCG_CALL_CONST, i64, i64, i64) |
66 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_2(mult, TCG_CALL_CONST, i64, i64, i64) |
67 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_2(divt, TCG_CALL_CONST, i64, i64, i64) |
68 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_1(sqrtt, TCG_CALL_CONST, i64, i64) |
69 | 0c287402 | Richard Henderson | |
70 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_2(cmptun, TCG_CALL_CONST | TCG_CALL_PURE, i64, i64, i64) |
71 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_2(cmpteq, TCG_CALL_CONST | TCG_CALL_PURE, i64, i64, i64) |
72 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_2(cmptle, TCG_CALL_CONST | TCG_CALL_PURE, i64, i64, i64) |
73 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_2(cmptlt, TCG_CALL_CONST | TCG_CALL_PURE, i64, i64, i64) |
74 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_2(cmpgeq, TCG_CALL_CONST | TCG_CALL_PURE, i64, i64, i64) |
75 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_2(cmpgle, TCG_CALL_CONST | TCG_CALL_PURE, i64, i64, i64) |
76 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_2(cmpglt, TCG_CALL_CONST | TCG_CALL_PURE, i64, i64, i64) |
77 | 0c287402 | Richard Henderson | |
78 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_1(cvtts, TCG_CALL_CONST, i64, i64) |
79 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_1(cvtst, TCG_CALL_CONST, i64, i64) |
80 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_1(cvtqs, TCG_CALL_CONST, i64, i64) |
81 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_1(cvtqt, TCG_CALL_CONST, i64, i64) |
82 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_1(cvtqf, TCG_CALL_CONST, i64, i64) |
83 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_1(cvtgf, TCG_CALL_CONST, i64, i64) |
84 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_1(cvtgq, TCG_CALL_CONST, i64, i64) |
85 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_1(cvtqg, TCG_CALL_CONST, i64, i64) |
86 | 0c287402 | Richard Henderson | |
87 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_1(cvttq, TCG_CALL_CONST, i64, i64) |
88 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_1(cvttq_c, TCG_CALL_CONST, i64, i64) |
89 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_1(cvttq_svic, TCG_CALL_CONST, i64, i64) |
90 | 0c287402 | Richard Henderson | |
91 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_1(setroundmode, TCG_CALL_CONST, void, i32)
|
92 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_1(setflushzero, TCG_CALL_CONST, void, i32)
|
93 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_0(fp_exc_clear, TCG_CALL_CONST, void)
|
94 | 0c287402 | Richard Henderson | DEF_HELPER_FLAGS_0(fp_exc_get, TCG_CALL_CONST | TCG_CALL_PURE, i32) |
95 | f24518b5 | Richard Henderson | DEF_HELPER_2(fp_exc_raise, void, i32, i32)
|
96 | f24518b5 | Richard Henderson | DEF_HELPER_2(fp_exc_raise_s, void, i32, i32)
|
97 | f24518b5 | Richard Henderson | |
98 | f24518b5 | Richard Henderson | DEF_HELPER_1(ieee_input, i64, i64) |
99 | f24518b5 | Richard Henderson | DEF_HELPER_1(ieee_input_cmp, i64, i64) |
100 | f24518b5 | Richard Henderson | DEF_HELPER_1(ieee_input_s, i64, i64) |
101 | f18cd223 | aurel32 | |
102 | 8bb6e981 | aurel32 | #if !defined (CONFIG_USER_ONLY)
|
103 | a7812ae4 | pbrook | DEF_HELPER_0(hw_rei, void)
|
104 | a7812ae4 | pbrook | DEF_HELPER_1(hw_ret, void, i64)
|
105 | a7812ae4 | pbrook | DEF_HELPER_2(mfpr, i64, int, i64)
|
106 | a7812ae4 | pbrook | DEF_HELPER_2(mtpr, void, int, i64) |
107 | a7812ae4 | pbrook | DEF_HELPER_0(set_alt_mode, void)
|
108 | a7812ae4 | pbrook | DEF_HELPER_0(restore_mode, void)
|
109 | a7812ae4 | pbrook | |
110 | a7812ae4 | pbrook | DEF_HELPER_1(ld_virt_to_phys, i64, i64) |
111 | a7812ae4 | pbrook | DEF_HELPER_1(st_virt_to_phys, i64, i64) |
112 | a7812ae4 | pbrook | DEF_HELPER_2(ldl_raw, void, i64, i64)
|
113 | a7812ae4 | pbrook | DEF_HELPER_2(ldq_raw, void, i64, i64)
|
114 | a7812ae4 | pbrook | DEF_HELPER_2(ldl_l_raw, void, i64, i64)
|
115 | a7812ae4 | pbrook | DEF_HELPER_2(ldq_l_raw, void, i64, i64)
|
116 | a7812ae4 | pbrook | DEF_HELPER_2(ldl_kernel, void, i64, i64)
|
117 | a7812ae4 | pbrook | DEF_HELPER_2(ldq_kernel, void, i64, i64)
|
118 | a7812ae4 | pbrook | DEF_HELPER_2(ldl_data, void, i64, i64)
|
119 | a7812ae4 | pbrook | DEF_HELPER_2(ldq_data, void, i64, i64)
|
120 | a7812ae4 | pbrook | DEF_HELPER_2(stl_raw, void, i64, i64)
|
121 | a7812ae4 | pbrook | DEF_HELPER_2(stq_raw, void, i64, i64)
|
122 | a7812ae4 | pbrook | DEF_HELPER_2(stl_c_raw, i64, i64, i64) |
123 | a7812ae4 | pbrook | DEF_HELPER_2(stq_c_raw, i64, i64, i64) |
124 | 8bb6e981 | aurel32 | #endif
|
125 | a7812ae4 | pbrook | |
126 | a7812ae4 | pbrook | #include "def-helper.h" |