* 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:
florian 2011-09-23 20:34:10 +00:00
parent 258869c8f1
commit a5cdc0cdde

View File

@ -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