summaryrefslogtreecommitdiffstats
path: root/opcodes
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2008-02-12 05:35:36 +0000
committerH.J. Lu <hjl.tools@gmail.com>2008-02-12 05:35:36 +0000
commitf03fe4c1100351b498e353d4f3ec126df634e2ca (patch)
treedd8514c61870dc7e7ea4c954732214d84ab38eff /opcodes
parent9d37b37d379198334b8b3e0543b1298394062e9d (diff)
downloadppe42-binutils-f03fe4c1100351b498e353d4f3ec126df634e2ca.tar.gz
ppe42-binutils-f03fe4c1100351b498e353d4f3ec126df634e2ca.zip
gas/
2008-02-11 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (cpu_arch): Add .xsave. (md_show_usage): Add .xsave. * doc/c-i386.texi: Add xsave to -march=. gas/testsuite/ 2008-02-11 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/arch-10.s: Add xgetbv. * gas/i386/arch-10.d: Updated. * gas/i386/arch-10-1.l: Likewise. * gas/i386/arch-10-2.l: Likewise. * gas/i386/arch-10-3.l: Likewise. * gas/i386/arch-10-4.l: Likewise. * gas/i386/x86-64-arch-10.d: Likewise. opcodes/ 2008-02-11 H.J. Lu <hongjiu.lu@intel.com> * i386-gen.c (cpu_flag_init): Add CPU_XSAVE_FLAGS. * i386-init.h: Updated.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/i386-gen.c2
-rw-r--r--opcodes/i386-init.h4
3 files changed, 11 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 69a13a6a4b..1477e8cfbc 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,5 +1,10 @@
2008-02-11 H.J. Lu <hongjiu.lu@intel.com>
+ * i386-gen.c (cpu_flag_init): Add CPU_XSAVE_FLAGS.
+ * i386-init.h: Updated.
+
+2008-02-11 H.J. Lu <hongjiu.lu@intel.com>
+
* i386-gen.c (cpu_flags): Add CpuXsave.
* i386-opc.h (CpuXsave): New.
diff --git a/opcodes/i386-gen.c b/opcodes/i386-gen.c
index d4acab1f5a..269759b8b3 100644
--- a/opcodes/i386-gen.c
+++ b/opcodes/i386-gen.c
@@ -100,6 +100,8 @@ static initializer cpu_flag_init [] =
"CpuVMX" },
{ "CPU_SMX_FLAGS",
"CpuSMX" },
+ { "CPU_XSAVE_FLAGS",
+ "CpuXsave" },
{ "CPU_3DNOW_FLAGS",
"CpuMMX|Cpu3dnow" },
{ "CPU_3DNOWA_FLAGS",
diff --git a/opcodes/i386-init.h b/opcodes/i386-init.h
index e338099937..831f7f843c 100644
--- a/opcodes/i386-init.h
+++ b/opcodes/i386-init.h
@@ -138,6 +138,10 @@
{ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, \
0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }
+#define CPU_XSAVE_FLAGS \
+ { { 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, 1, 0, 0, 0, 0 } }
+
#define CPU_3DNOW_FLAGS \
{ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, \
0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }
OpenPOWER on IntegriCloud