This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: PATCH: Extend gdb remote protocol for AVX
- From: Daniel Jacobowitz <dan at codesourcery dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: GDB <gdb-patches at sourceware dot org>
- Date: Thu, 18 Sep 2008 14:34:02 -0400
- Subject: Re: PATCH: Extend gdb remote protocol for AVX
- References: <20080918172728.GA12703@lucon.org>
On Thu, Sep 18, 2008 at 10:27:28AM -0700, H.J. Lu wrote:
> b. If remote target supports AVX:
> i. Don't send xmlarch.
> ii. Replace 128bit xmm registers with 256bit ymm registers in
> the g/G packet.
> iii. Gdb will auto-detect SSE unit on remote target, based on the
> the g/G packet size.
Just a general note: I would much prefer you use the XML mechanism for
this, either by an architecture name or a property or an explicit
register description, than add more guesses to the g/G packet checks;
they're a heuristic for existing remote targets.
--
Daniel Jacobowitz
CodeSourcery