gcc/gcc ChangeLog.dfp c-common.c combine.c cse ...

janis@gcc.gnu.org janis@gcc.gnu.org
Wed Sep 7 17:15:00 GMT 2005


CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	dfp-branch
Changes by:	janis@gcc.gnu.org	2005-09-07 17:15:00

Modified files:
	gcc            : ChangeLog.dfp c-common.c combine.c cse.c 
	                 decRound.c emit-rtl.c expmed.c expr.c 
	                 genmodes.c genopinit.c machmode.def machmode.h 
	                 mode-classes.def optabs.c real.h reg-stack.c 
	                 regclass.c simplify-rtx.c stor-layout.c 
	                 targhooks.c var-tracking.c varasm.c 
	gcc/config     : dfp-bit.h 

Log message:
	* c-common.c (handle_mode_addtribute): Handle MODE_DECIMAL_FLOAT.
	* combine.c (simplify_comparison): Remove unneeded assert.
	* cse.c (cse_insn): Use GET_MODE_WIDER_MODE.
	* decRound.c (__dfp_rounding_mode): Add comment.
	* emit-rtl.c (init_emit_once): Don't check for DEC_IMAL_FLOAT_MODE_P,
	handle MODE_DECIMAL_FLOAT separately.
	* expmed.c (init_expmed, expand_divmod): Use GET_MODE_WIDER_MODE.
	* expr.c (init_expr_once): Don't check INCOMPATIBLE_MODES_P.
	(convert_move): Check that exactly one mode is decimal float; use
	GET_MODE_WIDER_MODE.
	(compress_float_constant): Don't check INCOMPATIBLE_MODES_P.
	* genmodes.c (struct mode_data): Update comment for format.
	(complete_mode): Handle MODE_DECIMAL_FLOAT, update check for mode
	using a format.
	(make_complex_modes: Remove FIXME comment, disabled code which are
	not needed without support for complex decimal float types.
	(DECIMAL_FLOAT_MODE, FRACTIONAL_DECIMAL_FLOAT_MODE): New.
	(make_decimal_float_mode): New.
	(reset_float_format): Handle MODE_DECIMAL_FLOAT.
	(emit_format_for_mode): Support formats for decimal floats.
	* genopinit.c (gen_insn): Handle MODE_DECIMAL_FLOAT.
	* machmode.def (DECIMAL_FLOAT_MODE): Document;, use it to define
	decimal float modes.
	* machmode.h (FLOAT_MODE_P, SCALAR_FLOAT_MODE_P, MODES_WIDEN_P):
	Include MODE_DECIMAL_FLOAT.
	(DECIMAL_FLOAT_MODE_P): Redefine, update comment.
	(INCOMPATIBLE_MODES_P): Remove.
	(GET_MODE_COMPATIBLE_WIDER_MODE): Remove.
	* mode-classes.def (MODE_DECIMAL_FLOAT): Define.
	* optabs.c (expand_binop, expand_twoval_unop, expand_twoval_binop,
	widen_clz, expand_parity, expand_unop, can_compare_p,
	emit_cmp_and_jump_insn_1, prepare_float_lib_cmp, expand_float,
	expand_fix): Use GET_MODE_WIDER_MODE.
	(init_floating_libfuncs): Handle decimal float modes.
	(init_optabs): Handle libfuncs for decimal float.
	* real.h (real_format): Change size, update documentation.
	(REAL_MODE_FORMAT): Update for to handle float, decimal float.
	* reg-stack.c (reg_to_stack): Remove check for DECIMAL_FLOAT_MODE_P.
	* regclass.c (choose_hard_reg_mode): Ditto.
	* simplify-rtx.c (simplify_immed_subreg): Handle MODE_DECIMAL_FLOAT.
	* stor-layout.c (int_mode_for_mode): Handle MODE_DECIMAL_FLOAT.
	(get_mode_compatible_wider_mode): Remove.
	* targhooks.c (default_scalar_mode_supported_p): Handle
	MODE_DECIMAL_FLOAT separately.
	* var-tracking.c (emit_note_insn_var_location): Use
	GET_MODE_WIDER_MODE.
	* varasm.c (output_constant_pool_2): Handle MODE_DECIMAL_FLOAT.
	* config/dfp-bit.h: Change names of functions for MODE_FLOAT and
	MODE_DECIMAL_FLOAT, which are no longer in the same class.

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.117&r2=1.1.2.118
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-common.c.diff?cvsroot=gcc&only_with_tag=dfp-branch&r1=1.603.2.14&r2=1.603.2.15
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/combine.c.diff?cvsroot=gcc&only_with_tag=dfp-branch&r1=1.474.2.10&r2=1.474.2.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cse.c.diff?cvsroot=gcc&only_with_tag=dfp-branch&r1=1.342.2.9&r2=1.342.2.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/decRound.c.diff?cvsroot=gcc&only_with_tag=dfp-branch&r1=1.1.2.3&r2=1.1.2.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/emit-rtl.c.diff?cvsroot=gcc&only_with_tag=dfp-branch&r1=1.433.6.9&r2=1.433.6.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/expmed.c.diff?cvsroot=gcc&only_with_tag=dfp-branch&r1=1.222.2.7&r2=1.222.2.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/expr.c.diff?cvsroot=gcc&only_with_tag=dfp-branch&r1=1.778.2.11&r2=1.778.2.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/genmodes.c.diff?cvsroot=gcc&only_with_tag=dfp-branch&r1=1.15.14.5&r2=1.15.14.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/genopinit.c.diff?cvsroot=gcc&only_with_tag=dfp-branch&r1=1.86.4.6&r2=1.86.4.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/machmode.def.diff?cvsroot=gcc&only_with_tag=dfp-branch&r1=1.29.14.3&r2=1.29.14.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/machmode.h.diff?cvsroot=gcc&only_with_tag=dfp-branch&r1=1.38.60.5&r2=1.38.60.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/mode-classes.def.diff?cvsroot=gcc&only_with_tag=dfp-branch&r1=1.1.76.1&r2=1.1.76.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/optabs.c.diff?cvsroot=gcc&only_with_tag=dfp-branch&r1=1.259.2.13&r2=1.259.2.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/real.h.diff?cvsroot=gcc&only_with_tag=dfp-branch&r1=1.82.2.8&r2=1.82.2.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/reg-stack.c.diff?cvsroot=gcc&only_with_tag=dfp-branch&r1=1.171.6.9&r2=1.171.6.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/regclass.c.diff?cvsroot=gcc&only_with_tag=dfp-branch&r1=1.203.4.4&r2=1.203.4.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/simplify-rtx.c.diff?cvsroot=gcc&only_with_tag=dfp-branch&r1=1.227.2.9&r2=1.227.2.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/stor-layout.c.diff?cvsroot=gcc&only_with_tag=dfp-branch&r1=1.223.6.8&r2=1.223.6.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/targhooks.c.diff?cvsroot=gcc&only_with_tag=dfp-branch&r1=2.36.6.5&r2=2.36.6.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/var-tracking.c.diff?cvsroot=gcc&only_with_tag=dfp-branch&r1=2.26.4.4&r2=2.26.4.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/varasm.c.diff?cvsroot=gcc&only_with_tag=dfp-branch&r1=1.477.2.10&r2=1.477.2.11
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.22&r2=1.1.2.23



More information about the Gcc-cvs mailing list