On 27 August 2012 21:29, Janis Johnson <janis_john...@mentor.com> wrote:
> On 08/27/2012 08:02 AM, Christophe Lyon wrote:
>> I guess that the 'right' (portable) was of initializing a vector is to
>> load it from an array, right?
>
> See http://gcc.gnu.org/ml/gcc-patches/2011-10/msg01114.html for Richard
> Earnshaw's suggestion on how to fix neon-vset_lanes8.c, and an alternate
> suggestion for changing the compiler.
>

Thanks for the pointer, which confirms it is much more complex than I
anticipated.

However, I still need to initialize the mask vector with GCC-vector
notation, not using vld1 otherwise the compiler cannot detect if the
mask vector is contant (and therefore suitable for an optimization).

This makes writing exhaustive, portable (big and little endian),
executable tests a painful task.

Thanks

Reply via email to