From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25491 invoked by alias); 30 Sep 2002 23: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 25477 invoked by uid 71); 30 Sep 2002 23:26:01 -0000 Date: Mon, 30 Sep 2002 16:26:00 -0000 Message-ID: <20020930232601.25476.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Richard Henderson Subject: Re: target/8087: sparc-sun-solaris2.7 C testsuite failures in execute/20020720-1.c w/-m64 or on sparcv9/sparc64 Reply-To: Richard Henderson X-SW-Source: 2002-09/txt/msg00893.txt.bz2 List-Id: The following reply was made to PR target/8087; it has been noted by GNATS. From: Richard Henderson To: davem@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, ghazi@caip.rutgers.edu, nobody@gcc.gnu.org, davem@redhat.com, jakub@redhat.com, roger@eyesopen.com, gcc-gnats@gcc.gnu.org Cc: Subject: Re: target/8087: sparc-sun-solaris2.7 C testsuite failures in execute/20020720-1.c w/-m64 or on sparcv9/sparc64 Date: Mon, 30 Sep 2002 16:24:21 -0700 On Mon, Sep 30, 2002 at 10:52:04PM -0000, davem@gcc.gnu.org wrote: > The problem is, it's REALLY REALLY expensive to set the > float condition codes to a constant value (two FPU synchronizing > memory operations). Not really. Zero is easy: fzeros %f0 fnot1s %f1, %f0 fcmps %fcc0, %f1, %f0 (note that ~0 is a NaN). One is sort of meaningless all on its own. You have to know what sort of comparison is going to be used with it.o Hum, actually that's true with NaN and UNORDERED as well. I.e. this is all bogus for COMPARE targets. r~