This is the mail archive of the
mailing list for the GDB project.
Re: [RFC] Simplify SIMD registers
Elena Zannoni writes:
> Martin M. Hunt writes:
> > On Fri, 26 Apr 2002, Elena Zannoni wrote:
> > > Now, I have concerns for platforms other than Altivec, that may have
> > > used a representation like the one I would like to abandon.
> > > I am talking about SSE regs on x86 which are v4sf type. Right?
> > SSE registers are v4sf only, but SSE2 registers (Pentium 4) are
> > v2df, v4sf, v16qi, v8hi, v4si, and v2di. I don't believe GDB supports
> > them yet.
> Ah ok, so those could be supported w/o structure wrappers. But the
> debug format is only stabs on x86, and we don't set the flags for those
> types to TYPE_VECTOR. If we did that we could avoid the structures.
No sorry, what I just said is nonsense, we can always set the
TYPE_VECTOR flags for the register types because it is set by gdb
itself. Do these vectors on x86 appear also as variables? I mean,
would there be a function that takes a vector as parameter, for
instance? (In that case we would need to deal with stabs debug info).