From: Alan Modra Date: Sat, 13 May 2000 14:01:54 +0000 (+0000) Subject: Fix cpu_flags for sys{enter,exit} fx{save,restore} X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=558b0a60a80a669201f7ffa51dd553ce607a7ad6;p=binutils-gdb.git Fix cpu_flags for sys{enter,exit} fx{save,restore} --- diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index a0eba422d61..3e53acebd1b 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -1,3 +1,7 @@ +2000-05-13 Alan Modra , + + * i386.h (i386_optab): Cpu686 for sysenter,sysexit,fxsave,fxrestore. + 2000-05-13 Alan Modra , Alexander Sokolov diff --git a/include/opcode/i386.h b/include/opcode/i386.h index 4fcd2b7138e..80e5b81bfd4 100644 --- a/include/opcode/i386.h +++ b/include/opcode/i386.h @@ -815,12 +815,12 @@ static const template i386_optab[] = { {"rdtsc", 0, 0x0f31, X, Cpu586, NoSuf, { 0, 0, 0} }, {"rdmsr", 0, 0x0f32, X, Cpu586, NoSuf, { 0, 0, 0} }, {"cmpxchg8b",1,0x0fc7, 1, Cpu586, NoSuf|Modrm, { LLongMem, 0, 0} }, -{"sysenter",0, 0x0f34, X, Cpu586, NoSuf, { 0, 0, 0} }, -{"sysexit", 0, 0x0f35, X, Cpu586, NoSuf, { 0, 0, 0} }, -{"fxsave", 1, 0x0fae, 0, Cpu586, FP|Modrm, { LLongMem, 0, 0} }, -{"fxrstor", 1, 0x0fae, 1, Cpu586, FP|Modrm, { LLongMem, 0, 0} }, -/* Pentium Pro extensions. */ +/* Pentium II/Pentium Pro extensions. */ +{"sysenter",0, 0x0f34, X, Cpu686, NoSuf, { 0, 0, 0} }, +{"sysexit", 0, 0x0f35, X, Cpu686, NoSuf, { 0, 0, 0} }, +{"fxsave", 1, 0x0fae, 0, Cpu686, FP|Modrm, { LLongMem, 0, 0} }, +{"fxrstor", 1, 0x0fae, 1, Cpu686, FP|Modrm, { LLongMem, 0, 0} }, {"rdpmc", 0, 0x0f33, X, Cpu686, NoSuf, { 0, 0, 0} }, /* official undefined instr. */ {"ud2", 0, 0x0f0b, X, Cpu686, NoSuf, { 0, 0, 0} },