Define TARGET_CPU values for v8 and supersparc.
authorRichard Kenner <kenner@gcc.gnu.org>
Sat, 26 Oct 1996 16:20:31 +0000 (12:20 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Sat, 26 Oct 1996 16:20:31 +0000 (12:20 -0400)
From-SVN: r13035

gcc/config/sparc/sparc.h

index 4e51a966e7b8019dc238cab6b3186e808a777532..34ddd313b0a6cf0ada48298c84a31972f8ce02fd 100644 (file)
@@ -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