diff options
author | Alan Modra <modra@gmail.com> | 2000-05-13 14:01:54 +0000 |
---|---|---|
committer | Alan Modra <modra@gmail.com> | 2000-05-13 14:01:54 +0000 |
commit | e6342d0038a24548780dbe0f37519c4ec92c5f30 (patch) | |
tree | 24149e5597d574d7adc7a92ee261f8972518923a /include | |
parent | 9484bf7072a345c174bc60a6708ee341e0db828e (diff) | |
download | newlib-e6342d0038a24548780dbe0f37519c4ec92c5f30.zip newlib-e6342d0038a24548780dbe0f37519c4ec92c5f30.tar.gz newlib-e6342d0038a24548780dbe0f37519c4ec92c5f30.tar.bz2 |
Fix cpu_flags for sys{enter,exit} fx{save,restore}
Diffstat (limited to 'include')
-rw-r--r-- | include/opcode/ChangeLog | 4 | ||||
-rw-r--r-- | include/opcode/i386.h | 10 |
2 files changed, 9 insertions, 5 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index a0eba42..3e53ace 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -1,4 +1,8 @@ 2000-05-13 Alan Modra <alan@linuxcare.com.au>, + + * i386.h (i386_optab): Cpu686 for sysenter,sysexit,fxsave,fxrestore. + +2000-05-13 Alan Modra <alan@linuxcare.com.au>, Alexander Sokolov <robocop@netlink.ru> * i386.h (i386_optab): Add cpu_flags for all instructions. diff --git a/include/opcode/i386.h b/include/opcode/i386.h index 4fcd2b7..80e5b81 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} }, |