POV-Ray : Newsgroups : povray.programming : AVX2 benefits for Povray? : Re: AVX2 benefits for Povray? Server Time
3 Dec 2022 21:20:27 EST (-0500)
  Re: AVX2 benefits for Povray?  
From: Thomas Willhalm
Date: 16 Dec 2013 18:30:00
Message: <web.52af8cd6d04decc5228c4210@news.povray.org>
"jhu" <nomail@nomail> wrote:
> What are your thoughts on this? The upcoming AVX2 instructions have
> gather/scatter and integer support which should make autovectorization easier.
> Do you think Povray will be able to gain appreciable performance from this?
> Would Povray benefit (if at all) from gather/scatter?

One probably needs to have a closer look. "gather" is not a very fast
instruction on Haswell architecture. "scatter" will only be available with Intel
AVX-512 instructions. In case you are hoping to compute a ray in each vector
element, this won't work for complex scenes: Vectorization and branches don't
work well together and each object intersection might result in different
branches. If at all, I would rather hope for acceleration of individual
routines, e.g. subsurface scattering.


Post a reply to this message

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