xref: /reactos/sdk/lib/fast486/extraops.h (revision 845faec4)
1 /*
2  * Fast486 386/486 CPU Emulation Library
3  * extraops.h
4  *
5  * Copyright (C) 2015 Aleksandar Andrejevic <theflash AT sdf DOT lonestar DOT org>
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License
9  * as published by the Free Software Foundation; either version 2
10  * of the License, or (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
20  */
21 
22 #ifndef _EXTRAOPS_H_
23 #define _EXTRAOPS_H_
24 
25 #pragma once
26 
27 /* DEFINES ********************************************************************/
28 
29 FAST486_OPCODE_HANDLER(Fast486ExtOpcodeInvalid);
30 FAST486_OPCODE_HANDLER(Fast486ExtOpcodeUnimplemented);
31 FAST486_OPCODE_HANDLER(Fast486ExtOpcode0F0B);
32 
33 FAST486_OPCODE_HANDLER(Fast486ExtOpcodeLar);
34 FAST486_OPCODE_HANDLER(Fast486ExtOpcodeLsl);
35 FAST486_OPCODE_HANDLER(Fast486ExtOpcodeClts);
36 FAST486_OPCODE_HANDLER(Fast486ExtOpcodeStoreControlReg);
37 FAST486_OPCODE_HANDLER(Fast486ExtOpcodeStoreDebugReg);
38 FAST486_OPCODE_HANDLER(Fast486ExtOpcodeLoadControlReg);
39 FAST486_OPCODE_HANDLER(Fast486ExtOpcodeLoadDebugReg);
40 FAST486_OPCODE_HANDLER(Fast486ExtOpcodePushFs);
41 FAST486_OPCODE_HANDLER(Fast486ExtOpcodePopFs);
42 FAST486_OPCODE_HANDLER(Fast486ExtOpcodeBitTest);
43 FAST486_OPCODE_HANDLER(Fast486ExtOpcodeShld);
44 FAST486_OPCODE_HANDLER(Fast486ExtOpcodePushGs);
45 FAST486_OPCODE_HANDLER(Fast486ExtOpcodePopGs);
46 FAST486_OPCODE_HANDLER(Fast486ExtOpcodeBts);
47 FAST486_OPCODE_HANDLER(Fast486ExtOpcodeShrd);
48 FAST486_OPCODE_HANDLER(Fast486ExtOpcodeImul);
49 FAST486_OPCODE_HANDLER(Fast486ExtOpcodeCmpXchgByte);
50 FAST486_OPCODE_HANDLER(Fast486ExtOpcodeCmpXchg);
51 FAST486_OPCODE_HANDLER(Fast486ExtOpcodeLss);
52 FAST486_OPCODE_HANDLER(Fast486ExtOpcodeBtr);
53 FAST486_OPCODE_HANDLER(Fast486ExtOpcodeLfsLgs);
54 FAST486_OPCODE_HANDLER(Fast486ExtOpcodeMovzxByte);
55 FAST486_OPCODE_HANDLER(Fast486ExtOpcodeMovzxWord);
56 FAST486_OPCODE_HANDLER(Fast486ExtOpcodeBtc);
57 FAST486_OPCODE_HANDLER(Fast486ExtOpcodeBsf);
58 FAST486_OPCODE_HANDLER(Fast486ExtOpcodeBsr);
59 FAST486_OPCODE_HANDLER(Fast486ExtOpcodeMovsxByte);
60 FAST486_OPCODE_HANDLER(Fast486ExtOpcodeMovsxWord);
61 FAST486_OPCODE_HANDLER(Fast486ExtOpcodeConditionalJmp);
62 FAST486_OPCODE_HANDLER(Fast486ExtOpcodeConditionalSet);
63 FAST486_OPCODE_HANDLER(Fast486ExtOpcodeXaddByte);
64 FAST486_OPCODE_HANDLER(Fast486ExtOpcodeXadd);
65 FAST486_OPCODE_HANDLER(Fast486ExtOpcodeBswap);
66 FAST486_OPCODE_HANDLER(Fast486OpcodeExtended);
67 
68 #endif // _EXTRAOPS_H_
69 
70 /* EOF */
71