Commit 1cdbf242 by Doug Evans

sparc.h (CPP_CPU_SPEC): Add v8plus entry.

	* sparc/sparc.h (CPP_CPU_SPEC): Add v8plus entry.
	(ASM_CPU_SPEC): Likewise.

From-SVN: r11582
parent 11779f27
...@@ -116,6 +116,7 @@ Unrecognized value in TARGET_CPU_DEFAULT. ...@@ -116,6 +116,7 @@ Unrecognized value in TARGET_CPU_DEFAULT.
/* Common CPP definitions used by CPP_SPEC amongst the various targets /* Common CPP definitions used by CPP_SPEC amongst the various targets
for handling -mcpu=xxx switches. */ for handling -mcpu=xxx switches. */
/* ??? v8plus/v9/ultrasparc handling is tentative */
#define CPP_CPU_SPEC "\ #define CPP_CPU_SPEC "\
%{mcypress:} \ %{mcypress:} \
%{msparclite:-D__sparclite__} \ %{msparclite:-D__sparclite__} \
...@@ -126,6 +127,7 @@ Unrecognized value in TARGET_CPU_DEFAULT. ...@@ -126,6 +127,7 @@ Unrecognized value in TARGET_CPU_DEFAULT.
%{mcpu=f930:-D__sparclite__} %{mcpu=f934:-D__sparclite__} \ %{mcpu=f930:-D__sparclite__} %{mcpu=f934:-D__sparclite__} \
%{mcpu=v8:-D__sparc_v8__} \ %{mcpu=v8:-D__sparc_v8__} \
%{mcpu=supersparc:-D__supersparc__ -D__sparc_v8__} \ %{mcpu=supersparc:-D__supersparc__ -D__sparc_v8__} \
%{mcpu=v8plus:-D__sparc_v9__} \
%{mcpu=v9:-D__sparc_v9__} \ %{mcpu=v9:-D__sparc_v9__} \
%{mcpu=ultrasparc:-D__sparc_v9__} \ %{mcpu=ultrasparc:-D__sparc_v9__} \
%{!mcpu*:%{!mcypress:%{!msparclite:%{!mf930:%{!mf934:%{!mv8:%{!msupersparc:%(cpp_default)}}}}}}} \ %{!mcpu*:%{!mcypress:%{!msparclite:%{!mf930:%{!mf934:%{!mv8:%{!msupersparc:%(cpp_default)}}}}}}} \
...@@ -135,7 +137,7 @@ Unrecognized value in TARGET_CPU_DEFAULT. ...@@ -135,7 +137,7 @@ Unrecognized value in TARGET_CPU_DEFAULT.
/* This used to translate -dalign to -malign, but that is no good /* This used to translate -dalign to -malign, but that is no good
because it can't turn off the usual meaning of making debugging dumps. */ because it can't turn off the usual meaning of making debugging dumps. */
/* Translate old style -m<cpu> into new style -mcpu=<cpu>. /* Translate old style -m<cpu> into new style -mcpu=<cpu>.
At some point support for -m<cpu> will be deleted. */ ??? Delete support for -m<cpu> for 2.9. */
#define CC1_SPEC "\ #define CC1_SPEC "\
%{sun4:} %{target:} \ %{sun4:} %{target:} \
...@@ -165,6 +167,7 @@ Unrecognized value in TARGET_CPU_DEFAULT. ...@@ -165,6 +167,7 @@ Unrecognized value in TARGET_CPU_DEFAULT.
%{mf930:-Asparclite} %{mf934:-Asparclite} \ %{mf930:-Asparclite} %{mf934:-Asparclite} \
%{mcpu=sparclite:-Asparclite} \ %{mcpu=sparclite:-Asparclite} \
%{mcpu=f930:-Asparclite} %{mcpu=f934:-Asparclite} \ %{mcpu=f930:-Asparclite} %{mcpu=f934:-Asparclite} \
%{mcpu=v8plus:-Av9} \
%{mcpu=v9:-Av9} \ %{mcpu=v9:-Av9} \
%{mcpu=ultrasparc:-Av9} \ %{mcpu=ultrasparc:-Av9} \
%{!mcpu*:%{!mcypress:%{!msparclite:%{!mf930:%{!mf934:%{!mv8:%{!msupersparc:%(asm_default)}}}}}}} \ %{!mcpu*:%{!mcypress:%{!msparclite:%{!mf930:%{!mf934:%{!mv8:%{!msupersparc:%(asm_default)}}}}}}} \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment