[fpc-devel] Detecting SSE and AVX compiler options
    Jonas Maebe 
    jonas at freepascal.org
       
    Sun Feb  3 12:47:14 CET 2019
    
    
  
On 03/02/19 06:26, J. Gareth Moreton wrote:
> And similarly with AVX.  Even if we're stuck with just SSE2, assembler 
> improvements can be made over the Pascal code just by removing the call 
> to Trunc and replacing it with its single assembler command: "cvttsd2si 
> %xmm0,%rax".
The compiler already does that when the appropriate instruction set is 
selected.
Jonas
    
    
More information about the fpc-devel
mailing list