From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id AE32F2F217 for ; Tue, 1 May 2001 06:56:38 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f41ArcQ30257 for axp-list@listman.redhat.com; Tue, 1 May 2001 06:53:38 -0400 Received: from smtp5ve.mailsrvcs.net (smtp5vepub.gte.net [206.46.170.26]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f41Arcb30253 for ; Tue, 1 May 2001 06:53:38 -0400 Received: from voicenet.com (adsl-141-155-108-66.nyc.adsl.bellatlantic.net [141.155.108.66]) by smtp5ve.mailsrvcs.net (8.9.1/8.9.1) with ESMTP id LAA813803 for ; Tue, 1 May 2001 11:00:50 GMT Message-ID: <3AEE9664.8B77AEE@voicenet.com> Date: Tue, 01 May 2001 06:56:36 -0400 From: Uncle George X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.17-15 alpha) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: FP Exceptions References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: for linux 2.4.3 in arch/alpha/math-emu/math ( approx line 215 ) have a try with this change. This should fix a conversion of a single FP denorm, into a double. /gat \ > case FOP_FNC_CVTxS: > /* It is irritating that DEC encoded CVTST with > SRC == T_floating. It is also interesting that > the bit used to tell the two apart is /U... */ > if (insn & 0x2000) { > FP_CONV(S,D,1,1,SR,DB); > goto pack_s; > } else { > /* CVTST need do nothing else but copy the > bits and repack. */ > /* Not exactly, > * Conversion is from single -> double > * so vb needs to be in a 32 bit > * float form, and UNPACK'ed as such! */ > vb = alpha_read_fp_reg_s(fb); > FP_UNPACK_SP(SB, &vb); > DR_c = SB_c; > DR_s = SB_s; > DR_e = SB_e; > DR_f = SB_f << ( 52 - 23 ); > > goto pack_d; > } > > > > > The problem I'm running into is when denorms are generated within optimized > libraries like CXML (specifically the BLAS routines). I've tried to > c