|
@@ -744,10 +744,6 @@ procedure JumpToHandleErrorFrame;
|
|
|
end;
|
|
|
end;
|
|
|
|
|
|
-var
|
|
|
- { this variable is set to true, if currently an sse check is executed and no sig ill should be generated }
|
|
|
- sse_check : boolean;
|
|
|
-
|
|
|
function syswin32_i386_exception_handler(excep : PExceptionPointers) : Longint;stdcall;
|
|
|
var
|
|
|
res: longint;
|
|
@@ -897,25 +893,6 @@ end;
|
|
|
|
|
|
{$endif Set_i386_Exception_handler}
|
|
|
|
|
|
-{ because of the brain dead sse detection on x86, this test is post poned }
|
|
|
-procedure fpc_cpucodeinit;
|
|
|
- begin
|
|
|
- os_supports_sse:=true;
|
|
|
- sse_check:=true;
|
|
|
- asm
|
|
|
- { force an sse exception if no sse is supported, the exception handler sets
|
|
|
- os_supports_sse to false then }
|
|
|
- { don't change this instruction, the code above depends on its size }
|
|
|
- movq %xmm0,%xmm0
|
|
|
- end;
|
|
|
- sse_check:=false;
|
|
|
- has_sse_support:=sse_support;
|
|
|
- has_mmx_support:=mmx_support;
|
|
|
- SysResetFPU;
|
|
|
- setup_fastmove;
|
|
|
- end;
|
|
|
-
|
|
|
-
|
|
|
{****************************************************************************
|
|
|
OS dependend widestrings
|
|
|
****************************************************************************}
|