mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 10:45:08 +02:00
* changed check introduced in r19193 into the same method as other locations in nadd.pas do
git-svn-id: trunk@19197 -
This commit is contained in:
parent
258869c8f1
commit
a5cdc0cdde
@ -860,9 +860,10 @@ implementation
|
||||
{ using sqr(x) for reals instead of x*x might reduces register pressure and/or
|
||||
memory accesses while sqr(<real>) has no drawback }
|
||||
if
|
||||
{$ifdef ARM}
|
||||
(current_settings.fputype<>fpu_soft) and
|
||||
{$endif ARM}
|
||||
{$ifdef cpufpemu}
|
||||
(current_settings.fputype<>fpu_soft) and
|
||||
not(cs_fp_emulation in current_settings.moduleswitches) and
|
||||
{$endif cpufpemu}
|
||||
(nodetype=muln) and
|
||||
is_real(left.resultdef) and is_real(right.resultdef) and
|
||||
left.isequal(right) and
|
||||
|
Loading…
Reference in New Issue
Block a user