summaryrefslogtreecommitdiffstats
path: root/tests/tcg/i386/test-i386-fxtract.c
Commit message (Collapse)AuthorAgeFilesLines
* target/i386: implement special cases for fxtractJoseph Myers2020-06-101-0/+120
The implementation of the fxtract instruction treats all nonzero operands as normal numbers, so yielding incorrect results for invalid formats, infinities, NaNs and subnormal and pseudo-denormal operands. Implement appropriate handling of all those cases. Signed-off-by: Joseph Myers <joseph@codesourcery.com> Acked-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <alpine.DEB.2.21.2005070042360.18350@digraph.polyomino.org.uk> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>