]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
JIT signed changes, added a declaration
authorFrode Solheim <frode@fs-uae.net>
Mon, 7 Sep 2015 19:19:20 +0000 (21:19 +0200)
committerFrode Solheim <frode@fs-uae.net>
Thu, 17 Sep 2015 17:18:09 +0000 (19:18 +0200)
jit/compemu.h
jit/compemu_midfunc_x86.h
jit/compemu_support.cpp

index faa4d19293314fe9c00619fe1d14af1e2cacbd70..dfc62517e717cc15e83cb36ac5db8936f04698db 100644 (file)
@@ -201,7 +201,7 @@ typedef struct {
   uae_u32 val;
   uae_u8 is_swapped;
   uae_u8 status;
-  uae_u8 realreg;
+  uae_s8 realreg; /* gb-- realreg can hold -1 */
   uae_u8 realind; /* The index in the holds[] array */
   uae_u8 needflush;
   uae_u8 validsize;
@@ -213,7 +213,7 @@ typedef struct {
   uae_u32* mem;
   double val;
   uae_u8 status;
-  uae_u8 realreg;
+  uae_s8 realreg; /* gb-- realreg can hold -1 */
   uae_u8 realind;
   uae_u8 needflush;
 } freg_status;
@@ -292,7 +292,7 @@ typedef struct {
 extern int touchcnt;
 
 
-#define IMM uae_u32
+#define IMM  uae_s32
 #define RR1  uae_u32
 #define RR2  uae_u32
 #define RR4  uae_u32
index d3bda8a7a702501e8f6cb9a3833d7e4c4e85408d..ad138e5b915df776726d6e8b1cd2adaa24be7bc0 100644 (file)
@@ -96,6 +96,7 @@ DECLARE_MIDFUNC(zero_extend_16_rr(W4 d, RR2 s));
 DECLARE_MIDFUNC(zero_extend_8_rr(W4 d, RR1 s));
 DECLARE_MIDFUNC(imul_64_32(RW4 d, RW4 s));
 DECLARE_MIDFUNC(mul_64_32(RW4 d, RW4 s));
+DECLARE_MIDFUNC(simulate_bsf(W4 tmp, RW4 s));
 DECLARE_MIDFUNC(imul_32_32(RW4 d, RR4 s));
 DECLARE_MIDFUNC(mul_32_32(RW4 d, RR4 s));
 DECLARE_MIDFUNC(mov_b_rr(W1 d, RR1 s));
index 4e7fa3b72aeb17af1c6ab8c31da251ab7e2b9efe..3b8cf90dd64b2d9688ca292c44074fee7b69b6ae 100644 (file)
@@ -1188,7 +1188,6 @@ static uae_s8 nstate[N_REGS];
 #define L_NEEDED -2
 #define L_UNNEEDED -3
 
-#if USE_MATCH
 static inline void big_to_small_state(bigstate * /* b */, smallstate * s)
 {
   int i;
@@ -1221,7 +1220,6 @@ static inline int callers_need_recompile(bigstate * /* b */, smallstate * s)
                                 * callers */
   return 0;
 }
-#endif
 
 static inline void log_startblock(void)
 {