From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20870 invoked by alias); 21 May 2002 01:02:01 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 20776 invoked from network); 21 May 2002 01:01:57 -0000 Received: from unknown (HELO cygnus.com) (205.180.83.203) by sources.redhat.com with SMTP; 21 May 2002 01:01:57 -0000 Received: from redhat.com (reddwarf.sfbay.redhat.com [172.16.24.50]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id SAA17914; Mon, 20 May 2002 18:01:52 -0700 (PDT) Message-ID: <3CE99939.649D5415@redhat.com> Date: Mon, 20 May 2002 18:02:00 -0000 From: Michael Snyder Organization: Red Hat, Inc. X-Accept-Language: en MIME-Version: 1.0 To: Aldy Hernandez CC: gdb@sources.redhat.com, ezannoni@redhat.com Subject: Re: [RFC] Tests for vector types? References: <3CE98F1E.593D2A1A@redhat.com> <20020521003143.GF12079@redhat.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-05/txt/msg00245.txt.bz2 Aldy Hernandez wrote: > > On Mon, May 20, 2002 at 05:04:46PM -0700, Michael Snyder wrote: > > Say, these new vector types such as exist for Altivec... > > are they going to be generally available to GCC users from now on? > > Like, say, on i386-Linux? > > they are already in x86: sse, mmx, etc. > > > If so, we should make up some generic tests for them for gdb. > > unfortunately the tests can't be too generic because they depend > on the architecture having support for the SIMD type. say, you > can't test V4SI on an architecture that only provides 64bit SIMD > registers (V2SI). > > i have some patches i'm polishing up to provide just that-- any > SIMD type (say V4SI) regardless of if the hardware supports it. this > will make it easier to write generic tests. That's what I mean -- I'm thinking, support for the vector type really has nothing to do with the architecture. The vector type is just an array that is passed by value, rather than by reference. You don't have to have a special register to do that.