POV-Ray : Newsgroups : povray.unix : How to compile 3.7RC7 with Haswell and older gcc version, my solution : Re: How to compile 3.7RC7 with Haswell and older gcc version, my solution Server Time
23 Apr 2024 18:50:39 EDT (-0400)
  Re: How to compile 3.7RC7 with Haswell and older gcc version, my solution  
From: jhu
Date: 14 Oct 2013 00:50:01
Message: <web.525b77a775777071d19b0ec40@news.povray.org>

> I have quite new CPU (i7-4770K) and old version of Ubuntu (12.04 LTS 64-bit).
>
> It was not possible to compile 3.7RC7 with default settings, the compilation
> stopped with unknown assembly instructions when old gcc didn't recognize Haswell
> architecture's native instructions.
>
> I query-replaced march=native with march=corei7 from configure file and after
> that all went normally.
>
> I can't say if the speed suffered, but now it shows all 8 (virtual) cores in
> 100% load when rendering and it is much faster than my older i5-750 rig.

Haswell implements AVX2, but I doubt gcc can extract enough parallelism from the
povray code to utilize those instructions effectively.


Post a reply to this message

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