openbsd-ports/emulators/qemu-old/patches/misc-target-i386_helper_c
2010-05-27 17:33:42 +00:00

21 lines
458 B
Plaintext

$OpenBSD: misc-target-i386_helper_c,v 1.1.1.1 2010/05/27 17:33:42 fgsch 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 */