This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC C++] Turn on builtin_shuffle for C++.
> I just noticed this part. Rereading my comment in
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51033#c22
I haven't been able to make it break with -std=c++11 . Is there
something I'm missing here ?
>
> it seems like this may break things with -std=c++11 and you used the old
> version from comment 19. I am unable to test anything these days (taking a
> plane tomorrow), sorry.
./g++ -B`pwd` /home/ramrad01/cross-build/fsf/src/gcc-rewrite-permute-intrinsics/gcc/testsuite/c-c++-common/torture/vshuf-v8si.c
-std=c++11 -S -O2
appears to work just fine. Am I missing something here ?
A number of tests that pass vector constants to __builtin_shuffle
appear to be working ok .
Can you point out what testcase and how it is broken with std=c++11. I
remember trying some simple tests with that and that appeared to work.
One thing I do notice now is that all the c-c++-common tests are
possibly not running with -std=c++11 . However they appear to be
compiling ok ? My motivation in this stems from being able to rewrite
the Neon permute intrinsics in C and C++ with __builtin_shuffle.
Ramana
>
> Thanks again for taking charge of the patch,
>
> --
> Marc Glisse