From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21138 invoked by alias); 7 Oct 2002 16:26:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 21102 invoked by uid 71); 7 Oct 2002 16:26:01 -0000 Date: Mon, 07 Oct 2002 09:26:00 -0000 Message-ID: <20021007162601.21101.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: "David S. Miller" Subject: Re: target/8087: sparc-sun-solaris2.7 C testsuite failures in execute/20020720-1.c w/-m64 or on sparcv9/sparc64 Reply-To: "David S. Miller" X-SW-Source: 2002-10/txt/msg00261.txt.bz2 List-Id: The following reply was made to PR target/8087; it has been noted by GNATS. From: "David S. Miller" To: roger@eyesopen.com Cc: davem@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, ghazi@caip.rutgers.edu, rth@redhat.com, jakub@redhat.com, gcc-gnats@gcc.gnu.org Subject: Re: target/8087: sparc-sun-solaris2.7 C testsuite failures in execute/20020720-1.c w/-m64 or on sparcv9/sparc64 Date: Mon, 07 Oct 2002 09:18:51 -0700 (PDT) From: Roger Sayle Date: Mon, 7 Oct 2002 10:08:04 -0600 (MDT) The REG_EQUAL notes is a separate issue. The fixes that I'm still investigating address the sparc64 backend's convoluted constant pool loading code. There is nothing convoluted about it. That's a perfectly valid and fine way to output a load from the constant pool and expose all of the instructions to the compiler for scheduling purposes. It's very complicated to "defer" the full-blown load till later in the compilatio if that's the idea you have. You have to force the thing into a register early to get good code and sane behavior. Ignoring REG_EQUAL is a bug, and once that bug is fixed the sparc64 "convoluted" constant pool load works as well as "(set reg (const_double 0.0))"