tcg/mips: pass oi to tcg_out_tlb_load
commit81dfaf1a8f7f95259801da9732472f879023ef77
authorAurelien Jarno <aurelien@aurel32.net>
Fri, 10 Jul 2015 20:10:02 +0000 (10 22:10 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Sat, 19 Sep 2015 09:53:15 +0000 (19 11:53 +0200)
treede89d041e0c15e5bf5d2861ceddd57302934fecc
parentd9f26847f1429bdb8ccaa4e7bd5f8b57a9da0e8d
tcg/mips: pass oi to tcg_out_tlb_load

Instead of computing mem_index and s_bits in both tcg_out_qemu_ld and
tcg_out_qemu_st function and passing them to tcg_out_tlb_load, directly
pass oi to the tcg_out_tlb_load function and compute mem_index and
s_bits there.

Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
tcg/mips/tcg-target.c