Re: RFA: Consider int and same-size short as equivalent vector components

2013-08-27 Thread Paolo Carlini
Hi, On 08/28/2013 12:29 AM, Joern Rennecke wrote: * c-common.h: (same_scalar_type_ignoring_signedness): Delete prototype. (vector_types_compatible_elements_p): Prototype. Sorry for nitpicking, but since we are now using C++ I think declaration is more correct than prototype.

Re: RFA: Consider int and same-size short as equivalent vector components

2013-08-27 Thread Joern Rennecke
Quoting Marc Glisse : On Mon, 26 Aug 2013, Joern Rennecke wrote: Quoting Marc Glisse : The issue seems larger than just short/int. On x86, (l I don't understand what you mean here. Could you post the actual code sample? typedef long vl __attribute__((vector_size(16))); void f(vl l){

Re: RFA: Consider int and same-size short as equivalent vector components

2013-08-26 Thread Marc Glisse
On Mon, 26 Aug 2013, Joern Rennecke wrote: Quoting Marc Glisse : The issue seems larger than just short/int. On x86, (l I don't understand what you mean here. Could you post the actual code sample? typedef long vl __attribute__((vector_size(16))); void f(vl l){ (l(btw, my sentence was

Re: RFA: Consider int and same-size short as equivalent vector components

2013-08-26 Thread Joern Rennecke
Quoting Marc Glisse : The issue seems larger than just short/int. On x86, (l I don't understand what you mean here. Could you post the actual code sample?

Re: RFA: Consider int and same-size short as equivalent vector components

2013-08-26 Thread Marc Glisse
On Mon, 26 Aug 2013, Joern Rennecke wrote: avr currently shows the following failure: FAIL: c-c++-common/vector-scalar.c -Wc++-compat (test for excess errors) Excess errors: /home/amylaar/atmel/4.8/unisrc-mainline/gcc/testsuite/c-c++-common/vector-scalar .c:9:34: error: invalid operands to bin