diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-11-12 16:19:18 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-07-15 00:23:09 +0200 |
commit | 65a67f0fe5adcff442d80efba5094333f7ed7a21 (patch) | |
tree | b541390e543bbe03e9ab5fe77ad10a93a50e867b /scripts/tracetool/backend/log.py | |
parent | 23ecff81ac881e18dd06ee87d0c6319244353ade (diff) | |
download | qemu-65a67f0fe5adcff442d80efba5094333f7ed7a21.zip qemu-65a67f0fe5adcff442d80efba5094333f7ed7a21.tar.gz qemu-65a67f0fe5adcff442d80efba5094333f7ed7a21.tar.bz2 |
target/mips: Have gen_[d]lsa() callers add 1 to shift amount argument
Having the callee add 1 to shift amount is misleading (see the
NM_LSA case in decode_nanomips_32_48_opc() where we have to
manually substract 1). Rather have the callers pass a modified
$sa.
Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20241112172022.88348-4-philmd@linaro.org>
Diffstat (limited to 'scripts/tracetool/backend/log.py')
0 files changed, 0 insertions, 0 deletions