mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 01:29:29 +02:00
* generate fmrx instruction only if the cpu has the vfp extension, resolves #40985
This commit is contained in:
parent
5acf85a932
commit
bea36238e7
@ -1779,7 +1779,8 @@ unit cgcpu;
|
||||
ai: taicpu;
|
||||
l: TAsmLabel;
|
||||
begin
|
||||
if needs_check_for_fpu_exceptions and
|
||||
if (FPUARM_HAS_VFP_EXTENSION in fpu_capabilities[current_settings.fputype]) and
|
||||
needs_check_for_fpu_exceptions and
|
||||
(force or current_procinfo.FPUExceptionCheckNeeded) then
|
||||
begin
|
||||
r:=getintregister(list,OS_INT);
|
||||
|
Loading…
Reference in New Issue
Block a user