[RFC] Tests for vector types?
Elena Zannoni
ezannoni@redhat.com
Mon May 20 17:52:00 GMT 2002
Aldy Hernandez writes:
> On Mon, May 20, 2002 at 05:04:46PM -0700, Michael Snyder wrote:
> > Say, these new vector types such as exist for Altivec...
> > are they going to be generally available to GCC users from now on?
> > Like, say, on i386-Linux?
>
> they are already in x86: sse, mmx, etc.
>
Yes, but the gdb side needs to be cleaned up a bit, the gdb
implementation of these vectors is different from Altivec, i.e. they
use an old/deprecated representation.
> > If so, we should make up some generic tests for them for gdb.
>
> unfortunately the tests can't be too generic because they depend
> on the architecture having support for the SIMD type. say, you
> can't test V4SI on an architecture that only provides 64bit SIMD
> registers (V2SI).
>
> i have some patches i'm polishing up to provide just that-- any
> SIMD type (say V4SI) regardless of if the hardware supports it. this
> will make it easier to write generic tests.
>
Cool.
Elena
> aldy
More information about the Gdb
mailing list