mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 13:49:39 +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;
|
ai: taicpu;
|
||||||
l: TAsmLabel;
|
l: TAsmLabel;
|
||||||
begin
|
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
|
(force or current_procinfo.FPUExceptionCheckNeeded) then
|
||||||
begin
|
begin
|
||||||
r:=getintregister(list,OS_INT);
|
r:=getintregister(list,OS_INT);
|
||||||
|
Loading…
Reference in New Issue
Block a user