openbsd-ports/emulators/qemu/patches/misc-target-i386_helper_c
todd 2feda3c1f5 o update to 0.9.1, lots from brad@
o see http://qemu.org/changelog.html for details
o see README.OpenBSD for an intro to qemu on OpenBSD
o disable broken arm host support for now
2008-04-28 22:52:38 +00:00

21 lines
453 B
Plaintext

$OpenBSD: misc-target-i386_helper_c,v 1.3 2008/04/28 22:52:38 todd Exp $
--- target-i386/helper.c.orig Sun Jan 6 14:38:45 2008
+++ target-i386/helper.c Wed Apr 2 01:43:09 2008
@@ -3954,6 +3954,16 @@ void tlb_fill(target_ulong addr, int is_write, int mmu
env = saved_env;
}
+void helper_fchs_ST0(void)
+{
+ ST0 = floatx_chs(ST0);
+}
+
+void helper_fabs_ST0(void)
+{
+ ST0 = floatx_abs(ST0);
+}
+
/* Secure Virtual Machine helpers */