From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24869 invoked by alias); 9 Jul 2004 10:16:49 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 24861 invoked from network); 9 Jul 2004 10:16:47 -0000 Received: from unknown (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org with SMTP; 9 Jul 2004 10:16:47 -0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.12.10/8.12.10) with ESMTP id i69AD8St029283; Fri, 9 Jul 2004 06:13:08 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i69AGjw26467; Fri, 9 Jul 2004 06:16:45 -0400 Received: from frothingslosh.sfbay.redhat.com (frothingslosh.sfbay.redhat.com [172.16.24.27]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id i69AGiP09998; Fri, 9 Jul 2004 03:16:44 -0700 Received: from frothingslosh.sfbay.redhat.com (localhost.localdomain [127.0.0.1]) by frothingslosh.sfbay.redhat.com (8.12.10/8.12.10) with ESMTP id i69AGiQw008077; Fri, 9 Jul 2004 03:16:44 -0700 Received: (from rth@localhost) by frothingslosh.sfbay.redhat.com (8.12.10/8.12.10/Submit) id i69AGiDp008075; Fri, 9 Jul 2004 03:16:44 -0700 X-Authentication-Warning: frothingslosh.sfbay.redhat.com: rth set sender to rth@redhat.com using -f Date: Fri, 09 Jul 2004 11:10:00 -0000 From: Richard Henderson To: Paolo Bonzini Cc: Paolo Bonzini , gcc-patches@gcc.gnu.org Subject: Re: gimplify mn10300 va_arg Message-ID: <20040709101644.GB8047@redhat.com> Mail-Followup-To: Richard Henderson , Paolo Bonzini , Paolo Bonzini , gcc-patches@gcc.gnu.org References: <20040708195110.GC20150@redhat.com> <40EE4596.1090008@polimi.it> <40EE5BA6.8080209@polimi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40EE5BA6.8080209@polimi.it> User-Agent: Mutt/1.4.1i X-SW-Source: 2004-07/txt/msg00931.txt.bz2 On Fri, Jul 09, 2004 at 10:47:34AM +0200, Paolo Bonzini wrote: > Here is the first bit. Tested on a mn10300-elf cross the same as rth > did; the code looks better except that it uses memmove instead of memcpy > to move the big struct. Oh, well, as you can see, I've taken care of the rest of them too. For the record, you should have noticed that this va_arg function was doing exactly the same thing as the generic one, modulo the one bit that handles indirect arguments. r~