mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-18 17:19:32 +02:00
* disable SSE optimized Frac() for Win64; it has a much lower supported range than the existing Pascal implementation which uses Int() (in essence Round() and Trunc() should be corrected as well)
git-svn-id: trunk@38856 -
This commit is contained in:
parent
8a32d7c663
commit
e3ea46d1cb
@ -372,6 +372,7 @@ const
|
||||
end;
|
||||
{$endif FPC_SYSTEM_HAS_ROUND}
|
||||
|
||||
{$ifdef ENABLE_RESTRICTED_SSE_FRAC}
|
||||
{$ifndef FPC_SYSTEM_HAS_FRAC}
|
||||
{$define FPC_SYSTEM_HAS_FRAC}
|
||||
function fpc_frac_real(d: ValReal) : ValReal;compilerproc; assembler; nostackframe;
|
||||
@ -383,5 +384,6 @@ const
|
||||
subsd %xmm4,%xmm0
|
||||
end;
|
||||
{$endif FPC_SYSTEM_HAS_FRAC}
|
||||
{$endif ENABLE_RESTRICTED_SSE_FRAC}
|
||||
|
||||
{$endif FPC_HAS_TYPE_EXTENDED}
|
||||
|
Loading…
Reference in New Issue
Block a user