From: David Edelsohn Date: Wed, 22 Sep 2004 04:05:12 +0000 (+0000) Subject: linux64.h (PROCESSOR_DEFAULT64): Default to POWER4. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0a4f0294304e28e3a5012ac4e1eaf966314de0c2;p=gcc.git linux64.h (PROCESSOR_DEFAULT64): Default to POWER4. * config/rs6000/linux64.h (PROCESSOR_DEFAULT64): Default to POWER4. * config/rs6000/rs6000.c (rs6000_adjust_cost): dep_insn is used. From-SVN: r87843 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 147d8d856b7..3047ad65847 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-09-21 David Edelsohn + + * config/rs6000/linux64.h (PROCESSOR_DEFAULT64): Default to POWER4. + + * config/rs6000/rs6000.c (rs6000_adjust_cost): dep_insn is used. + 2004-09-21 Mark Mitchell * c-decl.c (implicityl_declare): Call maybe_apply_renaming_pragma. diff --git a/gcc/config/rs6000/linux64.h b/gcc/config/rs6000/linux64.h index 68a9955a4fd..04d92d442b6 100644 --- a/gcc/config/rs6000/linux64.h +++ b/gcc/config/rs6000/linux64.h @@ -58,7 +58,7 @@ extern int dot_symbols; #endif #undef PROCESSOR_DEFAULT64 -#define PROCESSOR_DEFAULT64 PROCESSOR_PPC630 +#define PROCESSOR_DEFAULT64 PROCESSOR_POWER4 #undef TARGET_RELOCATABLE #define TARGET_RELOCATABLE (!TARGET_64BIT && (target_flags & MASK_RELOCATABLE)) diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index ced21493a61..eba4a0672fb 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -15189,8 +15189,7 @@ rs6000_variable_issue (FILE *stream ATTRIBUTE_UNUSED, a dependency LINK or INSN on DEP_INSN. COST is the current cost. */ static int -rs6000_adjust_cost (rtx insn, rtx link, rtx dep_insn ATTRIBUTE_UNUSED, - int cost) +rs6000_adjust_cost (rtx insn, rtx link, rtx dep_insn, int cost) { if (! recog_memoized (insn)) return 0;