From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32126 invoked by alias); 23 Mar 2004 20:36:45 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 32073 invoked from network); 23 Mar 2004 20:36:39 -0000 Received: from unknown (HELO igw2.watson.ibm.com) (129.34.20.6) by sources.redhat.com with SMTP; 23 Mar 2004 20:36:39 -0000 Received: from sp1n293en1.watson.ibm.com (sp1n293en1.watson.ibm.com [129.34.20.41]) by igw2.watson.ibm.com (8.11.7-20030924/8.11.4) with ESMTP id i2KMIJe123248 for ; Sat, 20 Mar 2004 17:18:19 -0500 Received: from makai.watson.ibm.com (localhost [127.0.0.1]) by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/8.11.7-01-14-2004) with ESMTP id i2KMII938982 for ; Sat, 20 Mar 2004 17:18:18 -0500 Received: from makai.watson.ibm.com (localhost [127.0.0.1]) by makai.watson.ibm.com (AIX5.1/8.11.6p2/8.11.0/03-06-2002) with ESMTP id i2KMIGT27996; Sat, 20 Mar 2004 17:18:17 -0500 Message-Id: <200403202218.i2KMIGT27996@makai.watson.ibm.com> To: Dorit Naishlos cc: gcc@gcc.gnu.org Subject: Re: rs6000.md/altivec.md problem in setting of vector registers In-Reply-To: Message from Dorit Naishlos of "Sun, 21 Mar 2004 00:09:52 +0200." References: Date: Tue, 23 Mar 2004 22:10:00 -0000 From: David Edelsohn X-SW-Source: 2004-03/txt/msg01363.txt.bz2 >>>>> Dorit Naishlos writes: Dorit> I focused on understanding what in the machine description explains the Dorit> different ways Reload handles the same pattern ('set subreg') on the two Dorit> platforms (i386/powerpc). Altivec and SSE are integrated in their respective architectures in different ways, so GCC of one is not alway appropriate for the other. The vec_set and vec_extract patterns provide explicit control over setting vector elements, so that probably is the best way to achieve the optimal behavior. David