summaryrefslogtreecommitdiff
path: root/opcodes/i386-dis.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-01-13 22:19:27 +0000
committerH.J. Lu <hjl.tools@gmail.com>2012-01-13 22:19:27 +0000
commit6801c149e61d3ad41d8eff00de5b267efc74662e (patch)
tree438c67a3f8607d1bc49256ec6c4f6646900b6b96 /opcodes/i386-dis.c
parent6738a8c5114aa6b81a6eacccb2e21dff14da3e42 (diff)
downloadbinutils-redhat-6801c149e61d3ad41d8eff00de5b267efc74662e.tar.gz
Add vmfunc
gas/ 2012-01-13 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (cpu_arch): Add ".vmfunc". * doc/c-i386.texi: Document vmfunc. gas/testsuite/ 2012-01-13 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/i386.exp: Run vmfunc and x86-64-vmfunc. * gas/i386/vmfunc.d: New. * gas/i386/vmfunc.s: Likewise. * gas/i386/x86-64-vmfunc.d: Likewise. opcodes/ 2012-01-13 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (mod_table): Add vmfunc. * i386-gen.c (cpu_flag_init): Add CPU_VMFUNC_FLAGS. (cpu_flags): CpuVMFUNC. * i386-opc.h (CpuVMFUNC): New. (i386_cpu_flags): Add cpuvmfunc. * i386-opc.tbl: Add vmfunc. * i386-init.h: Regenerated. * i386-tbl.h: Likewise.
Diffstat (limited to 'opcodes/i386-dis.c')
-rw-r--r--opcodes/i386-dis.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c
index 019a8f5787..2991016cbc 100644
--- a/opcodes/i386-dis.c
+++ b/opcodes/i386-dis.c
@@ -10470,6 +10470,9 @@ static const struct dis386 rm_table[][8] = {
/* RM_0F01_REG_2 */
{ "xgetbv", { Skip_MODRM } },
{ "xsetbv", { Skip_MODRM } },
+ { Bad_Opcode },
+ { Bad_Opcode },
+ { "vmfunc", { Skip_MODRM } },
},
{
/* RM_0F01_REG_3 */