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]

r126051 - in /branches/ibm/gcc-4_1-branch/gcc: ...


Author: bergner
Date: Wed Jun 27 03:09:01 2007
New Revision: 126051

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126051
Log:
	Backport of submitted mainline SDmode in FPRs patch.

	* targhooks.c (default_min_stack_slot_size_for_mode): New default
	target hook.
	* targhooks.h (default_min_stack_slot_size_for_mode): Add prototype.
	* target.h (struct gcc_target): Add min_stack_slot_size_for_mode.
	* emit-rtl.c (validate_subreg): Revert 2007-05-22 change.
	* target-def.h (TARGET_MIN_STACK_SLOT_SIZE_FOR_MODE): Define as
	default_min_stack_slot_size_for_mode.
	(TARGET_INITIALIZER): Initialize min_stack_slot_size_for_mode with
	TARGET_MIN_STACK_SLOT_SIZE_FOR_MODE.
	* combine.c (expand_field_assignment): Revert 2007-05-22 change.
	* config/rs6000/rs6000.c (rs6000_min_stack_slot_size_for_mode):
	New function.
	(TARGET_MIN_STACK_SLOT_SIZE_FOR_MODE): Use it.
	* config/rs6000/rs6000.h (SECONDARY_MEMORY_NEEDED_RTX): Use the new
	min_stack_slot_size_for_mode target hook.
	* config/rs6000/dfp.md (movsd_subreg_store, movsd_subreg_load):
	Rename to movsd_store and movsd_load repsectively.  Use unspec
	rather than subreg.
	(movsd): Use new names.  Revert 2007-06-08 change.
	(movsd_hardfloat): Remove fpstore and fpload options.
	* config/rs6000/rs6000.md (UNSPEC_MOVSD_F2M): Delete.
	(UNSPEC_MOVSD_M2F): Likewise.
	(UNSPEC_MOVSD_LOAD): New constant.
	(UNSPEC_MOVSD_STORE): Likewise.
	* reload1.c (alter_reg): Use new min_stack_slot_size_for_mode target
	hook.

Modified:
    branches/ibm/gcc-4_1-branch/gcc/ChangeLog
    branches/ibm/gcc-4_1-branch/gcc/combine.c
    branches/ibm/gcc-4_1-branch/gcc/config/rs6000/dfp.md
    branches/ibm/gcc-4_1-branch/gcc/config/rs6000/rs6000.c
    branches/ibm/gcc-4_1-branch/gcc/config/rs6000/rs6000.h
    branches/ibm/gcc-4_1-branch/gcc/config/rs6000/rs6000.md
    branches/ibm/gcc-4_1-branch/gcc/emit-rtl.c
    branches/ibm/gcc-4_1-branch/gcc/reload1.c
    branches/ibm/gcc-4_1-branch/gcc/target-def.h
    branches/ibm/gcc-4_1-branch/gcc/target.h
    branches/ibm/gcc-4_1-branch/gcc/targhooks.c
    branches/ibm/gcc-4_1-branch/gcc/targhooks.h


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