openbsd-ports/emulators/qemu/patches/misc-target-sparc_op_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

16 lines
357 B
Plaintext

$OpenBSD: misc-target-sparc_op_helper_c,v 1.1 2005/11/03 18:41:55 fgsch Exp $
--- target-sparc/op_helper.c.orig Tue Oct 25 02:31:48 2005
+++ target-sparc/op_helper.c Tue Oct 25 02:32:36 2005
@@ -26,6 +26,11 @@ void do_fabss(void)
FT0 = float32_abs(FT1);
}
+void do_fnegs(void)
+{
+ FT0 = -FT1;
+}
+
#ifdef TARGET_SPARC64
void do_fabsd(void)
{