aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1996-10-26 12:20:31 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1996-10-26 12:20:31 -0400
commit2163f11be552b1be51e06515eda0e538b9d3f33e (patch)
tree0b8c69fb474c02ef05d0ba69c3adb0c5fd46b554
parentba542005ef1a007b3bb106323a96d16efcd8ae3e (diff)
downloadgcc-2163f11be552b1be51e06515eda0e538b9d3f33e.zip
gcc-2163f11be552b1be51e06515eda0e538b9d3f33e.tar.gz
gcc-2163f11be552b1be51e06515eda0e538b9d3f33e.tar.bz2
Define TARGET_CPU values for v8 and supersparc.
From-SVN: r13035
-rw-r--r--gcc/config/sparc/sparc.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h
index 4e51a96..34ddd31 100644
--- a/gcc/config/sparc/sparc.h
+++ b/gcc/config/sparc/sparc.h
@@ -53,12 +53,16 @@ Boston, MA 02111-1307, USA. */
#endif
/* Values of TARGET_CPU_DEFAULT, set via -D in the Makefile. */
-#define TARGET_CPU_sparc 0
-#define TARGET_CPU_sparclet 1
-#define TARGET_CPU_sparclite 2
-#define TARGET_CPU_sparc64 3
-
-#if TARGET_CPU_DEFAULT == TARGET_CPU_sparc
+#define TARGET_CPU_sparc 0
+#define TARGET_CPU_v7 0 /* alias for previous */
+#define TARGET_CPU_sparclet 1
+#define TARGET_CPU_sparclite 2
+#define TARGET_CPU_v8 3
+#define TARGET_CPU_supersparc 4
+#define TARGET_CPU_ultrasparc 5
+#define TARGET_CPU_sparc64 5 /* alias for ultrasparc */
+
+#if TARGET_CPU_DEFAULT == TARGET_CPU_sparc || TARGET_CPU_DEFAULT == TARGET_CPU_v8 || TARGET_CPU_DEFAULT == TARGET_CPU_supersparc
#define CPP_DEFAULT_SPEC ""
#define ASM_DEFAULT_SPEC ""
#else