Statistics
| Branch: | Revision:

root / target-ppc / helper.h @ 6a6ae23f

History | View | Annotate | Download (4.2 kB)

1 a7812ae4 pbrook
#include "def-helper.h"
2 f10dc08e aurel32
3 64adab3f aurel32
DEF_HELPER_2(raise_exception_err, void, i32, i32)
4 64adab3f aurel32
DEF_HELPER_0(raise_debug, void)
5 cab3bee2 aurel32
DEF_HELPER_3(tw, void, tl, tl, i32)
6 cab3bee2 aurel32
#if defined(TARGET_PPC64)
7 cab3bee2 aurel32
DEF_HELPER_3(td, void, tl, tl, i32)
8 cab3bee2 aurel32
#endif
9 64adab3f aurel32
10 af12906f aurel32
DEF_HELPER_2(fcmpo, i32, i64, i64)
11 af12906f aurel32
DEF_HELPER_2(fcmpu, i32, i64, i64)
12 e1571908 aurel32
13 a7812ae4 pbrook
DEF_HELPER_0(load_cr, tl)
14 a7812ae4 pbrook
DEF_HELPER_2(store_cr, void, tl, i32)
15 26d67362 aurel32
16 74637406 aurel32
#if defined(TARGET_PPC64)
17 a7812ae4 pbrook
DEF_HELPER_2(mulhd, i64, i64, i64)
18 a7812ae4 pbrook
DEF_HELPER_2(mulhdu, i64, i64, i64)
19 a7812ae4 pbrook
DEF_HELPER_2(mulldo, i64, i64, i64)
20 74637406 aurel32
#endif
21 74637406 aurel32
22 a7812ae4 pbrook
DEF_HELPER_1(cntlzw, tl, tl)
23 a7812ae4 pbrook
DEF_HELPER_1(popcntb, tl, tl)
24 a7812ae4 pbrook
DEF_HELPER_2(sraw, tl, tl, tl)
25 26d67362 aurel32
#if defined(TARGET_PPC64)
26 a7812ae4 pbrook
DEF_HELPER_1(cntlzd, tl, tl)
27 a7812ae4 pbrook
DEF_HELPER_1(popcntb_64, tl, tl)
28 a7812ae4 pbrook
DEF_HELPER_2(srad, tl, tl, tl)
29 26d67362 aurel32
#endif
30 26d67362 aurel32
31 a7812ae4 pbrook
DEF_HELPER_1(cntlsw32, i32, i32)
32 a7812ae4 pbrook
DEF_HELPER_1(cntlzw32, i32, i32)
33 a7812ae4 pbrook
DEF_HELPER_2(brinc, tl, tl, tl)
34 a7812ae4 pbrook
35 af12906f aurel32
DEF_HELPER_0(float_check_status, void)
36 af12906f aurel32
#ifdef CONFIG_SOFTFLOAT
37 af12906f aurel32
DEF_HELPER_0(reset_fpstatus, void)
38 af12906f aurel32
#endif
39 af12906f aurel32
DEF_HELPER_2(compute_fprf, i32, i64, i32)
40 af12906f aurel32
DEF_HELPER_2(store_fpscr, void, i64, i32)
41 af12906f aurel32
DEF_HELPER_1(fpscr_setbit, void, i32)
42 a0d7d5a7 aurel32
DEF_HELPER_1(float64_to_float32, i32, i64)
43 a0d7d5a7 aurel32
DEF_HELPER_1(float32_to_float64, i64, i32)
44 af12906f aurel32
45 af12906f aurel32
DEF_HELPER_1(fctiw, i64, i64)
46 af12906f aurel32
DEF_HELPER_1(fctiwz, i64, i64)
47 af12906f aurel32
#if defined(TARGET_PPC64)
48 af12906f aurel32
DEF_HELPER_1(fcfid, i64, i64)
49 af12906f aurel32
DEF_HELPER_1(fctid, i64, i64)
50 af12906f aurel32
DEF_HELPER_1(fctidz, i64, i64)
51 af12906f aurel32
#endif
52 af12906f aurel32
DEF_HELPER_1(frsp, i64, i64)
53 af12906f aurel32
DEF_HELPER_1(frin, i64, i64)
54 af12906f aurel32
DEF_HELPER_1(friz, i64, i64)
55 af12906f aurel32
DEF_HELPER_1(frip, i64, i64)
56 af12906f aurel32
DEF_HELPER_1(frim, i64, i64)
57 af12906f aurel32
58 af12906f aurel32
DEF_HELPER_2(fadd, i64, i64, i64)
59 af12906f aurel32
DEF_HELPER_2(fsub, i64, i64, i64)
60 af12906f aurel32
DEF_HELPER_2(fmul, i64, i64, i64)
61 af12906f aurel32
DEF_HELPER_2(fdiv, i64, i64, i64)
62 af12906f aurel32
DEF_HELPER_3(fmadd, i64, i64, i64, i64)
63 af12906f aurel32
DEF_HELPER_3(fmsub, i64, i64, i64, i64)
64 af12906f aurel32
DEF_HELPER_3(fnmadd, i64, i64, i64, i64)
65 af12906f aurel32
DEF_HELPER_3(fnmsub, i64, i64, i64, i64)
66 af12906f aurel32
DEF_HELPER_1(fabs, i64, i64)
67 af12906f aurel32
DEF_HELPER_1(fnabs, i64, i64)
68 af12906f aurel32
DEF_HELPER_1(fneg, i64, i64)
69 1c97856d aurel32
DEF_HELPER_1(fsqrt, i64, i64)
70 1c97856d aurel32
DEF_HELPER_1(fre, i64, i64)
71 1c97856d aurel32
DEF_HELPER_1(fres, i64, i64)
72 1c97856d aurel32
DEF_HELPER_1(frsqrte, i64, i64)
73 af12906f aurel32
DEF_HELPER_3(fsel, i64, i64, i64, i64)
74 af12906f aurel32
75 1c97856d aurel32
DEF_HELPER_1(efscfsi, i32, i32)
76 1c97856d aurel32
DEF_HELPER_1(efscfui, i32, i32)
77 1c97856d aurel32
DEF_HELPER_1(efscfuf, i32, i32)
78 1c97856d aurel32
DEF_HELPER_1(efscfsf, i32, i32)
79 1c97856d aurel32
DEF_HELPER_1(efsctsi, i32, i32)
80 1c97856d aurel32
DEF_HELPER_1(efsctui, i32, i32)
81 1c97856d aurel32
DEF_HELPER_1(efsctsiz, i32, i32)
82 1c97856d aurel32
DEF_HELPER_1(efsctuiz, i32, i32)
83 1c97856d aurel32
DEF_HELPER_1(efsctsf, i32, i32)
84 1c97856d aurel32
DEF_HELPER_1(efsctuf, i32, i32)
85 1c97856d aurel32
DEF_HELPER_1(evfscfsi, i64, i64)
86 1c97856d aurel32
DEF_HELPER_1(evfscfui, i64, i64)
87 1c97856d aurel32
DEF_HELPER_1(evfscfuf, i64, i64)
88 1c97856d aurel32
DEF_HELPER_1(evfscfsf, i64, i64)
89 1c97856d aurel32
DEF_HELPER_1(evfsctsi, i64, i64)
90 1c97856d aurel32
DEF_HELPER_1(evfsctui, i64, i64)
91 1c97856d aurel32
DEF_HELPER_1(evfsctsiz, i64, i64)
92 1c97856d aurel32
DEF_HELPER_1(evfsctuiz, i64, i64)
93 1c97856d aurel32
DEF_HELPER_1(evfsctsf, i64, i64)
94 1c97856d aurel32
DEF_HELPER_1(evfsctuf, i64, i64)
95 1c97856d aurel32
DEF_HELPER_2(efsadd, i32, i32, i32)
96 1c97856d aurel32
DEF_HELPER_2(efssub, i32, i32, i32)
97 1c97856d aurel32
DEF_HELPER_2(efsmul, i32, i32, i32)
98 1c97856d aurel32
DEF_HELPER_2(efsdiv, i32, i32, i32)
99 1c97856d aurel32
DEF_HELPER_2(evfsadd, i64, i64, i64)
100 1c97856d aurel32
DEF_HELPER_2(evfssub, i64, i64, i64)
101 1c97856d aurel32
DEF_HELPER_2(evfsmul, i64, i64, i64)
102 1c97856d aurel32
DEF_HELPER_2(evfsdiv, i64, i64, i64)
103 1c97856d aurel32
DEF_HELPER_2(efststlt, i32, i32, i32)
104 1c97856d aurel32
DEF_HELPER_2(efststgt, i32, i32, i32)
105 1c97856d aurel32
DEF_HELPER_2(efststeq, i32, i32, i32)
106 1c97856d aurel32
DEF_HELPER_2(efscmplt, i32, i32, i32)
107 1c97856d aurel32
DEF_HELPER_2(efscmpgt, i32, i32, i32)
108 1c97856d aurel32
DEF_HELPER_2(efscmpeq, i32, i32, i32)
109 1c97856d aurel32
DEF_HELPER_2(evfststlt, i32, i64, i64)
110 1c97856d aurel32
DEF_HELPER_2(evfststgt, i32, i64, i64)
111 1c97856d aurel32
DEF_HELPER_2(evfststeq, i32, i64, i64)
112 1c97856d aurel32
DEF_HELPER_2(evfscmplt, i32, i64, i64)
113 1c97856d aurel32
DEF_HELPER_2(evfscmpgt, i32, i64, i64)
114 1c97856d aurel32
DEF_HELPER_2(evfscmpeq, i32, i64, i64)
115 1c97856d aurel32
DEF_HELPER_1(efdcfsi, i64, i32)
116 1c97856d aurel32
DEF_HELPER_1(efdcfsid, i64, i64)
117 1c97856d aurel32
DEF_HELPER_1(efdcfui, i64, i32)
118 1c97856d aurel32
DEF_HELPER_1(efdcfuid, i64, i64)
119 1c97856d aurel32
DEF_HELPER_1(efdctsi, i32, i64)
120 1c97856d aurel32
DEF_HELPER_1(efdctui, i32, i64)
121 1c97856d aurel32
DEF_HELPER_1(efdctsiz, i32, i64)
122 1c97856d aurel32
DEF_HELPER_1(efdctsidz, i64, i64)
123 1c97856d aurel32
DEF_HELPER_1(efdctuiz, i32, i64)
124 1c97856d aurel32
DEF_HELPER_1(efdctuidz, i64, i64)
125 1c97856d aurel32
DEF_HELPER_1(efdcfsf, i64, i32)
126 1c97856d aurel32
DEF_HELPER_1(efdcfuf, i64, i32)
127 1c97856d aurel32
DEF_HELPER_1(efdctsf, i32, i64)
128 1c97856d aurel32
DEF_HELPER_1(efdctuf, i32, i64)
129 1c97856d aurel32
DEF_HELPER_1(efscfd, i32, i64)
130 1c97856d aurel32
DEF_HELPER_1(efdcfs, i64, i32)
131 1c97856d aurel32
DEF_HELPER_2(efdadd, i64, i64, i64)
132 1c97856d aurel32
DEF_HELPER_2(efdsub, i64, i64, i64)
133 1c97856d aurel32
DEF_HELPER_2(efdmul, i64, i64, i64)
134 1c97856d aurel32
DEF_HELPER_2(efddiv, i64, i64, i64)
135 1c97856d aurel32
DEF_HELPER_2(efdtstlt, i32, i64, i64)
136 1c97856d aurel32
DEF_HELPER_2(efdtstgt, i32, i64, i64)
137 1c97856d aurel32
DEF_HELPER_2(efdtsteq, i32, i64, i64)
138 1c97856d aurel32
DEF_HELPER_2(efdcmplt, i32, i64, i64)
139 1c97856d aurel32
DEF_HELPER_2(efdcmpgt, i32, i64, i64)
140 1c97856d aurel32
DEF_HELPER_2(efdcmpeq, i32, i64, i64)
141 1c97856d aurel32
142 a7812ae4 pbrook
#include "def-helper.h"