Re: [Qemu-devel] [PATCH 1/2] fp-bench: fix update_random_ops

2019-01-07 Thread Philippe Mathieu-Daudé
On 12/21/18 8:51 PM, Emilio G. Cota wrote: > The second test in the branches is wrong; fix while converting > to a switch statement, which is easier to get right. > > Signed-off-by: Emilio G. Cota > --- > tests/fp/fp-bench.c | 11 --- > 1 file changed, 8 insertions(+), 3 deletions(-) >

Re: [Qemu-devel] [PATCH 1/2] fp-bench: fix update_random_ops

2018-12-25 Thread Richard Henderson
On 12/22/18 6:51 AM, Emilio G. Cota wrote: > The second test in the branches is wrong; fix while converting > to a switch statement, which is easier to get right. > > Signed-off-by: Emilio G. Cota > --- > tests/fp/fp-bench.c | 11 --- > 1 file changed, 8 insertions(+), 3 deletions(-) Wh

[Qemu-devel] [PATCH 1/2] fp-bench: fix update_random_ops

2018-12-21 Thread Emilio G. Cota
The second test in the branches is wrong; fix while converting to a switch statement, which is easier to get right. Signed-off-by: Emilio G. Cota --- tests/fp/fp-bench.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/tests/fp/fp-bench.c b/tests/fp/fp-bench.c inde