unicorn/qemu/tcg/mips
Alistair Francis 7219548fbd
tcg/mips: Improve the add2/sub2 command to use TCG_TARGET_REG_BITS
Instead of hard coding 31 for the shift right use TCG_TARGET_REG_BITS - 1.

Backports commit 161dec9d1b03552e78e5728186eae9cf1dfbe035 from qemu
2018-12-18 05:58:09 -05:00
..
tcg-target.h tcg: Add TCG_TARGET_HAS_MEMORY_BSWAP 2018-12-18 05:56:58 -05:00
tcg-target.inc.c tcg/mips: Improve the add2/sub2 command to use TCG_TARGET_REG_BITS 2018-12-18 05:58:09 -05:00