Add i486 instruction set extensions for those who know what they are doing.

This commit is contained in:
jtc 1993-08-04 00:21:42 +00:00
parent 13c54e604a
commit 179e863ba5
1 changed files with 9 additions and 1 deletions

View File

@ -5,7 +5,7 @@
* Modified 1991 by Donn Seeley at UUNET Technologies, Inc.
*
* from: @(#)i386-opcode.h 6.3 (Berkeley) 5/8/91
* $Id: i386-opcode.h,v 1.2 1993/08/01 18:48:53 mycroft Exp $
* $Id: i386-opcode.h,v 1.3 1993/08/04 00:21:42 jtc Exp $
*/
/* i386-opcode.h -- Intel 80386 opcode table
@ -707,6 +707,14 @@ template i386_optab[] = {
{"repe", 0, 0xf3, _, NoModrm, 0, 0, 0},
{ "repne", 0, 0xf2, _, NoModrm, 0, 0, 0},
/* 486 extensions */
{"bswap", 1, 0x0fc8, _, ShortForm, Reg32,0,0 },
{"xadd", 2, 0x0fc0, _, DW|Modrm, Reg, Reg|Mem, 0 },
{"cmpxchg", 2, 0x0fb0, _, DW|Modrm, Reg, Reg|Mem, 0 },
{"invd", 0, 0x0f08, _, NoModrm, 0, 0, 0},
{"wbinvd", 0, 0x0f09, _, NoModrm, 0, 0, 0},
{"invlpg", 1, 0x0f01, 7, Modrm, Mem, 0, 0},
{"", 0, 0, 0, 0, 0, 0, 0} /* sentinal */
};
#undef _