summaryrefslogtreecommitdiff
path: root/rtl/x86_64
diff options
context:
space:
mode:
authorsergei <sergei@3ad0048d-3df7-0310-abae-a5850022a9f2>2014-03-19 12:14:44 +0000
committersergei <sergei@3ad0048d-3df7-0310-abae-a5850022a9f2>2014-03-19 12:14:44 +0000
commitf8af3143a99dfa7049d5782e8f8686410a0970b4 (patch)
tree6d202ee9c24cae24a3bd2196a2ba8c0e3f568047 /rtl/x86_64
parent61b2cc498212ad63a47236924992a60dcc0aa307 (diff)
downloadfpc-f8af3143a99dfa7049d5782e8f8686410a0970b4.tar.gz
- i386 and x86_64 no longer use any softfloat stuff.
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27182 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'rtl/x86_64')
-rw-r--r--rtl/x86_64/mathu.inc1
-rw-r--r--rtl/x86_64/x86_64.inc4
2 files changed, 0 insertions, 5 deletions
diff --git a/rtl/x86_64/mathu.inc b/rtl/x86_64/mathu.inc
index bb9dce78af..c96fb14797 100644
--- a/rtl/x86_64/mathu.inc
+++ b/rtl/x86_64/mathu.inc
@@ -150,7 +150,6 @@ begin
CtlWord:=Get8087CW;
Set8087CW((CtlWord and $FFC0) or Byte(Longint(Mask)));
SetSSECSR((GetSSECSR and $ffffe07f) or (dword(Mask) shl 7));
- softfloat_exception_mask:=dword(Mask);
Result:=GetExceptionMask;
end;
diff --git a/rtl/x86_64/x86_64.inc b/rtl/x86_64/x86_64.inc
index d75e2383db..a1bf68f144 100644
--- a/rtl/x86_64/x86_64.inc
+++ b/rtl/x86_64/x86_64.inc
@@ -964,8 +964,6 @@ begin
{ set sse exceptions }
ldmxcsr localmxcsr
end ['RAX'];
- { x86-64 might use softfloat code }
- softfloat_exception_mask:=float_flag_underflow or float_flag_inexact or float_flag_denormal;
end;
@@ -984,8 +982,6 @@ Procedure SysResetFPU;
fldcw localfpucw
ldmxcsr localmxcsr
end;
- { x86-64 might use softfloat code }
- softfloat_exception_flags:=0;
end;