[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.programming

About scimark2

Ramine

6/28/2014 10:30:00 PM


Hello,


About the scimark2 benchmark that i did on FreePascal and Delphi and GCC,
i have used the following command to compiler:

gcc -O1 -S


i have used the -S flag to generate the assembler source code,
and i have looked at the assembler source code and i have noticed that
effectivly GCC do auto-vectorize the code, it uses SSE2 instructions to
vectorize the floating point calculations even with only the -O1
optimization, this is why GCC is 2X times faster than FreePascal and
Delphi on some scimark2 benchmarks that use floating point calculations.


Thank you,
Amine Moulay Ramdane.
1 Answer

Ramine

6/28/2014 10:35:00 PM

0



Hello,

Auto-vectorization has not been implemented yet on FreePascal
and Delphi, but it has been implemented on for example GCC and Intel
compilers...



Thank you,
Amine Moulay Ramdane.


On 6/28/2014 3:30 PM, Ramine wrote:
>
> Hello,
>
>
> About the scimark2 benchmark that i did on FreePascal and Delphi and GCC,
> i have used the following command to compiler:
>
> gcc -O1 -S
>
>
> i have used the -S flag to generate the assembler source code,
> and i have looked at the assembler source code and i have noticed that
> effectivly GCC do auto-vectorize the code, it uses SSE2 instructions to
> vectorize the floating point calculations even with only the -O1
> optimization, this is why GCC is 2X times faster than FreePascal and
> Delphi on some scimark2 benchmarks that use floating point calculations.
>
>
> Thank you,
> Amine Moulay Ramdane.