aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-i386.c
diff options
context:
space:
mode:
authorSaravanan Ekanathan <saravanan.ekanathan@amd.com>2013-09-30 17:02:07 +0000
committerSaravanan Ekanathan <saravanan.ekanathan@amd.com>2013-09-30 17:02:07 +0000
commitc7b0bd56cec703fd6a409568946b505218defa08 (patch)
treef5c5aeb610a169de5f2a9fe05006b8dd211c97b8 /gas/config/tc-i386.c
parent61d82a0d7855c00ec844163e3e137a97afd72ac9 (diff)
downloadgdb-c7b0bd56cec703fd6a409568946b505218defa08.zip
gdb-c7b0bd56cec703fd6a409568946b505218defa08.tar.gz
gdb-c7b0bd56cec703fd6a409568946b505218defa08.tar.bz2
Add AMD bdver4 support.
gas/ * config/tc-i386.c (cpu_arch): Add CPU_BDVER4_FLAGS. * doc/c-i386.texi: Add -march=bdver4 option. gas/testsuite/ * gas/i386/i386.exp: Run bdver4 test cases. * gas/i386/nops-1-bdver4.d: New. * gas/i386/arch-10-bdver4.d: New. * gas/i386/x86-64-nops-1-bdver4.d: New. * gas/i386/x86-64-arch-2-bdver4.d: New. opcodes/ * i386-gen.c (cpu_flag_init): Add CPU_BDVER4_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 d12ca22..f4e5c51 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -772,6 +772,8 @@ static const arch_entry cpu_arch[] =
CPU_BDVER2_FLAGS, 0, 0 },
{ STRING_COMMA_LEN ("bdver3"), PROCESSOR_BD,
CPU_BDVER3_FLAGS, 0, 0 },
+ { STRING_COMMA_LEN ("bdver4"), PROCESSOR_BD,
+ CPU_BDVER4_FLAGS, 0, 0 },
{ STRING_COMMA_LEN ("btver1"), PROCESSOR_BT,
CPU_BTVER1_FLAGS, 0, 0 },
{ STRING_COMMA_LEN ("btver2"), PROCESSOR_BT,