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: Ian Lance Taylor <iant at google dot com>
- Cc: Mark Shinwell <shinwell at codesourcery dot com>, gcc at gcc dot gnu dot org, Paolo Bonzini <paolo dot bonzini at lu dot unisi dot ch>
- Date: Thu, 12 Oct 2006 08:18:09 -0700
- Subject: Re: Implicit conversions between vectors
- References: <452E2F04.3060304@codesourcery.com> <m37iz5inma.fsf@localhost.localdomain>
On Thu, 2006-10-12 at 08:02 -0700, Ian Lance Taylor wrote:
> It's been this way at least since 4.0.
But it was rejected in 3.4.0.
> I believe that the problem with changing this unconditionally is that
> the Altivec programming guidelines specify the rules which gcc
> currently follows: you are permitted to assign one vector variable to
> another, without an explicit cast, when the vectors are the same size.
> So please check the Altivec programming manual.
I already know it says it needs an explict cast and so does the C/C++
Language Extension for CBEA says the same thing because I just made sure
of it last week when I was editing that specifications.
Thanks,
Andrew Pinski