target-mips: extend selected CP0 registers to 64-bits in MIPS32
authorLeon Alrae <leon.alrae@imgtec.com>
Tue, 9 Jun 2015 16:14:13 +0000 (17:14 +0100)
committerLeon Alrae <leon.alrae@imgtec.com>
Fri, 12 Jun 2015 08:05:00 +0000 (09:05 +0100)
commit284b731a6ae47b9ebabb9613e753c4d83cf75dd3
tree24043a79d29416582fa2489c32419e111715474b
parentb435f3f3d174721382b55bbd0c785ec50c1796a9
target-mips: extend selected CP0 registers to 64-bits in MIPS32

Extend EntryLo0, EntryLo1, LLAddr and TagLo from 32 to 64 bits in MIPS32.

Introduce gen_move_low32() function which moves low 32 bits from 64-bit
temp to GPR; it sign extends 32-bit value on MIPS64 and truncates on
MIPS32.

Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
target-mips/cpu.h
target-mips/machine.c
target-mips/op_helper.c
target-mips/translate.c