I'll see what I can put together.  Personally I'd prefer it if the source
code contained something that says "call this internal procedure" or
"insert this special node", although that would require some careful
design.
 Gareth aka. Kit

 On Sun 03/02/19 22:05 , Florian Klämpfl flor...@freepascal.org sent:
 Am 03.02.19 um 21:52 schrieb J. Gareth Moreton: 
 > It just seems highly dependent on the source code and can easily break 
 > if it's changed... and not just the Floor function, but also possibly if

 > Trunc and Frac are modified in some way.  The code does boil down to
two 
 > instructions in SSE 4.1 and AVX, but it depends on many different nodes 
 > with an exact arrangement, and if something is changed (but still 
 > functionally equivalent), the optimisation will break. 

 Well, yes. But maybe its possible to create a reasonable test and take 
 care of most imaginable situations. 
 _______________________________________________ 
 fpc-devel maillist - fpc-devel@lists.freepascal.org [1] 
 http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
[2]">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel 

 

Links:
------
[1] mailto:fpc-devel@lists.freepascal.org
[2] http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to