openbsd-ports/emulators/qemu/patches/misc-target-i386_helper_c
2008-01-19 23:53:58 +00:00

18 lines
416 B
Plaintext

$OpenBSD: misc-target-i386_helper_c,v 1.2 2008/01/19 23:53:58 todd Exp $
--- target-i386/helper.c.orig Mon Feb 5 17:01:54 2007
+++ target-i386/helper.c Wed Jan 16 11:22:08 2008
@@ -3838,3 +3838,13 @@ void tlb_fill(target_ulong addr, int is_write, int is_
}
env = saved_env;
}
+
+void helper_fchs_ST0(void)
+{
+ ST0 = floatx_chs(ST0);
+}
+
+void helper_fabs_ST0(void)
+{
+ ST0 = floatx_abs(ST0);
+}