summary refs log tree commit diff stats
path: root/rust/qemu-api-macros/src
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-11-12 16:19:18 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-07-15 00:23:09 +0200
commit65a67f0fe5adcff442d80efba5094333f7ed7a21 (patch)
treeb541390e543bbe03e9ab5fe77ad10a93a50e867b /rust/qemu-api-macros/src
parent23ecff81ac881e18dd06ee87d0c6319244353ade (diff)
downloadfocaccia-qemu-65a67f0fe5adcff442d80efba5094333f7ed7a21.tar.gz
focaccia-qemu-65a67f0fe5adcff442d80efba5094333f7ed7a21.zip
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 'rust/qemu-api-macros/src')
0 files changed, 0 insertions, 0 deletions