summaryrefslogtreecommitdiff
path: root/opcodes/i386-init.h
diff options
context:
space:
mode:
authorneggone <neggone>2012-10-09 08:42:56 +0000
committerneggone <neggone>2012-10-09 08:42:56 +0000
commit8d7487159ad8b77e42cbd266d078930ef93582c4 (patch)
tree994985a7e6febe28637cd420303a331c7c5d43ca /opcodes/i386-init.h
parent211db61a026636be454b4c1c0a9e31989cd3762a (diff)
downloadbinutils-redhat-8d7487159ad8b77e42cbd266d078930ef93582c4.tar.gz
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 'opcodes/i386-init.h')
-rw-r--r--opcodes/i386-init.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/opcodes/i386-init.h b/opcodes/i386-init.h
index 4dbc18a1d6..2e4589b00b 100644
--- a/opcodes/i386-init.h
+++ b/opcodes/i386-init.h
@@ -169,6 +169,12 @@
1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, \
0, 0, 0 } }
+#define CPU_BDVER3_FLAGS \
+ { { 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, \
+ 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, \
+ 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, \
+ 0, 0, 0 } }
+
#define CPU_BTVER1_FLAGS \
{ { 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, \
0, 1, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \