X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=cpu%2Fsh2%2Fcompiler.c;h=a7c71c30bc5857db7bc207e6de96a521f61ad728;hb=98a3d79ba2d05e8883f8e3761f866cb4fa17c214;hp=0e8b65b39de2545589a18478445d00f9ba506243;hpb=d602fd4f739acca7145b4208134da15fad2a6c6e;p=picodrive.git diff --git a/cpu/sh2/compiler.c b/cpu/sh2/compiler.c index 0e8b65b..a7c71c3 100644 --- a/cpu/sh2/compiler.c +++ b/cpu/sh2/compiler.c @@ -29,6 +29,7 @@ #include #include "../../pico/pico_int.h" +#include "../../pico/arm_features.h" #include "sh2.h" #include "compiler.h" #include "../drc/cmn.h" @@ -3121,9 +3122,9 @@ static void sh2_smc_rm_blocks(u32 a, u16 *drc_ram_blk, int tcache_id, u32 shift, if (to < end_addr) to = end_addr; - sh2_smc_rm_block(block, tcache_id, mask); if (a >= start_addr + block->size_nolit) literal_disabled_frames = 3; + sh2_smc_rm_block(block, tcache_id, mask); // entry lost, restart search entry = *blist;