From owner-freebsd-ia64@FreeBSD.ORG Fri Feb 25 09:33:48 2011 Return-Path: Delivered-To: freebsd-ia64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8AB9A106566B; Fri, 25 Feb 2011 09:33:48 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 491AD8FC15; Fri, 25 Feb 2011 09:33:48 +0000 (UTC) Received: from ncsd.bris.ac.uk ([137.222.10.59] helo=ncs.bris.ac.uk) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1Psu3W-0004K2-QD; Fri, 25 Feb 2011 09:33:46 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Psu3W-00037i-M9; Fri, 25 Feb 2011 09:33:46 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4) with ESMTP id p1P9XkvN015692; Fri, 25 Feb 2011 09:33:46 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4/Submit) id p1P9XkGX015691; Fri, 25 Feb 2011 09:33:46 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Fri, 25 Feb 2011 09:33:46 +0000 From: Anton Shterenlikht To: freebsd-current@freebsd.org, freebsd-ia64@freebsd.org Message-ID: <20110225093345.GA2123@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: freebsd-current@freebsd.org, freebsd-ia64@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: Subject: ieee denormal on ia64? X-BeenThere: freebsd-ia64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the IA-64 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 09:33:48 -0000 Can somebody please confirm that denormal are not available on ia64, see below. Thanks Anton ----- Forwarded message from FX ----- > What about denormal? The FreeBSD manpage for fpsetmask() at http://tinyurl.com/64oo7zh says: > #define FP_X_DNML 0x02 /* denormal */ so it is, in principle, available. However, looking at the FreeBSD 8 source tree, I see for sys/ia64/include/ieeefp.h: #define FP_X_INV IA64_FPSR_TRAP_VD /* invalid operation exception */ #define FP_X_DZ IA64_FPSR_TRAP_ZD /* divide-by-zero exception */ #define FP_X_OFL IA64_FPSR_TRAP_OD /* overflow exception */ #define FP_X_UFL IA64_FPSR_TRAP_UD /* underflow exception */ #define FP_X_IMP IA64_FPSR_TRAP_ID /* imprecise(inexact) exception */ which means underflow is not a supported exception, while it is for amd64: #define FP_X_DNML 0x02 /* denormal */ and also for i386: #define FP_X_DNML 0x02 /* denormal */ So, in this case, it's actually an OS issue! Cheers, FX ----- End forwarded message ----- -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423