This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: 1/6: Add AVX support


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.

-Nathan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]