mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-08 13:19:15 +02:00
+ SysResetFPU for Aarch64
This commit is contained in:
parent
a1a0c0e9ba
commit
072f1bfb29
@ -157,6 +157,15 @@ procedure SysInitFPU;
|
||||
end;
|
||||
|
||||
|
||||
{$define FPC_SYSTEM_HAS_SYSRESETFPU}
|
||||
Procedure SysResetFPU;{$ifdef SYSTEMINLINE}inline;{$endif}
|
||||
begin
|
||||
softfloat_exception_flags:=[];
|
||||
{ clear all "exception happened" flags we care about}
|
||||
setfpsr(getfpsr and not(fpu_exception_mask shr fpu_exception_mask_to_status_mask_shift));
|
||||
end;
|
||||
|
||||
|
||||
{****************************************************************************
|
||||
Move / Fill
|
||||
****************************************************************************}
|
||||
|
Loading…
Reference in New Issue
Block a user