POV-Ray : Newsgroups : povray.general : It's that time again: icc vs. gcc : It's that time again: icc vs. gcc Server Time
29 Jul 2024 12:25:51 EDT (-0400)
  It's that time again: icc vs. gcc  
From: jhu
Date: 24 Jun 2011 00:20:01
Message: <web.4e040fe599bfb2badcff099d0@news.povray.org>
This time it's icc 11.1 vs. gcc 4.4.5 on running in 64-bit Debian 6.0 on an
Athlon II x4 @ 2.8 GHz (because that's all I have). Povray 3.6.1 running the
benchmark.pov file.

These are the fastest times I could muster for each compiler:
gcc 4.4.5, -march=barcelona, -ffast-math -unroll-loops
  Parse Time:    0 hours  0 minutes  1 seconds (1 seconds)
  Photon Time:   0 hours  0 minutes 16 seconds (16 seconds)
  Render Time:   0 hours 13 minutes 23 seconds (803 seconds)
  Total Time:    0 hours 13 minutes 40 seconds (820 seconds)

icc 11.1, -march=core2
  Parse Time:    0 hours  0 minutes  1 seconds (1 seconds)
  Photon Time:   0 hours  0 minutes 18 seconds (18 seconds)
  Render Time:   0 hours 13 minutes 26 seconds (806 seconds)
  Total Time:    0 hours 13 minutes 45 seconds (825 seconds)

And just for fun:
gcc 4.4.5, -march=barcelona -ffast-math -unroll-loops -mfpmath=387
  Parse Time:    0 hours  0 minutes  1 seconds (1 seconds)
  Photon Time:   0 hours  0 minutes 21 seconds (21 seconds)
  Render Time:   0 hours 15 minutes 32 seconds (932 seconds)
  Total Time:    0 hours 15 minutes 54 seconds (954 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)

Looks like gcc and icc are neck and neck, although I've read that icc still
compiles programs that run suboptimal pathways on non-Intel processors.


Post a reply to this message

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