]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm: Simplify register counting in arm_gen_dynamic_svereg_xml
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 27 Feb 2023 21:33:20 +0000 (11:33 -1000)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 6 Mar 2023 14:08:11 +0000 (14:08 +0000)
commita1ad913da0cb85239309cae93b7a1bf83ad3e1e5
tree8c5e3f39b8c4db0e893f908dfbb08db3479d0bb0
parentf214bdde5a65ac24626a63040ca899b6860c0ed6
target/arm: Simplify register counting in arm_gen_dynamic_svereg_xml

Rather than increment base_reg and num, compute num from the change
to base_reg at the end.  Clean up some nearby comments.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230227213329.793795-6-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/gdbstub64.c