Re: PATCH: 1/6: Add AVX support

Nathan Froyd
2010-03-04T21:59:54Z

On Thu, Mar 04, 2010 at 01:41:05PM -0800, H.J. Lu wrote:
> On Thu, Mar 4, 2010 at 1:34 PM, Nathan Froyd <froydnj@codesourcery.com> wrote:
> > On Thu, Mar 04, 2010 at 01:27:09PM -0800, H.J. Lu wrote:
> >> Your description only works for truly NEW registers, which
> >> AVX registers aren't. Â AVX registers are actually the old SSE
> >> registers with different names.
> >
> > You can make "wide" registers like this work; the PPC backend does this
> > for the SPE registers, where the lower 32 bits function as the normal
> > PPC registers and the upper 32 bits are sent as separate "registers".
> > GDB then synthesizes the complete register out of both parts.
>
> I am not familiar with SPE. How does it work with native SPE
> gdb? Does it support old registers with new names?

I assume it works just fine; I've never taken the chance to see how it
works natively, but it works just fine remotely. Of course, the native
bits have to be written with an understanding of how the high parts of
the registers work.

I don't understand your second question.

-Nathan