POV-Ray : Newsgroups : povray.general : It's that time again: icc vs. gcc : Re: It's that time again: icc vs. gcc Server Time
29 Jul 2024 18:26:40 EDT (-0400)
  Re: It's that time again: icc vs. gcc  
From: Warp
Date: 29 Jun 2011 15:45:02
Message: <4e0b80be@news.povray.org>
jhu <nomail@nomail> wrote:
> gcc 4.4.5, -march=i386 -ffast-math -funroll-loops
>   Parse Time:    0 hours  0 minutes  1 seconds (1 seconds)
>   Photon Time:   0 hours  0 minutes 24 seconds (24 seconds)
>   Render Time:   0 hours 18 minutes 57 seconds (1137 seconds)
>   Total Time:    0 hours 19 minutes 22 seconds (1162 seconds)

> gcc 4.4.5, -march=i386
>   Parse Time:    0 hours  0 minutes  1 seconds (1 seconds)
>   Photon Time:   0 hours  0 minutes 26 seconds (26 seconds)
>   Render Time:   0 hours 20 minutes 44 seconds (1244 seconds)
>   Total Time:    0 hours 21 minutes 11 seconds (1271 seconds)

> Povray official binary
>   Parse Time:    0 hours  0 minutes  1 seconds (1 seconds)
>   Photon Time:   0 hours  0 minutes 28 seconds (28 seconds)
>   Render Time:   0 hours 23 minutes  3 seconds (1383 seconds)
>   Total Time:    0 hours 23 minutes 32 seconds (1412 seconds)

  Perhaps the official binary should be updated to a more optimized version.
(Perhaps the reason for the difference is that the official binary has been
compiled with an older version of gcc, and the newer versions optimize
better, even for the 386.)

  It could also be considered if the official binary distribution could
offer several binaries, compiled for different CPUs. For example, there
could be an official binary that works even on a 386, one that requires
at least an SSE-supporting Pentium, and a third that requires a x86-64 CPU.

-- 
                                                          - Warp


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.