target-mips: add TLBINV support
commit9456c2fbcd82dd82328ac6e7602a815582b1043e
authorLeon Alrae <leon.alrae@imgtec.com>
Mon, 7 Jul 2014 10:24:00 +0000 (7 11:24 +0100)
committerLeon Alrae <leon.alrae@imgtec.com>
Mon, 3 Nov 2014 11:48:34 +0000 (3 11:48 +0000)
tree7a2f9f2763b0945ec990ae22f3847476f89c5de5
parent92ceb440d47b9ef3ba860cdc75a7e31563a7dc0c
target-mips: add TLBINV support

For Standard TLB configuration (Config.MT=1):

TLBINV invalidates a set of TLB entries based on ASID. The virtual address is
ignored in the entry match. TLB entries which have their G bit set to 1 are not
modified.

TLBINVF causes all entries to be invalidated.

Single TLB entry can be marked as invalid on TLB entry write by having
EntryHi.EHINV set to 1.

Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
Reviewed-by: Yongbok Kim <yongbok.kim@imgtec.com>
disas/mips.c
target-mips/cpu.h
target-mips/helper.c
target-mips/helper.h
target-mips/op_helper.c
target-mips/translate.c
target-mips/translate_init.c