mirror of https://github.com/PCSX2/pcsx2.git
microVU: fixed up microVU so that it compiles in Linux if the appropriate defines are uncommented, and runs surrealistically.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1187 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
fde4685f77
commit
c67bfbe648
|
@ -12,17 +12,17 @@ BaseblockEx.cpp iCOP0.cpp iCOP2.cpp iCore.cpp iFPU.cpp iFPUd.cpp iMMI.cpp iPsxMe
|
||||||
iR5900Misc.cpp iVU0micro.cpp iVU1micro.cpp iVUmicro.cpp iVUmicroLower.cpp iVUmicroUpper.cpp iVUzerorec.cpp iVif.cpp \
|
iR5900Misc.cpp iVU0micro.cpp iVU1micro.cpp iVUmicro.cpp iVUmicroLower.cpp iVUmicroUpper.cpp iVUzerorec.cpp iVif.cpp \
|
||||||
ir5900tables.cpp fast_routines.S aR3000A.S aVUzerorec.S aVif.S $(archfiles)
|
ir5900tables.cpp fast_routines.S aR3000A.S aVUzerorec.S aVif.S $(archfiles)
|
||||||
|
|
||||||
#ifdef PCSX2_MICROVU
|
|
||||||
#libx86recomp_a_SOURCES += \
|
|
||||||
#microVU.cpp microVU_Misc.inl microVU_Log.inl microVU_Analyze.inl microVU_Alloc.inl microVU_Upper.inl microVU_Lower.inl \
|
|
||||||
#microVU_Tables.inl microVU_Flags.inl microVU_Compile.inl microVU_Execute.inl \
|
|
||||||
#microVU.h microVU_Alloc.h microVU_Misc.h
|
|
||||||
#endif
|
|
||||||
|
|
||||||
libx86recomp_a_SOURCES += \
|
libx86recomp_a_SOURCES += \
|
||||||
BaseblockEx.h iCOP0.h iCore.h iFPU.h iMMI.h iR3000A.h iR5900.h iR5900Arit.h iR5900AritImm.h iR5900Branch.h iR5900Jump.h \
|
BaseblockEx.h iCOP0.h iCore.h iFPU.h iMMI.h iR3000A.h iR5900.h iR5900Arit.h iR5900AritImm.h iR5900Branch.h iR5900Jump.h \
|
||||||
iR5900LoadStore.h iR5900Move.h iR5900MultDiv.h iR5900Shift.h iVUmicro.h iVUops.h iVUzerorec.h
|
iR5900LoadStore.h iR5900Move.h iR5900MultDiv.h iR5900Shift.h iVUmicro.h iVUops.h iVUzerorec.h
|
||||||
|
|
||||||
|
# Only active if PCSX2_MICROVU is defined.
|
||||||
|
libx86recomp_a_SOURCES += \
|
||||||
|
microVU.cpp microVU_Misc.inl microVU_Log.inl microVU_Analyze.inl microVU_Alloc.inl microVU_Upper.inl microVU_Lower.inl \
|
||||||
|
microVU_Tables.inl microVU_Flags.inl microVU_Compile.inl microVU_Execute.inl \
|
||||||
|
microVU.h microVU_Alloc.h microVU_Misc.h
|
||||||
|
|
||||||
|
|
||||||
libx86recomp_a_DEPENDENCIES = ix86/libix86.a
|
libx86recomp_a_DEPENDENCIES = ix86/libix86.a
|
||||||
|
|
||||||
SUBDIRS = ix86
|
SUBDIRS = ix86
|
|
@ -139,10 +139,18 @@ microVUt(void) mVUreset();
|
||||||
microVUt(void) mVUclose();
|
microVUt(void) mVUclose();
|
||||||
microVUt(void) mVUclear(u32, u32);
|
microVUt(void) mVUclear(u32, u32);
|
||||||
|
|
||||||
|
// Prototypes for Linux.
|
||||||
|
void __fastcall mVUcleanUpVU0();
|
||||||
|
void __fastcall mVUcleanUpVU1();
|
||||||
|
void* __fastcall mVUcompileVU0(u32 startPC, uptr pState);
|
||||||
|
void* __fastcall mVUcompileVU1(u32 startPC, uptr pState);
|
||||||
|
microVUf(void) mVUopU();
|
||||||
|
microVUf(void) mVUopL();
|
||||||
|
|
||||||
// Private Functions
|
// Private Functions
|
||||||
microVUt(void) mVUclearProg(microVU* mVU, int progIndex);
|
microVUt(void) mVUclearProg(microVU* mVU, int progIndex);
|
||||||
microVUt(int) mVUfindLeastUsedProg(microVU* mVU);
|
microVUt(int) mVUfindLeastUsedProg(microVU* mVU);
|
||||||
microVUt(int) mVUsearchProg(microVU* mVU);
|
microVUt(int) mVUsearchProg(/*microVU* mVU*/);
|
||||||
microVUt(void) mVUcacheProg(microVU* mVU, int progIndex);
|
microVUt(void) mVUcacheProg(microVU* mVU, int progIndex);
|
||||||
void* __fastcall mVUexecuteVU0(u32 startPC, u32 cycles);
|
void* __fastcall mVUexecuteVU0(u32 startPC, u32 cycles);
|
||||||
void* __fastcall mVUexecuteVU1(u32 startPC, u32 cycles);
|
void* __fastcall mVUexecuteVU1(u32 startPC, u32 cycles);
|
||||||
|
|
Loading…
Reference in New Issue