openbsd-ports/emulators/qemu/patches/misc-target-i386_helper_c
fgsch 11f007dd2c workaround to make qemu happy on amd64 until a better and more correct
fix is applied.
sturm@ ok, maintainer ok a previous more generic approach.
2005-11-03 18:41:55 +00:00

18 lines
403 B
Plaintext

$OpenBSD: misc-target-i386_helper_c,v 1.1 2005/11/03 18:41:55 fgsch Exp $
--- target-i386/helper.c.orig Tue Oct 25 02:58:34 2005
+++ target-i386/helper.c Tue Oct 25 02:59:43 2005
@@ -3483,3 +3483,13 @@ void tlb_fill(target_ulong addr, int is_
}
env = saved_env;
}
+
+void helper_fchs_ST0(void)
+{
+ ST0 = floatx_chs(ST0);
+}
+
+void helper_fabs_ST0(void)
+{
+ ST0 = floatx_abs(ST0);
+}