ieee denormal on ia64?

From: Anton Shterenlikht <mexas_at_bristol.ac.uk>
Date: Fri, 25 Feb 2011 09:33:46 +0000
Can somebody please confirm that denormal
are not available on ia64, see below.

Thanks
Anton

----- Forwarded message from FX <fxcoudert_at_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
Received on Fri Feb 25 2011 - 08:33:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:11 UTC