Re: PATCH: 1/6: Add AVX support

H.J. Lu
2010-03-04T21:41:17Z

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:
>> On Thu, Mar 4, 2010 at 11:46 AM, Daniel Jacobowitz <dan@codesourcery.com> wrote:
>> > No, it will fail to display SSE.  Core debugging should still be
>> > possible, and the newly added registers will be visible too.  If
>> > that's not the case, fix GDB to function with the SSE registers
>> > missing.
>>
>> 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?

--
H.J.