From 68339fdf884701f4137e7acf673a20d16f36fab1 Mon Sep 17 00:00:00 2001 From: Sebastian Pop Date: Wed, 3 Feb 2010 20:36:14 +0000 Subject: 2010-02-03 Quentin Neill 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. --- gas/config/tc-i386.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gas/config/tc-i386.c') 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. */ -- cgit v1.1