This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Implicit conversions between vectors
- From: Andrew Pinski <pinskia at gmail dot com>
- To: Mark Shinwell <shinwell at codesourcery dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 12 Oct 2006 07:29:31 -0700
- Subject: Re: Implicit conversions between vectors
- References: <452E2F04.3060304@codesourcery.com>
On Thu, 2006-10-12 at 13:03 +0100, Mark Shinwell wrote:
> typedef __builtin_neon_qi int8x8_t __attribute__ ((__vector_size__ (8)));
> typedef __builtin_neon_hi int16x4_t __attribute__ ((__vector_size__ (8)));
> ...
>
> int8x8_t f (int16x4_t a)
> {
> return a;
> }
This should error out and it is a regression from previous versions (I
can check which ones but I think 3.4.0 rejected it). The two targets
that I work on daily at work (including the language extension
specifications), both say this is invalid code and should be rejected.
Thanks,
Andrew Pinski