1 // Copyright (c) 2012- PPSSPP Project.
2 
3 // This program is free software: you can redistribute it and/or modify
4 // it under the terms of the GNU General Public License as published by
5 // the Free Software Foundation, version 2.0 or later versions.
6 
7 // This program is distributed in the hope that it will be useful,
8 // but WITHOUT ANY WARRANTY; without even the implied warranty of
9 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10 // GNU General Public License 2.0 for more details.
11 
12 // A copy of the GPL 2.0 should have been included with the program.
13 // If not, see http://www.gnu.org/licenses/
14 
15 // Official git repository and contact information can be found at
16 // https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
17 
18 #pragma once
19 
20 #include "Common/CommonTypes.h"
21 
22 extern u32 disPC;
23 
24 namespace MIPSDis
25 {
26 	void Dis_Mftv(MIPSOpcode op, char *out);
27 	void Dis_Vmfvc(MIPSOpcode op, char *out);
28 	void Dis_Vmtvc(MIPSOpcode op, char *out);
29 
30 	void Dis_SV(MIPSOpcode op, char *out);
31 	void Dis_SVQ(MIPSOpcode op, char *out);
32 	void Dis_SVLRQ(MIPSOpcode op, char *out);
33 
34 	void Dis_MatrixSet1(MIPSOpcode op, char *out);
35 	void Dis_MatrixSet2(MIPSOpcode op, char *out);
36 	void Dis_MatrixSet3(MIPSOpcode op, char *out);
37 	void Dis_MatrixMult(MIPSOpcode op, char *out);
38 	void Dis_Vmscl(MIPSOpcode op, char *out);
39 
40 	void Dis_VectorDot(MIPSOpcode op, char *out);
41 	void Dis_Vfad(MIPSOpcode op, char *out);
42 	void Dis_VectorSet1(MIPSOpcode op, char *out);
43 	void Dis_VectorSet2(MIPSOpcode op, char *out);
44 	void Dis_VectorSet3(MIPSOpcode op, char *out);
45 	void Dis_VRot(MIPSOpcode op, char *out);
46 	void Dis_VScl(MIPSOpcode op, char *out);
47 
48 	void Dis_VPFXST(MIPSOpcode op, char *out);
49 	void Dis_VPFXD(MIPSOpcode op, char *out);
50 	void Dis_Vcrs(MIPSOpcode op, char *out);
51 	void Dis_Viim(MIPSOpcode op, char *out);
52 	void Dis_Vcst(MIPSOpcode op, char *out);
53 	void Dis_CrossQuat(MIPSOpcode op, char *out);
54 	void Dis_Vtfm(MIPSOpcode op, char *out);
55 	void Dis_Vcmp(MIPSOpcode op, char *out);
56 	void Dis_Vcmov(MIPSOpcode op, char *out);
57 	void Dis_Vflush(MIPSOpcode op, char *out);
58 	void Dis_Vbfy(MIPSOpcode op, char *out);
59 	void Dis_Vf2i(MIPSOpcode op, char *out);
60 	void Dis_Vi2x(MIPSOpcode op, char *out);
61 	void Dis_Vs2i(MIPSOpcode op, char *out);
62 	void Dis_Vwbn(MIPSOpcode op, char *out);
63 	void Dis_Vf2h(MIPSOpcode op, char *out);
64 	void Dis_Vh2f(MIPSOpcode op, char *out);
65 	void Dis_Vrnds(MIPSOpcode op, char *out);
66 	void Dis_VrndX(MIPSOpcode op, char *out);
67 	void Dis_ColorConv(MIPSOpcode op, char *out);
68 
69 	void Dis_VBranch(MIPSOpcode op, char *out);
70 }
71