ieee denormal on ia64?

Anton Shterenlikht <[email protected]>
Newsgroups gmane.os.freebsd.current,gmane.os.freebsd.devel.ia64
Message-ID <[email protected]>
Can somebody please confirm that denormal
are not available on ia64, see below.

Thanks
Anton

----- Forwarded message from FX <[email protected]> -----

> 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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.