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: Extend gdb remote protocol for AVX


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


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