mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-03 16:38:35 +01:00
* generate soft float code for arm vfp units which have no double operation support
git-svn-id: trunk@45799 -
This commit is contained in:
parent
bb6d4929d8
commit
db250b04e0
@ -368,7 +368,10 @@ implementation
|
||||
if codegenerror then
|
||||
exit;
|
||||
|
||||
if (left.resultdef.typ=floatdef) and (current_settings.fputype=fpu_soft) then
|
||||
{ if we get here and VFP support is on, there is no 64 bit VFP operation support available,
|
||||
so in this case the software version needs to be called }
|
||||
if (left.resultdef.typ=floatdef) and ((current_settings.fputype=fpu_soft) or
|
||||
(FPUARM_HAS_VFP_EXTENSION in fpu_capabilities[current_settings.fputype])) then
|
||||
begin
|
||||
case tfloatdef(resultdef).floattype of
|
||||
s64real:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user