target-i386/FPU: a misprint in helper_fistll_ST0

There is a cut-and-paste mistake in the patch
https://lists.gnu.org/archive/html/qemu-devel/2014-11/msg01657.html .
It cause errors in guest work. Here is the bugfix.

Backports commit 178846bdd93994c1acafe4423f99ead8bb24cf38 from qemu
This commit is contained in:
Dmitry Poletaev 2018-02-14 17:07:31 -05:00 committed by Lioncash
parent 3cc6b5251e
commit 58fcf87a7b
No known key found for this signature in database
GPG Key ID: 4E3C3CC1031BA9C7

View File

@ -240,7 +240,7 @@ int32_t helper_fist_ST0(CPUX86State *env)
{
int32_t val;
val = floatx80_to_int32(ST0, &env->fp_status);
val = floatx80_to_int64(ST0, &env->fp_status);
if (val != (int16_t)val) {
val = -32768;
}