PATCH: Extend gdb remote protocol for AVX

Daniel Jacobowitz dan@codesourcery.com
Thu Sep 18 18:34:00 GMT 2008


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



More information about the Gdb-patches mailing list