From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8358 invoked by alias); 3 Feb 2010 14:15:05 -0000 Received: (qmail 8349 invoked by uid 22791); 3 Feb 2010 14:15:04 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SARE_SUB_OBFU_Q1 X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (212.99.106.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 03 Feb 2010 14:15:01 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id E7B56CB0336; Wed, 3 Feb 2010 15:14:58 +0100 (CET) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8X0iZO+Oi57V; Wed, 3 Feb 2010 15:14:58 +0100 (CET) Received: from ulanbator.act-europe.fr (ulanbator.act-europe.fr [10.10.1.67]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mel.act-europe.fr (Postfix) with ESMTP id D32E9CB032C; Wed, 3 Feb 2010 15:14:58 +0100 (CET) Subject: Re: RFC: Support target specific qSupported Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: Tristan Gingold In-Reply-To: <6dc9ffc81002030605k6eadda3me45828f7c8c6a362@mail.gmail.com> Date: Wed, 03 Feb 2010 14:15:00 -0000 Cc: GDB Content-Transfer-Encoding: quoted-printable Message-Id: <3935C6B4-A54C-40B6-9DF4-7FEDC4743346@adacore.com> References: <20100203040339.GA24984@lucon.org> <20100203135848.GA27938@caradoc.them.org> <6dc9ffc81002030605k6eadda3me45828f7c8c6a362@mail.gmail.com> To: "H.J. Lu" 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: 2010-02/txt/msg00068.txt.bz2 On Feb 3, 2010, at 3:05 PM, H.J. Lu wrote: > On Wed, Feb 3, 2010 at 5:58 AM, Daniel Jacobowitz = wrote: >> On Tue, Feb 02, 2010 at 08:03:39PM -0800, H.J. Lu wrote: >>> Hi, >>>=20 >>> Intel AVX has 256bit YMM registers. XMM registers from SSE are the >>> aliases of the lower 128bit YMM registers. gdbserver on AVX machine >>> may use 256bit vector registers, instead of 128bit vector registers, >>> in the g/G packet. When gdb talks to gdbserver, they need to negotiate >>> to find out the maxium common register size supported by both gdb and >>> gdbserver. I added `x86:xstate=3DBYTES:xcr0=3DVALUE' to qSupported: >>=20 >> Have you seen the Target Descriptions chapter in the manual? This is >> exactly what it was designed to do. >>=20 >=20 > Which gdb target does similar things I need for AVX? I think that powerpc does. Its general purpose registers may be 32 bits wi= de (standard powerpc) or 64 bits (either powerpc64 or spe variants). Tristan.