aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-i386.c
diff options
context:
space:
mode:
authorNagajyothi Eggone <nagajyothi.eggone@amd.com>2012-10-09 08:43:06 +0000
committerNagajyothi Eggone <nagajyothi.eggone@amd.com>2012-10-09 08:43:06 +0000
commit5e5c50d37b665b75f0f59e50eda106247809e795 (patch)
tree0f8bb8aa1ce4e6320f99d6a2389dfda192ae9cee /gas/config/tc-i386.c
parent4d5f33b647f45b94feb45558c50a70753332860e (diff)
downloadgdb-5e5c50d37b665b75f0f59e50eda106247809e795.zip
gdb-5e5c50d37b665b75f0f59e50eda106247809e795.tar.gz
gdb-5e5c50d37b665b75f0f59e50eda106247809e795.tar.bz2
Add AMD bdver3 support.
gas/ * config/tc-i386.c (cpu_arch): Add CPU_BDVER3_FLAGS. * doc/c-i386.texi: Add -march=bdver3 option. gas/testsuite/ * gas/i386/i386.exp: Run bdver3 test cases. * gas/i386/nops-1-bdver3.d: New. * gas/i386/arch-10-bdver3.d: New. * gas/i386/x86-64-nops-1-bdver3.d: New. * gas/i386/x86-64-arch-2-bdver3.d: New. opcodes/ * i386-gen.c (cpu_flag_init): Add CPU_BDVER3_FLAGS. * i386-init.h: Regenerated.
Diffstat (limited to 'gas/config/tc-i386.c')
-rw-r--r--gas/config/tc-i386.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 03a335f..a0680d3 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -664,6 +664,8 @@ static const arch_entry cpu_arch[] =
CPU_BDVER1_FLAGS, 0, 0 },
{ STRING_COMMA_LEN ("bdver2"), PROCESSOR_BD,
CPU_BDVER2_FLAGS, 0, 0 },
+ { STRING_COMMA_LEN ("bdver3"), PROCESSOR_BD,
+ CPU_BDVER3_FLAGS, 0, 0 },
{ STRING_COMMA_LEN ("btver1"), PROCESSOR_BT,
CPU_BTVER1_FLAGS, 0, 0 },
{ STRING_COMMA_LEN ("btver2"), PROCESSOR_BT,