Re: PATCH: Extend gdb remote protocol for AVX

Daniel Jacobowitz
2008-09-18T18:34:46Z

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