Boost logo

Boost :

Subject: Re: [boost] Boost SIMD beta release
From: Dave Abrahams (dave_at_[hidden])
Date: 2012-12-20 13:12:17


on Thu Dec 20 2012, Joel Falcou <joel.falcou-AT-gmail.com> wrote:

> Maybe we should have a simd::unaligned_input_iterator and/or make
> simd::transform accept non aligned data. Note that on any pre-Nehalem
> CPU, the unaligned load will be horrendsously slow.

It's probably a bit late to bring this up, but did you consider a design
that uses something like Matt Austern's segmented iterator concept
(http://lafstern.org/matt/segmented.pdf) and imposes a hierarchical view
over regular memory that segments on aligned memory regions?

-- 
Dave Abrahams
BoostPro Computing                  Software Development        Training
http://www.boostpro.com             Clang/LLVM/EDG Compilers  C++  Boost

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk