diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2008-02-12 05:35:36 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2008-02-12 05:35:36 +0000 |
commit | f03fe4c1100351b498e353d4f3ec126df634e2ca (patch) | |
tree | dd8514c61870dc7e7ea4c954732214d84ab38eff /opcodes | |
parent | 9d37b37d379198334b8b3e0543b1298394062e9d (diff) | |
download | gdb-f03fe4c1100351b498e353d4f3ec126df634e2ca.zip gdb-f03fe4c1100351b498e353d4f3ec126df634e2ca.tar.gz gdb-f03fe4c1100351b498e353d4f3ec126df634e2ca.tar.bz2 |
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/ChangeLog | 5 | ||||
-rw-r--r-- | opcodes/i386-gen.c | 2 | ||||
-rw-r--r-- | opcodes/i386-init.h | 4 |
3 files changed, 11 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 69a13a6..1477e8c 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 d4acab1..269759b 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 e338099..831f7f8 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 } } |