summaryrefslogtreecommitdiffstats
path: root/gcc/config/s390/s390.c
diff options
context:
space:
mode:
authorhpenner <hpenner@138bc75d-0d04-0410-961f-82ee72b054a4>2003-01-10 15:17:15 +0000
committerhpenner <hpenner@138bc75d-0d04-0410-961f-82ee72b054a4>2003-01-10 15:17:15 +0000
commit33096195a9af9ca5b2af3726d38087f980a88b92 (patch)
tree0a622063bad266c758ac7fbb2879fba586fc3783 /gcc/config/s390/s390.c
parentb0ea98f947bd8f16d24cb54e8362b2f7d680797e (diff)
downloadppe42-gcc-33096195a9af9ca5b2af3726d38087f980a88b92.tar.gz
ppe42-gcc-33096195a9af9ca5b2af3726d38087f980a88b92.zip
* doc/invoke.texi: Document -mtune, delete -mcpu
option for S/390 and zSeries. * config/s390/s390.c (s390_tune_string) New variable. (s390_cpu_string) Delete variable. (override_options): Use s390_tune_string instead of s390_cpu_string. * config/s390/s390.h: (TARGET_OPTIONS) '-mtune' instead of '-mcpu'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61159 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/s390/s390.c')
-rw-r--r--gcc/config/s390/s390.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c
index 9be760d98f6..25956ec62bc 100644
--- a/gcc/config/s390/s390.c
+++ b/gcc/config/s390/s390.c
@@ -117,13 +117,13 @@ struct s390_address
int pointer;
};
-/* Which cpu are we scheduling for. */
+/* Which cpu are we tuning for. */
enum processor_type s390_cpu;
/* Which instruction set architecture to use. */
enum processor_type s390_arch;
/* Strings to hold which cpu and instruction set architecture to use. */
-const char *s390_cpu_string; /* for -mcpu=<xxx> */
+const char *s390_tune_string; /* for -mtune=<xxx> */
const char *s390_arch_string; /* for -march=<xxx> */
/* Define the structure for the machine field in struct function. */
@@ -869,10 +869,10 @@ override_options ()
init_machine_status = s390_init_machine_status;
/* Set cpu and arch, if only partially given. */
- if (!s390_cpu_string && s390_arch_string)
- s390_cpu_string = s390_arch_string;
- if (!s390_cpu_string)
- s390_cpu_string = cpu_names [TARGET_64BIT ? TARGET_CPU_DEFAULT_2064
+ if (!s390_tune_string && s390_arch_string)
+ s390_tune_string = s390_arch_string;
+ if (!s390_tune_string)
+ s390_tune_string = cpu_names [TARGET_64BIT ? TARGET_CPU_DEFAULT_2064
: TARGET_CPU_DEFAULT_9672];
if (!s390_arch_string)
#ifdef DEFAULT_TARGET_64BIT
@@ -912,14 +912,14 @@ override_options ()
}
for (i = 0; i < pta_size; i++)
- if (! strcmp (s390_cpu_string, processor_alias_table[i].name))
+ if (! strcmp (s390_tune_string, processor_alias_table[i].name))
{
s390_cpu = processor_alias_table[i].processor;
break;
}
if (i == pta_size)
- error ("bad value (%s) for -mcpu= switch", s390_cpu_string);
+ error ("bad value (%s) for -mtune= switch", s390_tune_string);
}
/* Map for smallest class containing reg regno. */
OpenPOWER on IntegriCloud