-malign-double

Lisandro Dalcin dalcinl at gmail.com
Sat Nov 14 15:05:31 CST 2009


On Sat, Nov 14, 2009 at 3:43 PM, Jed Brown <jed at 59a2.org> wrote:
>
> What advantage does this have over just aligning all the pointers (even
> to 16-byte to enable movapd and prevent many loads across a cacheline
> split, see http://x264dev.multimedia.cx/?p=8)?  The arithmetic and few
> wasted bytes is trivial compared to the cost of the allocation, so I
> don't see a reason not to.
>

I think Jed has a VERY good point here...


-- 
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594



More information about the petsc-dev mailing list