diff options
author | Alistair Francis <Alistair.Francis@wdc.com> | 2018-12-12 20:58:11 +0000 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2018-12-17 06:04:44 +0300 |
commit | 161dec9d1b03552e78e5728186eae9cf1dfbe035 (patch) | |
tree | f48693d33b40a41c8d10aa78940baf56c562c2dc /memory.c | |
parent | e1dcf3529d0797b25bb49a20e94b62eb93e7276a (diff) | |
download | qemu-161dec9d1b03552e78e5728186eae9cf1dfbe035.zip qemu-161dec9d1b03552e78e5728186eae9cf1dfbe035.tar.gz qemu-161dec9d1b03552e78e5728186eae9cf1dfbe035.tar.bz2 |
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.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <7dfbddf7014a595150aa79011ddb342c3cc17ec3.1544648105.git.alistair.francis@wdc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'memory.c')
0 files changed, 0 insertions, 0 deletions