From 6d7d567a25a28dccb3f5603644a4fccbb9f1bacf Mon Sep 17 00:00:00 2001 From: florian Date: Sun, 13 Dec 2020 09:52:45 +0000 Subject: [PATCH] * min/max optimization on x86 can be applied now without fastmath as NaN is handled properly now git-svn-id: trunk@47769 - --- compiler/nflw.pas | 2 -- 1 file changed, 2 deletions(-) diff --git a/compiler/nflw.pas b/compiler/nflw.pas index 6351c98c80..09b8c876a8 100644 --- a/compiler/nflw.pas +++ b/compiler/nflw.pas @@ -1597,8 +1597,6 @@ implementation not(might_have_sideeffects(left)) and ((t1=nil) or tassignmentnode(thenstmnt).left.isequal(tassignmentnode(elsestmnt).left)) and {$if defined(i386) or defined(x86_64)} - { for now, limit it to fastmath mode as NaN handling is not implemented properly yet } - (cs_opt_fastmath in current_settings.optimizerswitches) and {$ifdef i386} (((current_settings.fputype>=fpu_sse) and is_single(tassignmentnode(thenstmnt).left.resultdef)) or ((current_settings.fputype>=fpu_sse2) and is_double(tassignmentnode(thenstmnt).left.resultdef))