Re: [Qemu-devel] [PATCH v2] RISC-V: Fix riscv_isa_string, use popcount to count bits

2018-03-16 Thread Michael Clark
On Fri, Mar 16, 2018 at 10:03 AM, Michael Clark wrote: > > On Thu, Mar 15, 2018 at 12:27 PM, Peter Maydell > wrote: > >> On 10 March 2018 at 21:25, Philippe Mathieu-Daudé >> wrote: >> > On 03/09/2018 10:01 PM, Michael Clark wrote: >> >> Logic bug caused the string size calculation for the RISC-

Re: [Qemu-devel] [PATCH v2] RISC-V: Fix riscv_isa_string, use popcount to count bits

2018-03-16 Thread Michael Clark
On Thu, Mar 15, 2018 at 12:27 PM, Peter Maydell wrote: > On 10 March 2018 at 21:25, Philippe Mathieu-Daudé wrote: > > On 03/09/2018 10:01 PM, Michael Clark wrote: > >> Logic bug caused the string size calculation for the RISC-V > >> format ISA string to be small. This fix allows slack for rv128.

Re: [Qemu-devel] [PATCH v2] RISC-V: Fix riscv_isa_string, use popcount to count bits

2018-03-15 Thread Peter Maydell
On 10 March 2018 at 21:25, Philippe Mathieu-Daudé wrote: > On 03/09/2018 10:01 PM, Michael Clark wrote: >> Logic bug caused the string size calculation for the RISC-V >> format ISA string to be small. This fix allows slack for rv128. >> >> Cc: Palmer Dabbelt >> Cc: Peter Maydell >> Cc: Eric Blak

Re: [Qemu-devel] [PATCH v2] RISC-V: Fix riscv_isa_string, use popcount to count bits

2018-03-11 Thread Philippe Mathieu-Daudé
On 03/10/2018 10:25 PM, Philippe Mathieu-Daudé wrote: > On 03/09/2018 10:01 PM, Michael Clark wrote: >> Logic bug caused the string size calculation for the RISC-V >> format ISA string to be small. This fix allows slack for rv128. >> >> Cc: Palmer Dabbelt >> Cc: Peter Maydell >> Cc: Eric Blake >

Re: [Qemu-devel] [PATCH v2] RISC-V: Fix riscv_isa_string, use popcount to count bits

2018-03-10 Thread Philippe Mathieu-Daudé
On 03/09/2018 10:01 PM, Michael Clark wrote: > Logic bug caused the string size calculation for the RISC-V > format ISA string to be small. This fix allows slack for rv128. > > Cc: Palmer Dabbelt > Cc: Peter Maydell > Cc: Eric Blake > Signed-off-by: Michael Clark > --- > target/riscv/cpu.c |

[Qemu-devel] [PATCH v2] RISC-V: Fix riscv_isa_string, use popcount to count bits

2018-03-09 Thread Michael Clark
Logic bug caused the string size calculation for the RISC-V format ISA string to be small. This fix allows slack for rv128. Cc: Palmer Dabbelt Cc: Peter Maydell Cc: Eric Blake Signed-off-by: Michael Clark --- target/riscv/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git