Joseph Myers <jos...@codesourcery.com> writes:
> 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 <jos...@codesourcery.com> > --- > target/i386/fpu_helper.c | 25 +++++- > tests/tcg/i386/test-i386-fxtract.c | 120 +++++++++++++++++++++++++++++ > 2 files changed, 144 insertions(+), 1 deletion(-) > create mode 100644 tests/tcg/i386/test-i386-fxtract.c > For test tests: Acked-by: Alex Bennée <alex.ben...@linaro.org> -- Alex Bennée