diff options
Diffstat (limited to 'emulators/qemu/patches/patch-ax')
-rw-r--r-- | emulators/qemu/patches/patch-ax | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/emulators/qemu/patches/patch-ax b/emulators/qemu/patches/patch-ax new file mode 100644 index 00000000000..37a30212fae --- /dev/null +++ b/emulators/qemu/patches/patch-ax @@ -0,0 +1,24 @@ +$NetBSD: patch-ax,v 1.3 2006/01/06 09:17:03 xtraeme Exp $ + +--- target-i386/op.c.orig 2006-01-06 05:10:30.000000000 +0100 ++++ target-i386/op.c +@@ -2099,14 +2099,17 @@ void OPPROTO op_fdivr_STN_ST0(void) + } + + /* misc FPU operations */ ++ ++void fchs_dummy() {ST0 = floatx_chs(ST0);} + void OPPROTO op_fchs_ST0(void) + { +- ST0 = floatx_chs(ST0); ++ fchs_dummy(); + } + ++void fabs_dummy() {ST0 = floatx_abs(ST0);} + void OPPROTO op_fabs_ST0(void) + { +- ST0 = floatx_abs(ST0); ++ fabs_dummy(); + } + + void OPPROTO op_fxam_ST0(void) |