Subject: CVS commit: gnusrc
To: None <source-changes@netbsd.org>
From: matthew green <mrg@netbsd.org>
List: source-changes
Date: 03/06/2001 07:21:49
Module Name:	gnusrc
Committed By:	mrg
Date:		Tue Mar  6 05:21:49 UTC 2001

Modified Files:
	gnusrc/gnu/dist/toolchain/gcc: ChangeLog c-parse.c c-parse.h tm.texi
	    varasm.c
	gnusrc/gnu/dist/toolchain/gcc/config/sparc: sparc.c sparc.h sparc.md
	gnusrc/gnu/dist/toolchain/gcc/objc: objc-parse.c

Log Message:
pull across a few changes from gcc-current for sparc64:

	1999/08/02  Jakub Jelinek  <jj@ultra.linux.cz>
	* config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
	(RTX_OK_FOR_OLO10): Likewise.
	(GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
	%lo(), allow it in addresses...
	(PRINT_OPERAND_ADDRESS): ... and print it appropriately.
	* config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
	does not make sense.
	* config/sparc/sparc.c (sparc_hard_reg_printed): New array.
	(sparc_output_scratch_registers): New function.
	(output_function_prologue, sparc_flat_output_function_prologue): Use
	it.
	* varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
	defined.
	* tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.

	1999/07/30  Jakub Jelinek  <jj@ultra.linux.cz>
	* config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
	Fix patterns so that they actually match.
	(cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
	(mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
	(const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
	TARGET_HARD_MUL32.
	(mulsidi3): Reflect this in the expand.
	(smulsi3_highpart): Only on TARGET_ARCH32.
	(umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
	(const_umulsidi3_sp32): Renamed from const_umulsidi3.
	(umulsidi3): Reflect this in the expand.
	(umulsi3_highpart): Only on TARGET_ARCH32.
	(divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
	don't require g0 to be zero.
	(udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
	({,u}divsi3): New expands.
	({,u}divsi3_sp64): New patterns.
	(after lshrdi3_v8plus): Four new patterns to help combiner
	optimizing nested mixed mode shifts.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 gnusrc/gnu/dist/toolchain/gcc/ChangeLog
cvs rdiff -r1.1.1.1 -r1.2 gnusrc/gnu/dist/toolchain/gcc/c-parse.c \
    gnusrc/gnu/dist/toolchain/gcc/c-parse.h \
    gnusrc/gnu/dist/toolchain/gcc/tm.texi \
    gnusrc/gnu/dist/toolchain/gcc/varasm.c
cvs rdiff -r1.2 -r1.3 gnusrc/gnu/dist/toolchain/gcc/config/sparc/sparc.c \
    gnusrc/gnu/dist/toolchain/gcc/config/sparc/sparc.md
cvs rdiff -r1.1.1.1 -r1.2 gnusrc/gnu/dist/toolchain/gcc/config/sparc/sparc.h
cvs rdiff -r1.1.1.1 -r1.2 gnusrc/gnu/dist/toolchain/gcc/objc/objc-parse.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.