]> git.proxmox.com Git - mirror_qemu.git/commit
s390x/tcg: Handle all rounding modes overwritten by BFP instructions
authorDavid Hildenbrand <david@redhat.com>
Mon, 18 Feb 2019 12:27:09 +0000 (13:27 +0100)
committerCornelia Huck <cohuck@redhat.com>
Mon, 4 Mar 2019 10:49:31 +0000 (11:49 +0100)
commitb12b103ecdfa0a5a7466a57fc1e55fc00afcd0db
treed81ddf25a43aa6b639fca202df8b87399f53d1ef
parentbdcfcd445dd4f07e4df5345f1cdd0da5a5e6ba5f
s390x/tcg: Handle all rounding modes overwritten by BFP instructions

"round to nearest with ties away from 0" maps to float_round_ties_away.
"round to prepare for shorter precision" maps to float_round_to_odd.

As all instructions properly check for valid rounding modes in translate.c
we can add an assert. Fix one missing empty line.

Cc: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20190218122710.23639-15-david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/fpu_helper.c