From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28041 invoked by alias); 12 Jul 2002 11:56: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 28023 invoked by uid 71); 12 Jul 2002 11:56:00 -0000 Resent-Date: 12 Jul 2002 11:56:00 -0000 Resent-Message-ID: <20020712115600.28022.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, jbeulich@novell.com Received: (qmail 23621 invoked by uid 61); 12 Jul 2002 11:53:12 -0000 Message-Id: <20020712115312.23620.qmail@sources.redhat.com> Date: Fri, 12 Jul 2002 04:56:00 -0000 From: jbeulich@novell.com Reply-To: jbeulich@novell.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: middle-end/7285: unsigned-to-floating conversion not IA64 spec conformant X-SW-Source: 2002-07/txt/msg00374.txt.bz2 List-Id: >Number: 7285 >Category: middle-end >Synopsis: unsigned-to-floating conversion not IA64 spec conformant >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Fri Jul 12 04:56:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Jan Beulich >Release: 3.1 >Organization: >Environment: Cross compiler hosted on Cygwin/Win2K >Description: Since fcvt.xuf is an alias of fnorm (and hence pf fma), it will always raise the denormal/unnormal exception (or if disabled, set the status flag in ar.fpsr), but since this is not intended, fpsr.sf1 should be used for these conversions rather than fpsr.sf0. This is then consistent with fcvt.xf, which never raises any exception. >How-To-Repeat: Compile code like long double test(unsigned long long x) {return x;} examine the result, and compare with the equivalent code generated by Intel's compiler. >Fix: Add the .sf1 completer to all three floatunsdi?f2 insn-s in ia64.md. >Release-Note: >Audit-Trail: >Unformatted: