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: patch + rfc: clear_storage() and vectors


> I'm not really fond of using a scalar integral zero for vectors.
> Ideally we'd be using
>
> 	(VEC_CONST:V4SI [(const_int 0)
> 			 (const_int 0)
> 			 (const_int 0)
> 			 (const_int 0)])
>
> Sorry to dump this on you, but how much work would it be forcing
> this all the way through the compiler?  I wouldn't think it would

that's a sensible request.  i don't know.  i'll look into it.

for that matter, i don't know why the vector initializer code doesn't
generate VEC_CONST's.  it just appears to do everything on the
fly.  any idea why?

> be *too* bad, but everything surrounding AldyVec has been harder

doh.  i've been outted in public ;-)

will look into it.

--
Aldy Hernandez                                E-mail: aldyh@redhat.com
Professional Gypsy Lost in Australia
Red Hat, Inc.


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