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.hammer c-common.c real.h rea ...


CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	hammer-3_3-branch
Changes by:	amodra@gcc.gnu.org	2004-03-05 15:06:09

Modified files:
	gcc            : ChangeLog.hammer c-common.c real.h real.c 
	gcc/config/mips: iris6.h mips.c t-iris6 t-mips 
	gcc/config     : fp-bit.c 

Log message:
	* real.c (encode_ibm_extended): Don't bother rounding low double.
	* c-common.c (builtin_define_float_constants): Tweak MAX
	when fmt->pnan < fmt->p.
	
	Backport from mainline
	2004-02-08  Richard Sandiford  <rsandifo@redhat.com>
	* real.c (encode_ibm_extended): Normalize the input value before
	converting it to a double.  Handle the case where a normal value
	rounds to infinity.
	
	2003-04-01  Alexandre Oliva  <aoliva@redhat.com>
	* real.h (EXP_BITS): Make room for...
	(struct real_value): ... added canonical bit.
	(struct real_format): Added pnan.
	(mips_single_format, mips_double_format, mips_extended_format,
	mips_quad_format): New.
	* real.c: Copy p to pnan in all formats.
	(get_canonical_qnan, get_canonical_snan): Set canonical bit.
	(real_nan): Use pnan to compute significand's shift.
	(real_identical): Disregard significand in canonical NaNs.
	(real_hash): Likewise.  Take signalling into account.
	(encode_ieee_single, encode_ieee_double, encode_ieee_quad):
	Disregard significand bits in canonical NaNs.  Set all bits of
	canonical NaN if !qnan_msb_set.
	(encode_ibm_extended, decode_ibm_extended): Likewise.  Use
	qnan_msb_set to tell the base double format.
	(ibm_extended_format): Use 53 as pnan.
	(mips_single_format, mips_double_format, mips_extended_format,
	mips_quad_format): Copied from the corresponding ieee/ibm
	formats, with qnan_msb_set false.
	* config/mips/iris6.h (MIPS_TFMODE_FORMAT): Use mips_extended_format.
	* config/mips/mips.c (override_options): Use mips_single_format
	and mips_double_format.  Default TFmode to mips_quad_format.
	* config/mips/t-iris6 (tp-bit.c): Define QUIET_NAN_NEGATED.
	* config/mips/t-mips (fp-bit.c, dp-bit.c): Likewise.
	* config/fp-bit.c (pack_d, unpack_d): Obey it.
	
	2003-03-31  Richard Henderson  <rth@redhat.com>
	* real.c (real_identical): Reorg so as to not compare
	signalling for normals.
	
	2003-03-27  Richard Henderson  <rth@redhat.com>
	* real.h (struct real_value): Add signalling.
	(EXP_BITS): Decrement.
	* real.c (get_canonical_qnan): Don't set MSB-1.
	(get_canonical_snan): Likewise.  Set signalling.
	(real_identical): Compare signalling.
	(round_for_format): Remove force-one-bit on code.
	(real_nan): Likewise.  Set signalling.
	(encode_ieee_single): Add force-one-bit code; honor signalling.
	(encode_ieee_double, encode_ieee_extended, encode_ieee_quad): Likewise.
	(decode_ieee_single): Set signalling.
	(decode_ieee_double, decode_ieee_extended, decode_ieee_quad): Likewise.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.hammer.diff?cvsroot=gcc&only_with_tag=hammer-3_3-branch&r1=1.1.2.357&r2=1.1.2.358
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-common.c.diff?cvsroot=gcc&only_with_tag=hammer-3_3-branch&r1=1.390.2.10&r2=1.390.2.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/real.h.diff?cvsroot=gcc&only_with_tag=hammer-3_3-branch&r1=1.59.2.1&r2=1.59.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/real.c.diff?cvsroot=gcc&only_with_tag=hammer-3_3-branch&r1=1.103.2.6&r2=1.103.2.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/mips/iris6.h.diff?cvsroot=gcc&only_with_tag=hammer-3_3-branch&r1=1.54.6.3&r2=1.54.6.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/mips/mips.c.diff?cvsroot=gcc&only_with_tag=hammer-3_3-branch&r1=1.240.2.6&r2=1.240.2.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/mips/t-iris6.diff?cvsroot=gcc&only_with_tag=hammer-3_3-branch&r1=1.15.2.2&r2=1.15.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/mips/t-mips.diff?cvsroot=gcc&only_with_tag=hammer-3_3-branch&r1=1.5&r2=1.5.18.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/fp-bit.c.diff?cvsroot=gcc&only_with_tag=hammer-3_3-branch&r1=1.36.2.2&r2=1.36.2.3


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