add literal pool to sh2 drc (for armv[456] without MOVT/W)

This commit is contained in:
kub 2019-04-25 18:57:18 +02:00
parent 47ee54b873
commit 83bafe8e0b
4 changed files with 114 additions and 25 deletions

View file

@ -1795,6 +1795,7 @@ void *ssp_translate_block(int pc)
tr_flush_dirty_ST();
tr_flush_dirty_pmcrs();
block_end = emit_block_epilogue(ccount, end_cond, jump_pc, pc);
emith_pool_commit(0);
if (tcache_ptr - (u32 *)tcache > DRC_TCACHE_SIZE/4) {
elprintf(EL_ANOMALY|EL_STATUS|EL_SVP, "tcache overflow!\n");