Home
last modified time | relevance | path

Searched hist:"80 b4008c" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/tests/tcg/i386/
H A Dtest-i386-fldcst.c80b4008c Wed May 13 18:49:27 CDT 2020 Joseph Myers <joseph@codesourcery.com> 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>