|
Boost : |
Subject: Re: [boost] Review Request : Boost.SIMD
From: Joel FALCOU (joel.falcou_at_[hidden])
Date: 2017-02-10 18:20:12
On 10/02/2017 16:25, Jason Roehm via Boost wrote:
> Does Boost.SIMD support non-aligned loads/stores? Aligned data is ideal,
> but having the ability to load/store from addresses that aren't aligned
> (and emitting the appropriate instructions to do so safely, e.g.
> _mm_loadu_ps() instead of _mm_load_ps() with SSE) can be important for
> some applications also. That would allow the use of SIMD without having
> to do an explicit realignment first. On some architectures (e.g.
> post-Nehalem x86 CPUs with SSE), the aligned/unaligned penalty is very
> small also.
Yes we both have aligned_load, aligned_store and load,store to handle
all cases.
> The library looks very good in my cursory glance over the documentation;
> I'm looking forward to see it get a review.
Thanks
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk