[PATCH v2 4/5] target/avr: fix interrupt processing

2023-01-23 Thread Pavel Dovgalyuk
Interrupt bit vector has 64 bits, but interrupt vector is found with ctz32 function. This patch replaces it with ctz64. Signed-off-by: Pavel Dovgalyuk Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- target/avr/helper.c |4 ++-- 1 file changed, 2 insertions(+), 2 dele

Re: [PATCH v2 4/5] target/avr: fix interrupt processing

2023-01-19 Thread Richard Henderson
On 1/18/23 23:23, Pavel Dovgalyuk wrote: Interrupt bit vector has 64 bits, but interrupt vector is found with ctz32 function. This patch replaces it with ctz64. Signed-off-by: Pavel Dovgalyuk --- target/avr/helper.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Reviewed-by: R

Re: [PATCH v2 4/5] target/avr: fix interrupt processing

2023-01-19 Thread Philippe Mathieu-Daudé
On 19/1/23 10:23, Pavel Dovgalyuk wrote: Interrupt bit vector has 64 bits, but interrupt vector is found with ctz32 function. This patch replaces it with ctz64. Signed-off-by: Pavel Dovgalyuk --- target/avr/helper.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Reviewed-by:

[PATCH v2 4/5] target/avr: fix interrupt processing

2023-01-19 Thread Pavel Dovgalyuk
Interrupt bit vector has 64 bits, but interrupt vector is found with ctz32 function. This patch replaces it with ctz64. Signed-off-by: Pavel Dovgalyuk --- target/avr/helper.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/avr/helper.c b/target/avr/helper.c inde