diff options
author | David Edelsohn <edelsohn@gnu.org> | 2004-09-22 04:05:12 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2004-09-22 00:05:12 -0400 |
commit | 0a4f0294304e28e3a5012ac4e1eaf966314de0c2 (patch) | |
tree | 686bda4e1c97f28ecaa80fa9a498e867e17409b3 | |
parent | 1ae57298f9397b3a8476060f57045838847af293 (diff) | |
download | gcc-0a4f0294304e28e3a5012ac4e1eaf966314de0c2.zip gcc-0a4f0294304e28e3a5012ac4e1eaf966314de0c2.tar.gz gcc-0a4f0294304e28e3a5012ac4e1eaf966314de0c2.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/rs6000/linux64.h | 2 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 3 |
3 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 147d8d8..3047ad6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-09-21 David Edelsohn <edelsohn@gnu.org> + + * 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 <mark@codesourcery.com> * 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 68a9955..04d92d4 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 ced2149..eba4a06 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; |