This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch ping (1 middle-end, 1 C front-end)
On Tue, Mar 16, 2004 at 10:02:56AM -0800, Zack Weinberg wrote:
> Aldy Hernandez <aldyh@redhat.com> writes:
>
> > One issue I do have is with:
> >
> > (The second suggestion was to use vector modes only if they are really
> > supported by the target, and use a similarly-sized vector type
> > otherwise; this is quite complex, probably more than these two items I
> > implemented).
> >
> > If you only define vector modes for supported targets, how will a
> > SIMD-less target use generic vectors?
>
> Well, that's not in this patch, but I believe that if people think
> about it properly, it will turn out that the plain old integer modes
> suffice.
I thought the idea with generic vectors was to make libstdc++ vector
code more portable. And to aid in the auto-vectorization work, but
clearly that's not the case.
If Richard thinks generic vectors should go away, then I guess it's
ok. The patch then, should remove such code.
Aldy