This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++] Handle && || ! for simd vectors


On 10/13/2014 03:45 PM, Marc Glisse wrote:
Ping https://gcc.gnu.org/ml/gcc-patches/2014-10/msg00361.html
(sorry that my message looked like I had committed as obvious)

Indeed.  OK. :)

On Sat, 4 Oct 2014, Marc Glisse wrote:

On Thu, 2 Oct 2014, Jason Merrill wrote:

OK.

Thanks. While committing, I noticed that I restricted ! to integer
vectors, whereas it seems to work just fine with scalar floats, so it
would make sense to extend it to float vectors. Tested on
x86_64-linux-gnu.

2014-10-04  Marc Glisse  <marc.glisse@inria.fr>

gcc/cp/
    * typeck.c (cp_build_unary_op) [TRUTH_NOT_EXPR]: Accept float
vectors.
gcc/testsuite/
    * g++.dg/ext/vector9.C: Test ! with float vectors.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]