X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pico%2Fcarthw%2Fsvp%2Fcompiler.c;h=60834a2fb9ea478e401b093a7285f5f4353d0ed1;hb=f0d7b1faa17e6e0e21c04db2e1b46ae33a808e11;hp=b47484f4a222d71b0128f77c86874aa6b667ef7d;hpb=65c75cb07df9d27905dd166b876d5b6461cb656d;p=picodrive.git diff --git a/pico/carthw/svp/compiler.c b/pico/carthw/svp/compiler.c index b47484f..60834a2 100644 --- a/pico/carthw/svp/compiler.c +++ b/pico/carthw/svp/compiler.c @@ -35,6 +35,7 @@ void ssp_drc_next_patch(void){} void ssp_drc_end(void){} #endif +#define COUNT_OP #include "../../../cpu/drc/emit_arm.c" // ----------------------------------------------------- @@ -355,7 +356,7 @@ static void tr_mov16(int r, int val) static void tr_mov16_cond(int cond, int r, int val) { - emith_op_imm(cond, A_OP_MOV, r, val); + emith_op_imm(cond, 0, A_OP_MOV, r, val); hostreg_r[r] = -1; } @@ -1787,7 +1788,9 @@ void *ssp_translate_block(int pc) exit(0); #endif - handle_caches(); +#ifdef ARM + cache_flush_d_inval_i(tcache, tcache_ptr); +#endif return block_start; }