diff options
author | Joseph Myers <joseph@codesourcery.com> | 2020-05-13 23:49:27 +0000 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-06-10 12:10:24 -0400 |
commit | 80b4008c805ebcfd4c0d302ac31c1689e34571e0 (patch) | |
tree | 1b9d77a23eb27cbd12dd9f1b8fe201b2c9486e33 /qobject | |
parent | 5579b524b0d2e4b310157c0b7985d35c24238120 (diff) | |
download | qemu-80b4008c805ebcfd4c0d302ac31c1689e34571e0.zip qemu-80b4008c805ebcfd4c0d302ac31c1689e34571e0.tar.gz qemu-80b4008c805ebcfd4c0d302ac31c1689e34571e0.tar.bz2 |
target/i386: fix floating-point load-constant rounding
The implementations of the fldl2t, fldl2e, fldpi, fldlg2 and fldln2
instructions load fixed constants independent of the rounding mode.
Fix them to load a value correctly rounded for the current rounding
mode (but always rounded to 64-bit precision independent of the
precision control, and without setting "inexact") as specified.
Signed-off-by: Joseph Myers <joseph@codesourcery.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <alpine.DEB.2.21.2005132348310.11687@digraph.polyomino.org.uk>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qobject')
0 files changed, 0 insertions, 0 deletions