From 99aefd93c515e0625acdcdb93fe5842eb4f24bae Mon Sep 17 00:00:00 2001 From: Frits van Bommel Date: Tue, 10 Mar 2009 04:56:28 +0100 Subject: [PATCH] Oops, had some unsaved changes --- tango.patch | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/tango.patch b/tango.patch index 6d811654..476b2eac 100644 --- a/tango.patch +++ b/tango.patch @@ -17,7 +17,7 @@ Index: tango/tango/math/Math.d } /* -@@ -312,26 +308,12 @@ +@@ -312,28 +308,14 @@ * Results are undefined if |x| >= $(POWER 2,64). */ @@ -33,7 +33,8 @@ Index: tango/tango/math/Math.d + return llvm_cos(x); } - else -- { ++ else version(D_InlineAsm_X86) + { - real cos(real x) - { - return tango.stdc.math.cosl(x); @@ -44,9 +45,11 @@ Index: tango/tango/math/Math.d -{ -real cos(real x) /* intrinsic */ -{ - version(D_InlineAsm_X86) - { +- version(D_InlineAsm_X86) +- { asm + { + fld x; @@ -345,7 +327,6 @@ return tango.stdc.math.cosl(x); } @@ -55,7 +58,7 @@ Index: tango/tango/math/Math.d debug(UnitTest) { unittest { -@@ -366,26 +347,12 @@ +@@ -366,28 +347,14 @@ * Bugs: * Results are undefined if |x| >= $(POWER 2,64). */ @@ -71,7 +74,8 @@ Index: tango/tango/math/Math.d + return llvm_sin(x); } - else -- { ++ else version(D_InlineAsm_X86) + { - real sin(real x) - { - return tango.stdc.math.sinl(x); @@ -82,9 +86,11 @@ Index: tango/tango/math/Math.d -{ -real sin(real x) /* intrinsic */ -{ - version(D_InlineAsm_X86) - { +- version(D_InlineAsm_X86) +- { asm + { + fld x; @@ -399,7 +366,6 @@ return tango.stdc.math.sinl(x); }