1 |
dpavlin |
1 |
/* |
2 |
|
|
* PearPC |
3 |
|
|
* ppc_alu.h |
4 |
|
|
* |
5 |
|
|
* Copyright (C) 2003, 2004 Sebastian Biallas (sb@biallas.net) |
6 |
|
|
* |
7 |
|
|
* This program is free software; you can redistribute it and/or modify |
8 |
|
|
* it under the terms of the GNU General Public License version 2 as |
9 |
|
|
* published by the Free Software Foundation. |
10 |
|
|
* |
11 |
|
|
* This program is distributed in the hope that it will be useful, |
12 |
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 |
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 |
|
|
* GNU General Public License for more details. |
15 |
|
|
* |
16 |
|
|
* You should have received a copy of the GNU General Public License |
17 |
|
|
* along with this program; if not, write to the Free Software |
18 |
|
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
19 |
|
|
*/ |
20 |
|
|
|
21 |
|
|
#ifndef __PPC_ALU_H__ |
22 |
|
|
#define __PPC_ALU_H__ |
23 |
|
|
|
24 |
|
|
#include "jitc_types.h" |
25 |
|
|
|
26 |
|
|
void ppc_opc_addx(); |
27 |
|
|
void ppc_opc_addcx(); |
28 |
|
|
void ppc_opc_addex(); |
29 |
|
|
void ppc_opc_addi(); |
30 |
|
|
void ppc_opc_addic(); |
31 |
|
|
void ppc_opc_addic_(); |
32 |
|
|
void ppc_opc_addis(); |
33 |
|
|
void ppc_opc_addmex(); |
34 |
|
|
void ppc_opc_addzex(); |
35 |
|
|
|
36 |
|
|
void ppc_opc_andx(); |
37 |
|
|
void ppc_opc_andcx(); |
38 |
|
|
void ppc_opc_andi_(); |
39 |
|
|
void ppc_opc_andis_(); |
40 |
|
|
|
41 |
|
|
void ppc_opc_cmp(); |
42 |
|
|
void ppc_opc_cmpi(); |
43 |
|
|
void ppc_opc_cmpl(); |
44 |
|
|
void ppc_opc_cmpli(); |
45 |
|
|
|
46 |
|
|
void ppc_opc_cntlzwx(); |
47 |
|
|
|
48 |
|
|
void ppc_opc_crand(); |
49 |
|
|
void ppc_opc_crandc(); |
50 |
|
|
void ppc_opc_creqv(); |
51 |
|
|
void ppc_opc_crnand(); |
52 |
|
|
void ppc_opc_crnor(); |
53 |
|
|
void ppc_opc_cror(); |
54 |
|
|
void ppc_opc_crorc(); |
55 |
|
|
void ppc_opc_crxor(); |
56 |
|
|
|
57 |
|
|
void ppc_opc_divwx(); |
58 |
|
|
void ppc_opc_divwux(); |
59 |
|
|
|
60 |
|
|
void ppc_opc_eqvx(); |
61 |
|
|
|
62 |
|
|
void ppc_opc_extsbx(); |
63 |
|
|
void ppc_opc_extshx(); |
64 |
|
|
|
65 |
|
|
void ppc_opc_mulhwx(); |
66 |
|
|
void ppc_opc_mulhwux(); |
67 |
|
|
void ppc_opc_mulli(); |
68 |
|
|
void ppc_opc_mullwx(); |
69 |
|
|
|
70 |
|
|
void ppc_opc_nandx(); |
71 |
|
|
|
72 |
|
|
void ppc_opc_negx(); |
73 |
|
|
void ppc_opc_norx(); |
74 |
|
|
|
75 |
|
|
void ppc_opc_orx(); |
76 |
|
|
void ppc_opc_orcx(); |
77 |
|
|
void ppc_opc_ori(); |
78 |
|
|
void ppc_opc_oris(); |
79 |
|
|
|
80 |
|
|
void ppc_opc_rlwimix(); |
81 |
|
|
void ppc_opc_rlwinmx(); |
82 |
|
|
void ppc_opc_rlwnmx(); |
83 |
|
|
|
84 |
|
|
void ppc_opc_slwx(); |
85 |
|
|
void ppc_opc_srawx(); |
86 |
|
|
void ppc_opc_srawix(); |
87 |
|
|
void ppc_opc_srwx(); |
88 |
|
|
|
89 |
|
|
void ppc_opc_subfx(); |
90 |
|
|
void ppc_opc_subfcx(); |
91 |
|
|
void ppc_opc_subfex(); |
92 |
|
|
void ppc_opc_subfic(); |
93 |
|
|
void ppc_opc_subfmex(); |
94 |
|
|
void ppc_opc_subfzex(); |
95 |
|
|
|
96 |
|
|
void ppc_opc_xorx(); |
97 |
|
|
void ppc_opc_xori(); |
98 |
|
|
void ppc_opc_xoris(); |
99 |
|
|
|
100 |
|
|
JITCFlow ppc_opc_gen_addx(); |
101 |
|
|
JITCFlow ppc_opc_gen_addcx(); |
102 |
|
|
JITCFlow ppc_opc_gen_addex(); |
103 |
|
|
JITCFlow ppc_opc_gen_addi(); |
104 |
|
|
JITCFlow ppc_opc_gen_addic(); |
105 |
|
|
JITCFlow ppc_opc_gen_addic_(); |
106 |
|
|
JITCFlow ppc_opc_gen_addis(); |
107 |
|
|
JITCFlow ppc_opc_gen_addmex(); |
108 |
|
|
JITCFlow ppc_opc_gen_addzex(); |
109 |
|
|
|
110 |
|
|
JITCFlow ppc_opc_gen_andx(); |
111 |
|
|
JITCFlow ppc_opc_gen_andcx(); |
112 |
|
|
JITCFlow ppc_opc_gen_andi_(); |
113 |
|
|
JITCFlow ppc_opc_gen_andis_(); |
114 |
|
|
|
115 |
|
|
JITCFlow ppc_opc_gen_cmp(); |
116 |
|
|
JITCFlow ppc_opc_gen_cmpi(); |
117 |
|
|
JITCFlow ppc_opc_gen_cmpl(); |
118 |
|
|
JITCFlow ppc_opc_gen_cmpli(); |
119 |
|
|
|
120 |
|
|
JITCFlow ppc_opc_gen_cntlzwx(); |
121 |
|
|
|
122 |
|
|
JITCFlow ppc_opc_gen_crand(); |
123 |
|
|
JITCFlow ppc_opc_gen_crandc(); |
124 |
|
|
JITCFlow ppc_opc_gen_creqv(); |
125 |
|
|
JITCFlow ppc_opc_gen_crnand(); |
126 |
|
|
JITCFlow ppc_opc_gen_crnor(); |
127 |
|
|
JITCFlow ppc_opc_gen_cror(); |
128 |
|
|
JITCFlow ppc_opc_gen_crorc(); |
129 |
|
|
JITCFlow ppc_opc_gen_crxor(); |
130 |
|
|
|
131 |
|
|
JITCFlow ppc_opc_gen_divwx(); |
132 |
|
|
JITCFlow ppc_opc_gen_divwux(); |
133 |
|
|
|
134 |
|
|
JITCFlow ppc_opc_gen_eqvx(); |
135 |
|
|
|
136 |
|
|
JITCFlow ppc_opc_gen_extsbx(); |
137 |
|
|
JITCFlow ppc_opc_gen_extshx(); |
138 |
|
|
|
139 |
|
|
JITCFlow ppc_opc_gen_mulhwx(); |
140 |
|
|
JITCFlow ppc_opc_gen_mulhwux(); |
141 |
|
|
JITCFlow ppc_opc_gen_mulli(); |
142 |
|
|
JITCFlow ppc_opc_gen_mullwx(); |
143 |
|
|
|
144 |
|
|
JITCFlow ppc_opc_gen_nandx(); |
145 |
|
|
|
146 |
|
|
JITCFlow ppc_opc_gen_negx(); |
147 |
|
|
JITCFlow ppc_opc_gen_norx(); |
148 |
|
|
|
149 |
|
|
JITCFlow ppc_opc_gen_orx(); |
150 |
|
|
JITCFlow ppc_opc_gen_orcx(); |
151 |
|
|
JITCFlow ppc_opc_gen_ori(); |
152 |
|
|
JITCFlow ppc_opc_gen_oris(); |
153 |
|
|
|
154 |
|
|
JITCFlow ppc_opc_gen_rlwimix(); |
155 |
|
|
JITCFlow ppc_opc_gen_rlwinmx(); |
156 |
|
|
JITCFlow ppc_opc_gen_rlwnmx(); |
157 |
|
|
|
158 |
|
|
JITCFlow ppc_opc_gen_slwx(); |
159 |
|
|
JITCFlow ppc_opc_gen_srawx(); |
160 |
|
|
JITCFlow ppc_opc_gen_srawix(); |
161 |
|
|
JITCFlow ppc_opc_gen_srwx(); |
162 |
|
|
|
163 |
|
|
JITCFlow ppc_opc_gen_subfx(); |
164 |
|
|
JITCFlow ppc_opc_gen_subfcx(); |
165 |
|
|
JITCFlow ppc_opc_gen_subfex(); |
166 |
|
|
JITCFlow ppc_opc_gen_subfic(); |
167 |
|
|
JITCFlow ppc_opc_gen_subfmex(); |
168 |
|
|
JITCFlow ppc_opc_gen_subfzex(); |
169 |
|
|
|
170 |
|
|
JITCFlow ppc_opc_gen_xorx(); |
171 |
|
|
JITCFlow ppc_opc_gen_xori(); |
172 |
|
|
JITCFlow ppc_opc_gen_xoris(); |
173 |
|
|
|
174 |
|
|
#endif |