On 3/30/20 10:14 AM, Richard Henderson wrote: > On 3/30/20 5:13 AM, Philippe Mathieu-Daudé wrote: >> This script started using Python2, where the 'classic' division >> operator returns the floor result. In commit 3d004a371 we started >> to use Python3, where the division operator returns the float >> result ('true division'). >> To keep the same behavior, use the 'floor division' operator "//" >> which returns the floor result. >> >> Fixes: 3d004a371 >> Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> >> --- >> We didn't notice it because only the RX port (which uses the >> --varinsnwidth option, and got merged very recently) triggers >> these problems. >> Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> >> --- >> scripts/decodetree.py | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> > > Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
Queued to tcg-next for 5.0. r~