diff options
author | 2018-12-12 20:58:11 +0000 | |
---|---|---|
committer | 2018-12-17 06:04:44 +0300 | |
commit | 161dec9d1b03552e78e5728186eae9cf1dfbe035 (patch) | |
tree | f48693d33b40a41c8d10aa78940baf56c562c2dc /tcg/optimize.c | |
parent | tcg: Add TCG_TARGET_HAS_MEMORY_BSWAP (diff) | |
download | qemu-161dec9d1b03552e78e5728186eae9cf1dfbe035.tar.xz qemu-161dec9d1b03552e78e5728186eae9cf1dfbe035.zip |
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 'tcg/optimize.c')
0 files changed, 0 insertions, 0 deletions