target/mips: Fix data type for offset
commit72e1f16f18fe62504f8f25d7a3f6813b24b221be
authorYongbok Kim <yongbok.kim@mips.com>
Wed, 20 Jun 2018 12:06:07 +0000 (20 13:06 +0100)
committerAleksandar Markovic <amarkovic@wavecomp.com>
Wed, 27 Jun 2018 18:13:41 +0000 (27 20:13 +0200)
treeef9e8630cb6b91eff7c18ef740acb04bb6d71979
parentb52d3bfa2d54d99ef25f6d008815eecc53b67bfe
target/mips: Fix data type for offset

Offset can be larger than 16 bit from nanoMIPS,
and immediate field can be larger than 16 bits as well.

Signed-off-by: Yongbok Kim <yongbok.kim@mips.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Aleksandar Markovic <aleksandar.markovic@mips.com>
Signed-off-by: Aleksandar Markovic <aleksandar.markovic@mips.com>
target/mips/translate.c