From: Frode Solheim Date: Sun, 6 Sep 2015 20:52:06 +0000 (+0200) Subject: JIT: remove USE_ALIAS define X-Git-Tag: 3200~79^2~1 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=f3c09db64ba3dd8ee24b5780186fa558c228a8d7;p=francis%2Fwinuae.git JIT: remove USE_ALIAS define --- diff --git a/jit/compemu.h b/jit/compemu.h index 7eb78070..43d143cd 100644 --- a/jit/compemu.h +++ b/jit/compemu.h @@ -79,7 +79,6 @@ union cacheline { #error implementation in progress #endif -#define USE_ALIAS 1 #define USE_F_ALIAS 1 #define USE_SOFT_FLUSH 1 #define USE_OFFSET 1 diff --git a/jit/compemu_midfunc_x86.cpp b/jit/compemu_midfunc_x86.cpp index 094c11b3..d4fd2a7a 100644 --- a/jit/compemu_midfunc_x86.cpp +++ b/jit/compemu_midfunc_x86.cpp @@ -1655,7 +1655,6 @@ MIDFUNC(2,mov_l_rr,(W4 d, RR4 s)) COMPCALL(mov_l_ri)(d,live.state[s].val); return; } -#if USE_ALIAS olds=s; disassociate(d); s=readreg_offset(s,4); @@ -1671,15 +1670,6 @@ MIDFUNC(2,mov_l_rr,(W4 d, RR4 s)) log_clobberreg(d); jit_log2("Added %d to nreg %d(%d), now holds %d regs", d,s,live.state[d].realind,live.nat[s].nholds); unlock2(s); -#else - CLOBBER_MOV; - s=readreg(s,4); - d=writereg(d,4); - - raw_mov_l_rr(d,s); - unlock2(d); - unlock2(s); -#endif } MENDFUNC(2,mov_l_rr,(W4 d, RR4 s))