This is the mail archive of the gcc@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: Implicit conversions between vectors


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


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