aboutsummaryrefslogtreecommitdiff
path: root/tests/test-qobject-output-visitor.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2020-06-17 23:24:29 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2020-06-26 09:39:39 -0400
commit1f18a1e6ab8368a4eab2d22894d3b2ae75250cd3 (patch)
tree74f4efb45983d3373128b282ddd31c2fb6689391 /tests/test-qobject-output-visitor.c
parent5eebc49d2d0aa5fc7e90eeac97533051bb7b72fa (diff)
downloadqemu-1f18a1e6ab8368a4eab2d22894d3b2ae75250cd3.zip
qemu-1f18a1e6ab8368a4eab2d22894d3b2ae75250cd3.tar.gz
qemu-1f18a1e6ab8368a4eab2d22894d3b2ae75250cd3.tar.bz2
target/i386: reimplement fyl2x using floatx80 operations
The x87 fyl2x emulation is currently based around conversion to double. This is inherently unsuitable for a good emulation of any floatx80 operation. Reimplement using the soft-float operations, building on top of the reimplementation of fyl2xp1 and factoring out code to be shared between the two instructions. The included test assumes that the result in round-to-nearest mode should always be one of the two closest floating-point numbers to the mathematically exact result (including that it should be exact, in the exact cases which cover more cases than for fyl2xp1). Signed-off-by: Joseph Myers <joseph@codesourcery.com> Message-Id: <alpine.DEB.2.21.2006172321530.20587@digraph.polyomino.org.uk> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/test-qobject-output-visitor.c')
0 files changed, 0 insertions, 0 deletions