aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Neill <quentin.neill@amd.com>2011-05-11 22:35:20 +0000
committerQuentin Neill <quentin.neill@amd.com>2011-05-11 22:35:20 +0000
commit4cab4add34b167b3902b1cb2873738914103f6ff (patch)
treee9e092a2be7e00eb8843dc5f1e84782d32c66719
parent34b47c3828ca8e6d9dcddb2886744fb470e4276c (diff)
downloadfsf-binutils-gdb-4cab4add34b167b3902b1cb2873738914103f6ff.zip
fsf-binutils-gdb-4cab4add34b167b3902b1cb2873738914103f6ff.tar.gz
fsf-binutils-gdb-4cab4add34b167b3902b1cb2873738914103f6ff.tar.bz2
2011-05-10 Quentin Neill <quentin.neill@amd.com>
gas/ * config/tc-i386.c (cpu_arch): Add bdver2 and rename PROCESSOR_BDVER1 to PROCESSOR_BDVER. (i386_align_code): Rename PROCESSOR_BDVER1. (processor_type): Ditto. * doc/c-i386.texi: Add bdver2. opcodes/ * i386-gen.c (cpu_flag_init): Add new CPU_BDVER2_FLAGS. * i386-init.h: Regenerated. gas/testsuite/ * gas/i386/i386.exp: Add new bdver2 test cases. * gas/i386/nops-1-bdver2.d: New. * gas/i386/x86-64-nops-1-bdver2.d: New.
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/i386-gen.c2
-rw-r--r--opcodes/i386-init.h5
3 files changed, 12 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 04803db..57a4f01 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2011-05-10 Quentin Neill <quentin.neill@amd.com>
+
+ * i386-gen.c (cpu_flag_init): Add new CPU_BDVER2_FLAGS.
+ * i386-init.h: Regenerated.
+
2011-04-27 Nick Clifton <nickc@redhat.com>
* po/da.po: Updated Danish translation.
diff --git a/opcodes/i386-gen.c b/opcodes/i386-gen.c
index d4adcf8..3d7de38 100644
--- a/opcodes/i386-gen.c
+++ b/opcodes/i386-gen.c
@@ -90,6 +90,8 @@ static initializer cpu_flag_init[] =
"Cpu186|Cpu286|Cpu386|Cpu486|Cpu586|Cpu686|CpuSYSCALL|CpuRdtscp|Cpu387|Cpu687|CpuFISTTP|CpuNop|CpuMMX|Cpu3dnow|Cpu3dnowA|CpuSSE|CpuSSE2|CpuSSE3|CpuSSE4a|CpuABM|CpuLM" },
{ "CPU_BDVER1_FLAGS",
"Cpu186|Cpu286|Cpu386|Cpu486|Cpu586|Cpu686|CpuSYSCALL|CpuRdtscp|Cpu387|Cpu687|CpuFISTTP|CpuNop|CpuMMX|CpuSSE|CpuSSE2|CpuSSE3|CpuSSE4a|CpuABM|CpuLM|CpuFMA4|CpuXOP|CpuLWP" },
+ { "CPU_BDVER2_FLAGS",
+ "Cpu186|Cpu286|Cpu386|Cpu486|Cpu586|Cpu686|CpuSYSCALL|CpuRdtscp|Cpu387|Cpu687|CpuFISTTP|CpuNop|CpuMMX|CpuSSE|CpuSSE2|CpuSSE3|CpuSSE4a|CpuABM|CpuLM|CpuFMA4|CpuXOP|CpuLWP|CpuBMI|CpuTBM" },
{ "CPU_8087_FLAGS",
"Cpu8087" },
{ "CPU_287_FLAGS",
diff --git a/opcodes/i386-init.h b/opcodes/i386-init.h
index d8edd1a..6433596 100644
--- a/opcodes/i386-init.h
+++ b/opcodes/i386-init.h
@@ -139,6 +139,11 @@
0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, \
0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 } }
+#define CPU_BDVER2_FLAGS \
+ { { 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, \
+ 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, \
+ 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 } }
+
#define CPU_8087_FLAGS \
{ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \