/[pcsx2_0.9.7]/trunk/pcsx2/x86/microVU_IR.h
ViewVC logotype

Diff of /trunk/pcsx2/x86/microVU_IR.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/pcsx2/x86/microVU_IR.h	2010/12/23 11:48:33	279
+++ trunk/pcsx2/x86/microVU_IR.h	2010/12/23 12:02:12	280
@@ -62,10 +62,18 @@
 
 C_ASSERT(sizeof(microRegInfo) == 160);
 
+struct microProgram;
+struct microJumpCache {
+	microJumpCache() : prog(NULL), x86ptrStart(NULL) {}
+	microProgram* prog;	// Program to which the entry point below is part of
+	void* x86ptrStart;	// Start of code (Entry point for block)
+};
+
 struct __aligned16 microBlock {
-	microRegInfo pState;	// Detailed State of Pipeline
-	microRegInfo pStateEnd; // Detailed State of Pipeline at End of Block (needed by JR/JALR opcodes)
-	u8* x86ptrStart;		// Start of code
+	microRegInfo	pState;		 // Detailed State of Pipeline
+	microRegInfo	pStateEnd;	 // Detailed State of Pipeline at End of Block (needed by JR/JALR opcodes)
+	u8*				x86ptrStart; // Start of code (Entry point for block)
+	microJumpCache* jumpCache;	 // Will point to an array of entry points of size [16k/8] if block ends in JR/JALR
 };
 
 struct microTempRegInfo {

 

  ViewVC Help
Powered by ViewVC 1.1.22