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]

r118589 - in /branches/redhat/gcc-4_1-branch/gc...


Author: jakub
Date: Wed Nov  8 17:00:52 2006
New Revision: 118589

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=118589
Log:
2006-07-12  Pete Steinmetz <steinmtz@us.ibm.com>
	    Peter Bergner <bergner@vnet.ibm.com>

	* doc/invoke.texi (RS/6000 and PowerPC Options): Add -mmfpgpr.
	* recog.c (store_data_bypass_p): Add support to allow IN_INSN to
	be a PARALLEL containing sets.  Return false when out_pat is not
	a PARALLEL insn.
	* configure.ac: Add test for mf{t,f}gpr instructions.
	(HAVE_AS_MFPGPR): New.
	* configure: Regenerate.
	* config.in: Regenerate.
	* config/rs6000/linux64.h (PROCESSOR_DEFAULT): Default to POWER6.
	(PROCESSOR_DEFAULT64): Likewise.
	* config/rs6000/rs6000.md (define_attr "type"): Add insert_dword,
	shift,trap,var_shift_rotate,cntlz,exts, var_delayed_compare, mffgpr
	and mftgpr attributes.
	(define_attr "cpu"): Add power6.
	Change instruction sequences to use new attributes.
	(floatsidf2,fix_truncdfsi2): use TARGET_MFPGPR.
	(fix_truncdfsi2_internal_mfpgpr): New.
	(floatsidf_ppc64_mfpgpr): New.
	(floatsidf_ppc64): Added !TARGET_MFPGPR condition.
	(movdf_hardfloat64_mfpgpr,movdi_internal64_mfpgpr): New.
	(movdf_hardfloat64): Added !TARGET_MFPGPR condition.
	(movdi_internal64): Added !TARGET_MFPGPR and related conditions.
	* config/rs6000/{6xx.md,power4.md,8540.md,603.md,mpc.md,
	7xx.md,rios2.md,7450.md,440.md,rios1.md,rs64.md,power5.md,40x.md}:
	Add descriptions for insert_dword, shift,trap,var_shift_rotate,
	cntlz,exts and var_delayed_compare.
	* config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
	_ARCH_PWR6, if features enabled.
	* config/rs6000/rs6000.opt (mmfpgpr): New.
	* config/rs6000/rs6000.c (rs6000_align_branch_targets): New variable.
	(cached_can_issue_more): New variable.
	(processor_costs): Add power6_cost.
	(rs6000_sched_init): New function.
	(is_dispatch_slot_restricted): Deleted.
	(set_to_load_agen): New function.
	(is_load_insn,is_store_insn): New functions.
	(adjacent_mem_locations): New function.
	(insn_must_be_first_in_group): New function.
	(insn_must_be_last_in_group): New function.
	(rs6000_sched_reorder): New function.
	(rs6000_sched_reorder2): New function.
	(TARGET_SCHED_INIT,TARGET_SCHED_REORDER,
	TARGET_SCHED_REORDER2): Define.
	(processor_target_table): Use PROCESSOR_POWER6 for power6,
	Add MASK_MFPGPR for power6.
	(POWERPC_MASKS): Add MASK_MFPGPR.
	(rs6000_override_options): Set rs6000_always_hint to false
	for power6.  Set rs6000_align_branch_targets. Replace
	rs6000_sched_groups check with rs6000_align_branch_targets.
	Use PROCESSOR_POWER6.
	(last_scheduled_insn): New variable.
	(load_store_pendulum): New variable.
	(rs6000_variable_issue): Set last_scheduled_insn and
	cached_can_issue_more.
	(rs6000_adjust_cost): Add power6 cost adjustments.
	(rs6000_adjust_priority): Replace is_dispatch_slot_restricted
	with insn_must_be_first_in_group. Add power6 priority adjustments.
	(rs6000_issue_rate): Add CPU_POWER6.
	(insn_terminates_group_p): Use insn_must_be_{first,last}_in_group.
	(rs6000_register_move_cost): Adjust rs6000_memory_move_cost if
	mf{t,f}gpr are available.
	* config/rs6000/rs6000.h (processor_type): Add PROCESSOR_POWER6.
	(TARGET_MFPGPR): New.
	(SECONDARY_MEMORY_NEEDED): Use TARGET_MFPGPR.
	* config/rs6000/power6.md: New file.

Added:
    branches/redhat/gcc-4_1-branch/gcc/config/rs6000/power6.md
Modified:
    branches/redhat/gcc-4_1-branch/gcc/ChangeLog
    branches/redhat/gcc-4_1-branch/gcc/config.in
    branches/redhat/gcc-4_1-branch/gcc/config/rs6000/40x.md
    branches/redhat/gcc-4_1-branch/gcc/config/rs6000/440.md
    branches/redhat/gcc-4_1-branch/gcc/config/rs6000/603.md
    branches/redhat/gcc-4_1-branch/gcc/config/rs6000/6xx.md
    branches/redhat/gcc-4_1-branch/gcc/config/rs6000/7450.md
    branches/redhat/gcc-4_1-branch/gcc/config/rs6000/7xx.md
    branches/redhat/gcc-4_1-branch/gcc/config/rs6000/8540.md
    branches/redhat/gcc-4_1-branch/gcc/config/rs6000/linux64.h
    branches/redhat/gcc-4_1-branch/gcc/config/rs6000/mpc.md
    branches/redhat/gcc-4_1-branch/gcc/config/rs6000/power4.md
    branches/redhat/gcc-4_1-branch/gcc/config/rs6000/power5.md
    branches/redhat/gcc-4_1-branch/gcc/config/rs6000/rios1.md
    branches/redhat/gcc-4_1-branch/gcc/config/rs6000/rios2.md
    branches/redhat/gcc-4_1-branch/gcc/config/rs6000/rs6000-c.c
    branches/redhat/gcc-4_1-branch/gcc/config/rs6000/rs6000.c
    branches/redhat/gcc-4_1-branch/gcc/config/rs6000/rs6000.h
    branches/redhat/gcc-4_1-branch/gcc/config/rs6000/rs6000.md
    branches/redhat/gcc-4_1-branch/gcc/config/rs6000/rs6000.opt
    branches/redhat/gcc-4_1-branch/gcc/config/rs6000/rs64.md
    branches/redhat/gcc-4_1-branch/gcc/configure
    branches/redhat/gcc-4_1-branch/gcc/configure.ac
    branches/redhat/gcc-4_1-branch/gcc/doc/invoke.texi
    branches/redhat/gcc-4_1-branch/gcc/recog.c


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