aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorSebastian Pop <sebastian.pop@amd.com>2010-02-03 20:36:14 +0000
committerSebastian Pop <sebastian.pop@amd.com>2010-02-03 20:36:14 +0000
commit68339fdf884701f4137e7acf673a20d16f36fab1 (patch)
tree26b687daa217907e8d57aa8fc1326a6426c07bb0 /gas/config
parent218c58318263699665bec9167d162612c81e9995 (diff)
downloadgdb-68339fdf884701f4137e7acf673a20d16f36fab1.zip
gdb-68339fdf884701f4137e7acf673a20d16f36fab1.tar.gz
gdb-68339fdf884701f4137e7acf673a20d16f36fab1.tar.bz2
2010-02-03 Quentin Neill <quentin.neill@amd.com>
gas/ * config/tc-i386.c (cpu_arch): Change amdfam15 to bdver1. (i386_align_code): Rename PROCESSOR_AMDFAM15 to PROCESSOR_BDVER1. * config/tc-i386.h (processor_type): Same. * doc/c-i386.texi: Change amdfam15 to bdver1. opcodes/ * i386-gen.c (cpu_flag_init): Rename CPU_AMDFAM15_FLAGS to CPU_BDVER1_FLAGS * i386-init.h: Regenerated. testsuite/ * gas/i386/i386.exp: Rename amdfam15 test cases to bdver1. * gas/i386/x86-64-nops-1-amdfam15.d: Renamed test case to gas/i386/x86-64-nops-1-bdver1.d. * gas/i386/nops-1-amdfam15.d: Renamed test case to gas/i386/nops-1-bdver1.d.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-i386.c10
-rw-r--r--gas/config/tc-i386.h2
2 files changed, 6 insertions, 6 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 4a71209..f091aa2 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -603,8 +603,8 @@ static const arch_entry cpu_arch[] =
CPU_K8_FLAGS, 0 },
{ STRING_COMMA_LEN ("amdfam10"), PROCESSOR_AMDFAM10,
CPU_AMDFAM10_FLAGS, 0 },
- { STRING_COMMA_LEN ("amdfam15"), PROCESSOR_AMDFAM15,
- CPU_AMDFAM15_FLAGS, 0 },
+ { STRING_COMMA_LEN ("bdver1"), PROCESSOR_BDVER1,
+ CPU_BDVER1_FLAGS, 0 },
{ STRING_COMMA_LEN (".8087"), PROCESSOR_UNKNOWN,
CPU_8087_FLAGS, 0 },
{ STRING_COMMA_LEN (".287"), PROCESSOR_UNKNOWN,
@@ -966,7 +966,7 @@ i386_align_code (fragS *fragP, int count)
PROCESSOR_CORE, PROCESSOR_CORE2, PROCESSOR_COREI7, and
PROCESSOR_GENERIC64, alt_long_patt will be used.
3. For PROCESSOR_ATHLON, PROCESSOR_K6, PROCESSOR_K8 and
- PROCESSOR_AMDFAM10, and PROCESSOR_AMDFAM15, alt_short_patt
+ PROCESSOR_AMDFAM10, and PROCESSOR_BDVER1, alt_short_patt
will be used.
When -mtune= isn't used, alt_long_patt will be used if
@@ -1020,7 +1020,7 @@ i386_align_code (fragS *fragP, int count)
case PROCESSOR_ATHLON:
case PROCESSOR_K8:
case PROCESSOR_AMDFAM10:
- case PROCESSOR_AMDFAM15:
+ case PROCESSOR_BDVER1:
patt = alt_short_patt;
break;
case PROCESSOR_I386:
@@ -1048,7 +1048,7 @@ i386_align_code (fragS *fragP, int count)
case PROCESSOR_ATHLON:
case PROCESSOR_K8:
case PROCESSOR_AMDFAM10:
- case PROCESSOR_AMDFAM15:
+ case PROCESSOR_BDVER1:
case PROCESSOR_GENERIC32:
/* We use cpu_arch_isa_flags to check if we CAN optimize
for Cpu686. */
diff --git a/gas/config/tc-i386.h b/gas/config/tc-i386.h
index 5e12272..f2f02cc 100644
--- a/gas/config/tc-i386.h
+++ b/gas/config/tc-i386.h
@@ -221,7 +221,7 @@ enum processor_type
PROCESSOR_GENERIC32,
PROCESSOR_GENERIC64,
PROCESSOR_AMDFAM10,
- PROCESSOR_AMDFAM15
+ PROCESSOR_BDVER1
};
extern enum processor_type cpu_arch_tune;