This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gcc/gcc ChangeLog.dfp decLibrary.c config/dfp- ...


CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	dfp-branch
Changes by:	bje@gcc.gnu.org	2005-09-13 05:24:13

Modified files:
	gcc            : ChangeLog.dfp decLibrary.c 
	gcc/config     : dfp-bit.h dfp-bit.c 

Log message:
	* decLibrary.c (__dfp_traps): New variable.
	(__dfp_enable_traps): New.
	(__dfp_raise): Likewise.
	* config/dfp-bit.h (CONTEXT_TRAPS): Use alternative defintion.
	(DFP_RAISE): Likewise.
	(CONTEXT_ERRORS): New macro.
	* config/dfp-bit.c (dfp_unary_op): Do not set context.traps
	(always leave it set to 0), but raise an FP exception if signaling
	NaNs are enabled and the arithmetic produces an exception.
	(dfp_binary_op): Likewise.
	(dfp_compare_op): Likewise.
	(DFP_TO_DFP, DFP_TO_INT, INT_TO_DFP, BFP_TO_DFP): Do not set
	context.traps. Raise DEC_Inexact for inexact rounding.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.dfp.diff?cvsroot=gcc&only_with_tag=dfp-branch&r1=1.1.2.122&r2=1.1.2.123
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/decLibrary.c.diff?cvsroot=gcc&only_with_tag=dfp-branch&r1=1.1.2.2&r2=1.1.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/dfp-bit.h.diff?cvsroot=gcc&only_with_tag=dfp-branch&r1=1.1.2.23&r2=1.1.2.24
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/dfp-bit.c.diff?cvsroot=gcc&only_with_tag=dfp-branch&r1=1.1.2.19&r2=1.1.2.20


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]