Date: Fri, 25 Feb 2011 09:33:46 +0000 From: Anton Shterenlikht <mexas@bristol.ac.uk> To: freebsd-current@freebsd.org, freebsd-ia64@freebsd.org Subject: ieee denormal on ia64? Message-ID: <20110225093345.GA2123@mech-cluster241.men.bris.ac.uk>
next in thread | raw e-mail | index | archive | help
Can somebody please confirm that denormal are not available on ia64, see below. Thanks Anton ----- Forwarded message from FX <fxcoudert@gmail.com> ----- > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110225093345.GA2123>