]> xenbits.xensource.com Git - qemu-upstream-4.6-testing.git/commit
tests/tcg: new test for i386 FPREM and FPREM1
authorCatalin Patulea <catalinp@google.com>
Mon, 29 Oct 2012 07:45:51 +0000 (03:45 -0400)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 10 Nov 2012 13:49:05 +0000 (13:49 +0000)
commita9523d14c47fbdecb319211afac00caa62d998a8
tree537a60e9f35bba1742f0bee058f91fc885f60707
parent7ea692b24055022248b895f2203a6ab1ad54859b
tests/tcg: new test for i386 FPREM and FPREM1

This is setting the stage for a cleanup of FPREM and FPREM1 helpers while being
sure that they behave same as bare metal.

The test constructs operands using combinations of corner cases for the
floating-point bitfields and prints operands, result and FPU status word for
FPREM and FPREM1. The outputs can then be compared between bare metal and QEMU.
The 'run-test-i386-fprem' make target does just that.

Signed-off-by: Catalin Patulea <catalinp@google.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
tests/tcg/Makefile
tests/tcg/test-i386-fprem.c [new file with mode: 0644]