in verbose_asm output.
* config/rs6000/rs6000.h (PPC405_ERRATUM77): Bracket with
CONFIG_PPC405CR.
* config.gcc (powerpc with_which): Define CONFIG_PPC405CR for
405cr.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101356
138bc75d-0d04-0410-961f-
82ee72b054a4
+2005-06-27 David Edelsohn <edelsohn@gnu.org>
+
+ * config/rs6000/rs6000.c (rs6000_file_start): Note PPC405 erratum
+ in verbose_asm output.
+ * config/rs6000/rs6000.h (PPC405_ERRATUM77): Bracket with
+ CONFIG_PPC405CR.
+ * config.gcc (powerpc with_which): Define CONFIG_PPC405CR for
+ 405cr.
+
2005-06-27 Jakub Jelinek <jakub@redhat.com>
* builtin-attrs.def (DEF_ATTR_FOR_INT): Add for 5 and 6.
with_which="with_$which"
eval $with_which=
;;
+ 405cr)
+ tm_defines="${tm_defines} CONFIG_PPC405CR"
+ eval "with_$which=405"
+ ;;
"" | common \
| power | power[2345] | powerpc | powerpc64 \
| rios | rios1 | rios2 | rsc | rsc1 | rs64a \
}
}
+#ifdef CONFIG_PPC405CR
+ if (rs6000_cpu == PROCESSOR_PPC405)
+ {
+ fprint (file, "%s PPC405CR_ERRATUM77", start);
+ start = "";
+ }
+#endif
+
#ifdef USING_ELFOS_H
switch (rs6000_sdata)
{
#endif
/* If configured for PPC405, support PPC405CR Erratum77. */
-#define PPC405_CPU_DEFAULT ("405")
-#if #TARGET_CPU_DEFAULT == #PPC405_CPU_DEFAULT
+#ifdef CONFIG_PPC405CR
#define PPC405_ERRATUM77 (rs6000_cpu == PROCESSOR_PPC405)
#else
#define PPC405_ERRATUM77 0