From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16314 invoked by alias); 18 Sep 2008 18:34:46 -0000 Received: (qmail 16305 invoked by uid 22791); 18 Sep 2008 18:34:45 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 18 Sep 2008 18:34:06 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id E522910004; Thu, 18 Sep 2008 18:34:03 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id D077110003; Thu, 18 Sep 2008 18:34:03 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1KgOKI-0005vY-KT; Thu, 18 Sep 2008 14:34:02 -0400 Date: Thu, 18 Sep 2008 18:34:00 -0000 From: Daniel Jacobowitz To: "H.J. Lu" Cc: GDB Subject: Re: PATCH: Extend gdb remote protocol for AVX Message-ID: <20080918183402.GA22646@caradoc.them.org> Mail-Followup-To: "H.J. Lu" , GDB References: <20080918172728.GA12703@lucon.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080918172728.GA12703@lucon.org> User-Agent: Mutt/1.5.17 (2008-05-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-09/txt/msg00389.txt.bz2 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