From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7420 invoked by alias); 15 Nov 2002 23:48:38 -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 7412 invoked from network); 15 Nov 2002 23:48:37 -0000 Received: from unknown (HELO atlrel9.hp.com) (156.153.255.214) by sources.redhat.com with SMTP; 15 Nov 2002 23:48:37 -0000 Received: from hpda.cup.hp.com (hpda.cup.hp.com [15.75.208.53]) by atlrel9.hp.com (Postfix) with ESMTP id 215F7E0058F; Fri, 15 Nov 2002 18:48:37 -0500 (EST) Received: from hpsje.cup.hp.com (hpsje.cup.hp.com [15.244.96.221]) by hpda.cup.hp.com (Postfix) with ESMTP id 7AD3D4641; Fri, 15 Nov 2002 15:48:36 -0800 (PST) Received: (from sje@localhost) by hpsje.cup.hp.com (8.8.6 (PHNE_17190)/8.7.3 TIS Messaging 5.0) id PAA26381; Fri, 15 Nov 2002 15:48:36 -0800 (PST) Date: Fri, 15 Nov 2002 15:48:00 -0000 From: Steve Ellcey Message-Id: <200211152348.PAA26381@hpsje.cup.hp.com> To: dave@hiauly1.hia.nrc.ca, wilson@redhat.com Cc: gcc-patches@gcc.gnu.org Subject: Re: HP-UX IA64 Patch to fix earlier patch In-Reply-To: <200211150002.gAF021fD013288@hiauly1.hia.nrc.ca> X-SW-Source: 2002-11/txt/msg00939.txt.bz2 > From: "John David Anglin" > > I agree with Jim here. Not too long ago, I used this technique to avoid > defining FUNCTION_ARG_REG_LITTLE_ENDIAN on the hppa64 port. I also > managed to fix a long standing bug in the 32-bit port passing small > structs using the same technique. Jim's comment is an over simplification > of what really happens when a DImode value is used in a PARALLEL on > big-endian 32-port. You actually get right-justified data in this case. > See function_arg and function_arg_padding in pa.c. I'll give this a try. Do you know if this behavour keys off of WORDS_BIG_ENDIAN, BYTES_BIG_ENDIAN, or BITS_BIG_ENDIAN? On PA HP-UX all of these are 1, but on IA64 HP-UX we are setting BYTES and WORDS to 1 and leaving BITS at 0. Setting BITS_BIG_ENDIAN to 1 was causing some problems that I don't recall off the top of my head. Steve Ellcey sje@cup.hp.com