* [RFC] Tests for vector types?
@ 2002-05-20 17:18 Michael Snyder
2002-05-20 17:32 ` Aldy Hernandez
0 siblings, 1 reply; 5+ messages in thread
From: Michael Snyder @ 2002-05-20 17:18 UTC (permalink / raw)
To: gdb; +Cc: ezannoni, aldyh
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?
If so, we should make up some generic tests for them for gdb.
Michael
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [RFC] Tests for vector types?
2002-05-20 17:18 [RFC] Tests for vector types? Michael Snyder
@ 2002-05-20 17:32 ` Aldy Hernandez
2002-05-20 17:52 ` Elena Zannoni
2002-05-20 18:02 ` Michael Snyder
0 siblings, 2 replies; 5+ messages in thread
From: Aldy Hernandez @ 2002-05-20 17:32 UTC (permalink / raw)
To: Michael Snyder; +Cc: gdb, ezannoni
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.
> 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.
aldy
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [RFC] Tests for vector types?
2002-05-20 17:32 ` Aldy Hernandez
@ 2002-05-20 17:52 ` Elena Zannoni
2002-05-20 18:02 ` Michael Snyder
1 sibling, 0 replies; 5+ messages in thread
From: Elena Zannoni @ 2002-05-20 17:52 UTC (permalink / raw)
To: Aldy Hernandez; +Cc: Michael Snyder, gdb, ezannoni
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [RFC] Tests for vector types?
2002-05-20 17:32 ` Aldy Hernandez
2002-05-20 17:52 ` Elena Zannoni
@ 2002-05-20 18:02 ` Michael Snyder
2002-05-20 20:50 ` Aldy Hernandez
1 sibling, 1 reply; 5+ messages in thread
From: Michael Snyder @ 2002-05-20 18:02 UTC (permalink / raw)
To: Aldy Hernandez; +Cc: gdb, ezannoni
Aldy Hernandez wrote:
>
> 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.
>
> > 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.
That's what I mean -- I'm thinking, support for the vector type
really has nothing to do with the architecture. The vector type
is just an array that is passed by value, rather than by reference.
You don't have to have a special register to do that.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [RFC] Tests for vector types?
2002-05-20 18:02 ` Michael Snyder
@ 2002-05-20 20:50 ` Aldy Hernandez
0 siblings, 0 replies; 5+ messages in thread
From: Aldy Hernandez @ 2002-05-20 20:50 UTC (permalink / raw)
To: Michael Snyder; +Cc: gdb, ezannoni
> > 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.
>
> That's what I mean -- I'm thinking, support for the vector type
> really has nothing to do with the architecture. The vector type
> is just an array that is passed by value, rather than by reference.
> You don't have to have a special register to do that.
give me a week or two. the patches are done but need documentation.
aldy
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-05-21 3:50 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-20 17:18 [RFC] Tests for vector types? Michael Snyder
2002-05-20 17:32 ` Aldy Hernandez
2002-05-20 17:52 ` Elena Zannoni
2002-05-20 18:02 ` Michael Snyder
2002-05-20 20:50 ` Aldy Hernandez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox