]> git.proxmox.com Git - mirror_qemu.git/commit
fp-bench: fix update_random_ops
authorEmilio G. Cota <cota@braap.org>
Fri, 21 Dec 2018 19:51:59 +0000 (14:51 -0500)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 22 Jan 2019 20:47:44 +0000 (20:47 +0000)
commit446cfb0d3487a630ab52efe35977dec24a6db384
tree12fd98fc858825036336100574c62de8a4c66136
parent952bc8b3c2cbba78261923a1e8ca55cda261dee9
fp-bench: fix update_random_ops

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 <cota@braap.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
tests/fp/fp-bench.c